:root{--bg:#f5f7fb;--card:#fff;--text:#172033;--muted:#687386;--line:#e4e9f2;--primary:#1557b0;--primary2:#0d438d;--danger:#b42318;--success:#067647;--shadow:0 10px 30px rgba(29,48,82,.08)}*{box-sizing:border-box}body{margin:0;font-family:Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.55}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}.topbar{height:74px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1240px)/2));position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:12px;color:var(--text);text-decoration:none}.brand:hover{text-decoration:none}.brand-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,var(--primary),#2185dc);color:#fff;font-weight:800}.brand small,.brand b{display:block}.brand small{color:var(--muted);font-size:12px}.topbar nav{display:flex;gap:18px;align-items:center}.container{max-width:1240px;margin:28px auto;padding:0 20px;min-height:calc(100vh - 150px)}footer{text-align:center;color:var(--muted);padding:25px}.card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:var(--shadow);margin-bottom:22px}.wide{max-width:1000px}.center-card{max-width:560px;margin:60px auto}.hero-grid,.grid2{display:grid;grid-template-columns:1fr 1.45fr;gap:26px}.login-card{align-self:start}.login-card h1,.page-head h1,.card h1{margin-top:0}.muted{color:var(--muted)}label{display:block;font-weight:600;margin:13px 0 6px}input,select,textarea{width:100%;font:inherit;border:1px solid #ccd5e3;border-radius:10px;padding:10px 12px;background:#fff;color:var(--text)}input:focus,select:focus,textarea:focus{outline:3px solid rgba(21,87,176,.12);border-color:var(--primary)}.btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbd5e1;background:#fff;color:var(--text);border-radius:10px;padding:9px 15px;font-weight:650;cursor:pointer}.btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn.primary:hover{background:var(--primary2)}.btn.ghost{background:#f8fafc}.btn.danger,.link-danger{color:#fff;background:var(--danger);border:0}.btn.small{padding:5px 9px;font-size:12px}.toolbar{display:flex;gap:10px;align-items:center;margin:14px 0 20px}.toolbar input,.toolbar select{width:auto;min-width:180px}.toolbar.wrap{flex-wrap:wrap}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:18px}.page-head h1{margin-bottom:4px}.page-head p{margin:0;color:var(--muted)}.stat{background:#eaf2ff;border:1px solid #c9ddfb;border-radius:15px;padding:12px 20px;min-width:130px}.stat span{display:block;color:var(--muted);font-size:12px}.stat b{font-size:26px;color:var(--primary)}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:12px 11px;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:12px;text-transform:uppercase;letter-spacing:.03em;color:#526174;background:#f8fafc}tbody tr:nth-child(even){background:#fbfcfe}.table-wrap{overflow:auto}.empty{text-align:center;color:var(--muted);padding:28px}.news-card{display:block;background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px 16px;margin-bottom:10px;color:var(--text)}.news-card small{display:block;color:var(--muted);margin-top:3px}.form-grid,.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 20px}.span2{grid-column:span 2}.detail-grid>div{padding:12px 0;border-bottom:1px solid var(--line)}.detail-grid span{display:block;color:var(--muted);font-size:12px}.prewrap,.message p{white-space:pre-wrap}.message{padding:14px;border:1px solid var(--line);border-radius:12px;margin:12px 0;background:#fbfcfe}.message.reply{margin-left:28px;background:#f0f6ff}.message small{display:block;color:var(--muted)}.history{border-bottom:1px solid var(--line);padding:14px 0}.history small{display:block;color:var(--muted)}.alert{padding:12px 16px;border-radius:10px;margin-bottom:18px}.alert.success{background:#ecfdf3;color:var(--success);border:1px solid #abefc6}.validation,span.field-validation-error{color:var(--danger);font-size:13px}.inline{display:inline}.link-btn{border:0;background:transparent;color:var(--primary);font:inherit;cursor:pointer}.admin-link{text-align:center;margin-top:18px}.check{display:flex;align-items:center;gap:8px;font-weight:400}.check input{width:auto}.admin-body{padding-left:250px}.sidebar{position:fixed;left:0;top:0;bottom:0;width:250px;background:#101a2c;color:#d9e1ef;padding:18px;overflow:auto}.sidebar .brand{color:#fff;margin-bottom:24px}.sidebar a,.sidebar-logout{display:block;width:100%;color:#d9e1ef;padding:10px 12px;border-radius:9px;text-align:left;border:0;background:transparent;font:inherit;cursor:pointer}.sidebar a:hover,.sidebar-logout:hover{background:#1a2943;text-decoration:none}.admin-main{padding:30px;max-width:1400px;margin:auto}.dash-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.dash-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;box-shadow:var(--shadow);color:var(--text)}.dash-card b{display:block;font-size:19px}.dash-card span{display:block;color:var(--muted);margin-top:7px}.perm-root{padding:14px;border:1px solid var(--line);border-radius:12px;margin:10px 0}.perm-root input{width:auto}.perm-child{margin-left:28px;font-weight:400}.article{max-width:900px;margin:auto}.sidebar form{margin:0}hr{border:0;border-top:1px solid var(--line);margin:18px 0}@media(max-width:900px){.hero-grid,.grid2,.dash-grid{grid-template-columns:1fr}.topbar nav{display:none}.form-grid,.detail-grid{grid-template-columns:1fr}.span2{grid-column:auto}.admin-body{padding-left:0}.sidebar{position:static;width:auto}.admin-main{padding:18px}.topbar{padding:0 16px}.container{margin-top:18px}.page-head{align-items:flex-start;flex-direction:column}}
.alert.danger{background:#fef3f2;color:var(--danger);border:1px solid #fecdca}.btn.secondary{background:#f8fafc}
.password-page{display:flex;justify-content:center;padding:26px 0 50px}.password-card{width:min(100%,620px);padding:34px 36px}.password-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:#edf4ff;font-size:28px;margin-bottom:16px}.password-heading h1{margin:0 0 8px;font-size:28px}.password-heading p{margin:0 0 20px;color:var(--muted)}.password-notice{background:#f7faff;border:1px solid #d6e5fb;border-radius:13px;padding:14px 16px;margin:18px 0 22px}.password-notice b,.password-notice span{display:block}.password-notice span{color:#536178;margin-top:4px;font-size:14px}.password-input-wrap input{padding:12px 14px}.password-rules{display:grid;grid-template-columns:1fr 1fr;gap:9px 12px;margin:20px 0}.password-rule{display:flex;align-items:center;gap:8px;color:#7a8494;font-size:14px}.password-rule span{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;border:1px solid #cfd7e4;font-size:12px;font-weight:800;color:#9aa4b2;background:#fff}.password-rule.ok{color:#067647;font-weight:600}.password-rule.ok span{background:#ecfdf3;border-color:#75d6a2;color:#067647}.password-submit{width:100%;padding:12px 18px;font-size:15px}.validation-box:empty{display:none}.validation-box ul{margin:0;padding-left:20px}@media(max-width:620px){.password-card{padding:24px 20px}.password-rules{grid-template-columns:1fr}.password-heading h1{font-size:24px}}

/* =========================================================
   Ver.05 - Student Mobile App UI / UPD brand identity
   Scoped to .student-body so /admin remains unchanged.
   ========================================================= */
.student-body{
    --pdu:#00a060;
    --pdu-dark:#00794a;
    --pdu-deep:#075c3d;
    --pdu-soft:#eaf8f1;
    --pdu-pale:#f5fbf8;
    --student-ink:#15352a;
    --student-muted:#6f8179;
    --student-line:#dfe9e4;
    --student-bg:#f4f8f6;
    --student-surface:#fff;
    --student-shadow:0 16px 42px rgba(25,73,53,.08);
    margin:0;
    min-height:100vh;
    background:
        radial-gradient(circle at 8% 0%,rgba(0,160,96,.055),transparent 28%),
        radial-gradient(circle at 96% 24%,rgba(0,160,96,.035),transparent 24%),
        var(--student-bg);
    color:var(--student-ink);
    font-family:Inter,"Segoe UI",Arial,sans-serif;
}
.student-body a{color:inherit}.student-body a:hover{text-decoration:none}
.student-topbar{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.94);border-bottom:1px solid rgba(223,233,228,.88);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.student-topbar-inner{width:min(1180px,100%);height:88px;margin:auto;padding:0 22px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.student-brand{min-width:0;display:flex;align-items:center;gap:15px;text-decoration:none}
.student-brand img{display:block;width:250px;max-width:48vw;height:auto}
.student-brand>span{padding-left:15px;border-left:1px solid var(--student-line);font-size:10px;font-weight:900;letter-spacing:.15em;color:var(--pdu-dark);white-space:nowrap}
.student-account-actions{display:flex;align-items:center;gap:10px;min-width:0}
.student-user-chip{min-width:0;display:flex;align-items:center;gap:10px;padding:7px 10px 7px 7px;border:1px solid var(--student-line);border-radius:16px;background:#fff}
.student-avatar{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border-radius:13px;color:#fff;background:linear-gradient(135deg,var(--pdu),#4ab47e);font-weight:900;box-shadow:0 7px 18px rgba(0,160,96,.16)}
.student-user-copy{min-width:0;display:grid;line-height:1.25}.student-user-copy b,.student-user-copy small{max-width:210px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.student-user-copy b{font-size:12px}.student-user-copy small{color:var(--student-muted);font-size:9px;margin-top:3px}
.student-logout-form{margin:0}.student-icon-button{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--student-line);border-radius:14px;background:#fff;color:#60756c;cursor:pointer}.student-icon-button:hover{background:var(--pdu-pale);border-color:#bee0cf;color:var(--pdu-dark)}.student-icon-button img{width:21px;height:21px}
.student-main{width:min(1180px,100%);margin:0 auto;min-height:calc(100vh - 170px);padding:28px 22px 46px}
.student-main-guest{width:min(1120px,100%);padding-top:38px}
.student-footer{text-align:center;padding:8px 20px 26px;color:#7b8e86;font-size:10px;letter-spacing:.02em}
.student-alert{margin:0 0 18px!important;border-radius:15px!important}
.student-body .card{border:1px solid var(--student-line);border-radius:22px;box-shadow:0 9px 28px rgba(26,70,52,.045)}
.student-body .btn{border-radius:13px;min-height:44px}.student-body .btn.primary{background:linear-gradient(135deg,var(--pdu),#128a59);border-color:transparent;box-shadow:0 8px 18px rgba(0,160,96,.16)}.student-body .btn.primary:hover{background:linear-gradient(135deg,#07975d,var(--pdu-dark))}.student-body .btn.ghost{background:#f8fbf9;border-color:var(--student-line)}
.student-body input,.student-body select,.student-body textarea{border-color:#cddbd4;border-radius:13px;min-height:45px}.student-body input:focus,.student-body select:focus,.student-body textarea:focus{outline:0;border-color:#66c49a;box-shadow:0 0 0 4px rgba(0,160,96,.09)}
.student-body .stat{background:var(--pdu-soft);border-color:#cce9db}.student-body .stat b{color:var(--pdu-dark)}
.student-body th{color:#647870;background:#f9fcfa}.student-body tbody tr:nth-child(even){background:#fcfefd}
.student-body .page-head h1{color:var(--student-ink)}

.student-welcome-card{position:relative;overflow:hidden;min-height:235px;padding:36px 40px;display:flex;align-items:center;justify-content:space-between;gap:30px;border:1px solid #d2eadf;border-radius:30px;background:linear-gradient(135deg,#fff 0%,#f0faf5 56%,#dff4e9 100%);box-shadow:var(--student-shadow)}
.student-welcome-card:after{content:"";position:absolute;width:290px;height:290px;right:-96px;top:-116px;border:46px solid rgba(0,160,96,.07);border-radius:50%}
.student-welcome-copy{position:relative;z-index:2;min-width:0}.student-eyebrow{display:inline-flex;padding:6px 10px;border-radius:999px;background:var(--pdu-soft);color:var(--pdu-dark);font-size:9px;font-weight:900;letter-spacing:.14em}.student-welcome-copy h1{margin:13px 0 7px;font-size:clamp(27px,4vw,41px);line-height:1.1}.student-welcome-copy>p{max-width:690px;margin:0;color:var(--student-muted);font-size:15px}
.student-identity-row{margin-top:25px;display:flex;gap:10px;flex-wrap:wrap}.student-identity-row>span{min-width:130px;padding:11px 14px;border:1px solid rgba(204,233,219,.9);border-radius:15px;background:rgba(255,255,255,.7)}.student-identity-row small,.student-identity-row b{display:block}.student-identity-row small{color:#789087;font-size:9px;font-weight:750;letter-spacing:.03em}.student-identity-row b{margin-top:2px;color:#214c3c;font-size:14px}
.student-welcome-emblem{position:relative;z-index:2;width:96px;height:96px;display:grid;place-items:center;flex:0 0 auto;border:1px solid rgba(255,255,255,.9);border-radius:29px;background:rgba(255,255,255,.74);box-shadow:0 18px 40px rgba(0,125,75,.12)}.student-welcome-emblem span{width:66px;height:66px;display:grid;place-items:center;border-radius:21px;background:linear-gradient(135deg,var(--pdu),#42b47b);color:#fff;font-size:20px;font-weight:950;letter-spacing:.05em}
.student-app-section{margin-top:26px}.student-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:14px;padding:0 3px}.student-section-heading>div>span{display:block;color:var(--pdu);font-size:9px;font-weight:900;letter-spacing:.14em}.student-section-heading h2{margin:3px 0 0;font-size:21px}.student-section-heading>small{color:var(--student-muted);font-size:11px}
.student-app-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.student-app-tile{position:relative;min-width:0;min-height:162px;padding:21px 18px 17px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px solid var(--student-line);border-radius:23px;background:#fff;box-shadow:0 7px 22px rgba(27,67,50,.04);transition:transform .17s ease,border-color .17s ease,box-shadow .17s ease}.student-app-tile:hover{transform:translateY(-3px);border-color:#bddfcf;box-shadow:0 15px 34px rgba(27,67,50,.09)}.student-app-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:19px;margin-bottom:13px}.student-app-icon img{width:29px;height:29px}.student-app-tile b{font-size:13px;line-height:1.25}.student-app-tile small{margin-top:5px;color:var(--student-muted);font-size:10px;line-height:1.35}
.student-app-tile.tone-green .student-app-icon{background:#e7f8ef;color:#078451}.student-app-tile.tone-blue .student-app-icon{background:#eaf2ff;color:#326ed4}.student-app-tile.tone-violet .student-app-icon{background:#f1eaff;color:#7952d9}.student-app-tile.tone-orange .student-app-icon{background:#fff1e5;color:#d26c24}.student-app-tile.tone-cyan .student-app-icon{background:#e7f8f7;color:#128e8a}.student-app-tile.tone-pink .student-app-icon{background:#fff0f4;color:#c64e76}.student-app-tile.tone-yellow .student-app-icon{background:#fff6dd;color:#a6780a}.student-app-tile.tone-slate .student-app-icon{background:#eef2f5;color:#526775}
.student-security-note{margin-top:16px;padding:14px 17px;display:flex;align-items:center;gap:11px;border:1px solid var(--student-line);border-radius:17px;background:#fafdfb}.student-security-badge{width:29px;height:29px;display:grid;place-items:center;flex:0 0 auto;border-radius:10px;background:var(--pdu-soft);color:var(--pdu-dark);font-weight:950}.student-security-note div{display:grid}.student-security-note b{font-size:11px}.student-security-note small{margin-top:2px;color:var(--student-muted);font-size:10px}

.student-bottom-nav{display:none}

.student-login-shell{overflow:hidden;display:grid;grid-template-columns:1.06fr .94fr;min-height:610px;border:1px solid #dbeae3;border-radius:32px;background:#fff;box-shadow:0 30px 80px rgba(22,68,48,.12)}
.student-login-brand-panel{position:relative;overflow:hidden;padding:52px;display:flex;flex-direction:column;justify-content:space-between;gap:38px;background:linear-gradient(145deg,#f9fdfb 0%,#eaf8f1 57%,#d3efdf 100%)}.student-login-brand-panel:after{content:"";position:absolute;width:350px;height:350px;left:-120px;bottom:-180px;border:55px solid rgba(0,160,96,.08);border-radius:50%}.student-login-logo{position:relative;z-index:2;width:min(400px,100%);height:auto}.student-login-brand-copy{position:relative;z-index:2}.student-login-brand-copy>span,.student-login-card-head>div>span{font-size:9px;font-weight:900;letter-spacing:.16em;color:var(--pdu-dark)}.student-login-brand-copy h1{max-width:520px;margin:8px 0 12px;font-size:39px;line-height:1.08}.student-login-brand-copy p{max-width:490px;margin:0;color:#5c746a;font-size:14px}.student-login-feature-row{position:relative;z-index:2;display:flex;gap:9px;flex-wrap:wrap}.student-login-feature-row span{padding:7px 9px;border:1px solid rgba(181,220,202,.9);border-radius:999px;background:rgba(255,255,255,.62);color:#45675a;font-size:9px;font-weight:700}
.student-login-card{padding:54px 48px;display:flex;flex-direction:column;justify-content:center}.student-login-card-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:24px}.student-login-lock{width:48px;height:48px;display:grid;place-items:center;flex:0 0 auto;border-radius:16px;background:var(--pdu-soft);font-size:21px}.student-login-card-head h2{margin:4px 0 5px;font-size:27px}.student-login-card-head p{margin:0;color:var(--student-muted);font-size:12px}.student-login-form{display:grid;gap:14px}.student-field{display:grid;gap:6px}.student-field label{margin:0;color:#38574b;font-size:11px;font-weight:800}.student-field span.field-validation-error{font-size:10px}.student-login-submit{width:100%;margin-top:4px;min-height:49px!important;font-size:13px}.student-login-links{margin-top:18px;display:flex;justify-content:center;gap:7px;color:#71847c;font-size:11px}.student-login-links a{color:var(--pdu-dark);font-weight:700}.student-validation{font-size:11px}.student-login-news{margin-top:24px}.student-news-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.student-news-card{min-width:0;padding:13px 14px;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;border:1px solid var(--student-line);border-radius:16px;background:#fff}.student-news-dot{width:9px;height:9px;border-radius:50%;background:var(--pdu)}.student-news-card div{min-width:0;display:grid}.student-news-card b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.student-news-card small{margin-top:3px;color:var(--student-muted);font-size:9px}.student-news-card>span:last-child{color:#9cafA7;font-size:20px}

.student-body .password-page{padding-top:12px}.student-body .password-card{border-color:var(--student-line);box-shadow:var(--student-shadow)}.student-body .password-icon{background:var(--pdu-soft)}.student-body .password-notice{background:var(--pdu-pale);border-color:#d2eadf}.student-body .password-rule.ok{color:var(--pdu-dark)}.student-body .password-rule.ok span{background:var(--pdu-soft);border-color:#91d4b3;color:var(--pdu-dark)}

.student-grade-summary{display:grid;grid-template-columns:1fr auto;align-items:center;gap:16px;margin-bottom:16px;padding:21px 24px;border:1px solid #d7eae1;border-radius:22px;background:linear-gradient(135deg,#fff,#eff9f4)}.student-grade-summary h1{margin:0 0 4px;font-size:25px}.student-grade-summary p{margin:0;color:var(--student-muted);font-size:11px}.student-grade-score{min-width:82px;padding:10px 15px;text-align:center;border-radius:18px;background:#fff;border:1px solid #d2e8dd}.student-grade-score small,.student-grade-score b{display:block}.student-grade-score small{font-size:8px;color:var(--student-muted);font-weight:800}.student-grade-score b{font-size:25px;color:var(--pdu-dark)}.student-grade-mobile-list{display:none}.student-grade-mobile-card{padding:15px;border:1px solid var(--student-line);border-radius:17px;background:#fff}.student-grade-mobile-head{display:flex;justify-content:space-between;gap:12px}.student-grade-mobile-head>div{min-width:0}.student-grade-mobile-head small{display:block;color:var(--student-muted);font-size:9px}.student-grade-mobile-head b{display:block;margin-top:2px;font-size:12px}.student-grade-pill{min-width:45px;height:45px;padding:0 8px;display:grid;place-items:center;border-radius:14px;background:var(--pdu-soft);color:var(--pdu-dark);font-weight:900}.student-grade-mobile-meta{margin-top:11px;padding-top:10px;border-top:1px solid #eef3f0;display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.student-grade-mobile-meta span{display:grid;text-align:center}.student-grade-mobile-meta small{font-size:8px;color:var(--student-muted)}.student-grade-mobile-meta b{font-size:11px}.student-grade-detail-link{margin-top:10px;display:flex;justify-content:center;padding:8px;border-radius:10px;background:#f6faf8;color:var(--pdu-dark);font-size:9px;font-weight:800}

@media(max-width:900px){
    .student-topbar-inner{height:76px;padding:0 15px}.student-brand img{width:210px}.student-brand>span{display:none}.student-user-copy{display:none}.student-user-chip{padding:6px;border:0;background:transparent}.student-avatar{width:38px;height:38px}.student-icon-button{width:40px;height:40px}
    .student-main{padding:18px 14px 100px}.student-main-guest{padding-top:0}.student-footer{padding-bottom:88px}
    .student-app-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.student-app-tile{min-height:128px;padding:15px 8px 12px;border-radius:18px}.student-app-icon{width:49px;height:49px;border-radius:16px;margin-bottom:10px}.student-app-icon img{width:24px;height:24px}.student-app-tile b{font-size:10px}.student-app-tile small{display:none}
    .student-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:80;height:calc(70px + env(safe-area-inset-bottom));padding:6px 6px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,1fr);background:rgba(255,255,255,.97);border-top:1px solid var(--student-line);box-shadow:0 -10px 32px rgba(25,60,45,.08);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.student-bottom-item{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:14px;color:#72867d;font-size:9px;font-weight:750}.student-bottom-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:10px}.student-bottom-icon img{width:20px;height:20px}.student-bottom-item.active{color:var(--pdu-dark)}.student-bottom-item.active .student-bottom-icon{background:var(--pdu-soft)}
    .student-login-shell{min-height:calc(100vh - 76px);display:block;border:0;border-radius:0;box-shadow:none;background:transparent}.student-login-brand-panel{min-height:auto;padding:24px 20px 25px;gap:20px;border-radius:0 0 30px 30px}.student-login-logo{width:260px;max-width:80%;margin:auto}.student-login-brand-copy{text-align:center}.student-login-brand-copy h1{font-size:25px;margin:7px auto 8px}.student-login-brand-copy p{font-size:11px;margin:auto}.student-login-feature-row{display:none}.student-login-card{margin:-1px 0 0;padding:28px 20px 36px;background:transparent}.student-login-card-head{max-width:520px;width:100%;margin:0 auto 20px}.student-login-form,.student-login-links{max-width:520px;width:100%;margin-left:auto;margin-right:auto}.student-login-news{padding:0 3px}.student-news-grid{grid-template-columns:1fr}
    .student-grade-mobile-list{display:grid;gap:10px}.student-grade-desktop{display:none}
}
@media(max-width:620px){
    .student-topbar-inner{height:70px}.student-brand img{width:188px;max-width:58vw}
    .student-welcome-card{min-height:auto;padding:24px 20px;border-radius:23px}.student-welcome-copy h1{font-size:26px}.student-welcome-copy>p{font-size:11px}.student-welcome-emblem{display:none}.student-identity-row{margin-top:19px;display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.student-identity-row>span{min-width:0;padding:9px 8px;border-radius:12px}.student-identity-row small{font-size:7px}.student-identity-row b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .student-section-heading{align-items:flex-start}.student-section-heading>small{display:none}.student-section-heading h2{font-size:18px}.student-app-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.student-app-tile{min-height:112px;padding:13px 5px 10px}.student-app-icon{width:45px;height:45px;border-radius:15px}.student-app-tile b{font-size:9px;max-width:76px}.student-security-note{align-items:flex-start}
    .student-login-brand-panel{padding-top:21px}.student-login-logo{width:225px}.student-login-brand-copy h1{font-size:23px}.student-login-brand-copy p{max-width:330px}.student-login-card{padding:25px 18px 32px}.student-login-card-head h2{font-size:22px}.student-login-lock{width:43px;height:43px;border-radius:14px}.student-login-news{margin-top:18px}
    .student-body .page-head{gap:12px}.student-body .page-head>div:last-child{width:100%;display:flex;gap:7px;flex-wrap:wrap}.student-body .page-head .btn{flex:1 1 130px}.student-body .toolbar{align-items:stretch;flex-direction:column}.student-body .toolbar input,.student-body .toolbar select{width:100%;min-width:0}.student-body .toolbar .btn{width:100%}
    .student-grade-summary{padding:17px;border-radius:18px}.student-grade-summary h1{font-size:20px}.student-grade-score{min-width:68px}.student-grade-score b{font-size:21px}.student-grade-mobile-meta{grid-template-columns:repeat(4,1fr)}
    .student-body .card{padding:17px;border-radius:18px}.student-body .center-card{margin:15px auto}.student-body .form-grid,.student-body .detail-grid{grid-template-columns:1fr}.student-body .span2{grid-column:auto}
}
@media(max-width:420px){
    .student-app-grid{grid-template-columns:repeat(4,1fr)}.student-app-tile{min-height:103px}.student-app-icon{width:42px;height:42px;margin-bottom:8px}.student-app-icon img{width:22px;height:22px}.student-app-tile b{font-size:8.5px;line-height:1.2}.student-bottom-item{font-size:8px}.student-bottom-icon{width:29px;height:29px}
}
.student-login-page .student-topbar{display:none}.student-guest .student-main{padding-top:30px}.student-grade-footer{margin-top:16px;padding-top:12px;border-top:1px solid #edf2ef}.student-grade-footer p{margin:5px 0;font-size:11px}
@media(max-width:900px){.student-login-page .student-main{padding:0 0 45px}.student-guest .student-footer{padding-bottom:24px}}

/* Ver.07 - admin core-only workflow */
.admin-search-empty{margin-top:8px;border:1px dashed #d7deea;border-radius:14px;background:#fafbfd}
.admin-reset-student{margin-top:8px;padding:4px 0 10px}
.admin-reset-form{margin-top:18px}
.admin-core-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.student-app-grid-core{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:900px){.admin-core-grid{grid-template-columns:1fr}.student-app-grid-core{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:620px){.student-app-grid-core{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Ver.08 - forgot password OTP flow */
.forgot-shell{min-height:calc(100vh - 155px);display:grid;place-items:center;padding:28px 0 48px}.forgot-card{width:min(100%,590px);padding:34px 36px;border:1px solid #d9ebe2;border-radius:28px;background:#fff;box-shadow:0 28px 70px rgba(22,68,48,.11)}.forgot-card-wide{width:min(100%,720px)}.forgot-back{display:inline-flex;margin-bottom:22px;color:#587166;font-size:12px;font-weight:700}.forgot-icon{width:58px;height:58px;display:grid;place-items:center;margin-bottom:15px;border-radius:18px;background:#e9f8f0;font-size:27px}.forgot-kicker{display:block;color:#08784c;font-size:9px;font-weight:900;letter-spacing:.16em}.forgot-card h1{margin:5px 0 8px;font-size:29px}.forgot-lead{margin:0 0 23px;color:#61766d;font-size:13px}.forgot-form{display:grid;gap:14px}.forgot-submit{width:100%;min-height:49px;font-size:13px}.forgot-validation:empty{display:none}.forgot-note,.forgot-warning{display:grid;gap:3px;margin-top:18px;padding:13px 15px;border:1px solid #d8e9e1;border-radius:14px;background:#f7fbf9}.forgot-note b,.forgot-warning b{font-size:11px}.forgot-note span,.forgot-warning span{color:#64786f;font-size:10px}.forgot-warning{border-color:#f1d8a8;background:#fff9ee}.forgot-warning b{color:#8a5b00}.forgot-email-list{display:grid;gap:10px}.forgot-email-option{position:relative;margin:0;padding:14px 15px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;border:1px solid #d9e5df;border-radius:16px;background:#fff;cursor:pointer;transition:.16s ease}.forgot-email-option:hover{border-color:#98cdb4;background:#f9fcfa}.forgot-email-option input{position:absolute;opacity:0;pointer-events:none}.forgot-email-option:has(input:checked){border-color:#55b589;background:#eef9f3;box-shadow:0 0 0 3px rgba(0,160,96,.08)}.forgot-email-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#eaf8f1;color:#08784c;font-weight:800}.forgot-email-copy{min-width:0;display:grid}.forgot-email-copy b{overflow:hidden;text-overflow:ellipsis;font-size:12px}.forgot-email-copy small{margin-top:2px;color:#70837a;font-size:9px}.forgot-email-check{width:26px;height:26px;display:grid;place-items:center;border:1px solid #cedbd5;border-radius:50%;color:transparent;font-weight:900}.forgot-email-option:has(input:checked) .forgot-email-check{border-color:#00a060;background:#00a060;color:#fff}.forgot-otp-input{text-align:center;font-size:28px!important;font-weight:800;letter-spacing:.28em;padding-left:calc(.28em + 14px)!important}
@media(max-width:620px){.forgot-shell{padding:15px 0 35px;place-items:start center}.forgot-card{padding:25px 19px;border-radius:22px}.forgot-card h1{font-size:24px}.forgot-lead{font-size:11px}.forgot-email-option{padding:12px}.forgot-email-copy b{font-size:10.5px}.forgot-email-copy small{font-size:8px}.forgot-email-mark{width:38px;height:38px}}

/* Ver09 - Microsoft Graph mail setup */
.admin-page-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:22px}.admin-page-head h1{margin:5px 0 6px}.admin-page-head p{margin:0;color:#64748b;max-width:760px}.admin-kicker{font-size:12px;font-weight:800;letter-spacing:.12em;color:#2563eb}.status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:800;white-space:nowrap}.status-ok{background:#dcfce7;color:#166534}.status-warn{background:#fff7ed;color:#9a3412}.admin-grid-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.admin-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:20px;box-shadow:0 10px 30px rgba(15,23,42,.04)}.mail-setup-card h2,.mail-setup-help h2{margin-top:0}.mail-setup-card form{display:grid;gap:9px}.mail-setup-card label{font-weight:700;margin-top:5px}.mail-setup-card input{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:12px;padding:12px 13px;font:inherit;background:#fff}.mail-setup-card input:focus{outline:2px solid #bfdbfe;border-color:#2563eb}.field-hint,.muted{color:#64748b}.mail-setup-note{margin-top:18px;padding:14px;border-radius:14px;background:#f8fafc;display:grid;gap:5px}.mail-setup-note span{font-weight:800;color:#0f172a}.mail-setup-note small{color:#64748b}.mail-setup-help{margin-top:18px}.help-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.help-steps span{background:#f8fafc;border-radius:12px;padding:12px;color:#475569}.mail-setup-card code{font-size:12px}.mail-setup-card button[disabled]{opacity:.55;cursor:not-allowed}@media(max-width:900px){.admin-grid-two,.help-steps{grid-template-columns:1fr}.admin-page-head{flex-direction:column}}

/* =========================================================
   Ver.10 - Premium student experience
   Functional UI inspired by the approved UPD mockups.
   ========================================================= */
.student-body{--premium-green:#00a56a;--premium-green-dark:#08774f;--premium-green-deep:#0a513b;--premium-mint:#eaf9f2;--premium-mint-2:#dff5ea;--premium-ink:#0c3128;--premium-muted:#698079;--premium-line:#dbe9e3;--premium-blue:#2d74d6;--premium-shadow:0 24px 70px rgba(12,67,47,.10)}
.student-home-button{font-size:23px;font-weight:900;line-height:1}.recovery-login-link{display:inline-flex;align-items:center;gap:8px;padding:10px 17px;border:1px solid var(--premium-line);border-radius:999px;background:#fff;color:var(--premium-green-dark);font-size:12px;font-weight:800;box-shadow:0 7px 22px rgba(11,70,49,.05)}
.student-login-page .student-main-guest{width:min(1320px,100%);padding:30px 22px 36px}.student-recovery-page .student-main-guest{width:min(1420px,100%);padding:30px 22px 36px}.student-login-page .student-footer,.student-recovery-page .student-footer{padding-top:0}.premium-kicker{display:block;color:var(--premium-green-dark);font-size:10px;font-weight:900;letter-spacing:.16em}.premium-kicker.light{color:#c8f5df}

/* premium login */
.premium-auth-shell{min-height:700px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(460px,.95fr);overflow:hidden;border:1px solid rgba(209,231,221,.95);border-radius:34px;background:#fff;box-shadow:0 34px 95px rgba(16,72,51,.14)}
.premium-auth-visual{position:relative;overflow:hidden;padding:42px 50px 36px;display:flex;flex-direction:column;background:linear-gradient(145deg,#fafffc 0%,#effbf5 42%,#dff5e9 100%)}.premium-auth-visual:before{content:"";position:absolute;inset:auto -130px -160px auto;width:390px;height:390px;border:64px solid rgba(0,165,106,.07);border-radius:50%}.premium-auth-visual:after{content:"";position:absolute;left:-130px;top:180px;width:330px;height:330px;background:radial-gradient(circle,rgba(0,165,106,.09),transparent 65%)}
.premium-auth-logo{position:relative;z-index:3;width:min(360px,82%);height:auto}.premium-watermark{position:absolute;z-index:0;left:46px;top:250px;color:rgba(0,165,106,.075);font-size:120px;font-weight:950;letter-spacing:-.08em}.premium-auth-copy{position:relative;z-index:3;margin-top:auto;max-width:570px}.premium-auth-copy h1{margin:9px 0 12px;color:var(--premium-ink);font-size:clamp(35px,4vw,51px);line-height:1.04;letter-spacing:-.035em}.premium-auth-copy h1 em{font-style:normal;color:var(--premium-green-dark)}.premium-auth-copy p{margin:0;color:#5b766b;font-size:14px;line-height:1.75;max-width:530px}
.premium-benefits{position:relative;z-index:3;margin-top:28px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.premium-benefits>div{min-width:0;padding:13px 12px;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:9px;border:1px solid rgba(194,226,211,.95);border-radius:18px;background:rgba(255,255,255,.72);backdrop-filter:blur(8px)}.premium-benefits>div>span{grid-row:1/3;width:35px;height:35px;display:grid;place-items:center;border-radius:12px;background:#e2f7ec;color:var(--premium-green-dark);font-weight:950}.premium-benefits b{font-size:10px}.premium-benefits small{color:#6f857d;font-size:8.5px}
.portal-illustration{position:relative;z-index:2;align-self:center}.portal-login-illustration{width:310px;height:230px;margin:16px auto -10px}.portal-orbit{position:absolute;border:1px dashed rgba(0,165,106,.26);border-radius:50%}.orbit-one{width:280px;height:165px;left:15px;top:35px;transform:rotate(-12deg)}.orbit-two{width:245px;height:135px;left:35px;top:48px;transform:rotate(17deg)}.portal-window{position:absolute;left:66px;top:30px;width:183px;height:143px;padding:18px;border:1px solid #c7e6d8;border-radius:28px;background:linear-gradient(145deg,#fff,#eaf9f2);box-shadow:0 23px 48px rgba(0,113,73,.18);transform:rotate(-3deg)}.portal-window:before{content:"";position:absolute;left:0;right:0;top:35px;height:1px;background:#dcece5}.portal-window-dot{display:inline-block;width:6px;height:6px;margin-right:4px;border-radius:50%;background:#71cf9f}.portal-window-user{width:51px;height:51px;display:grid;place-items:center;margin:25px auto 9px;border-radius:16px;background:#dff5ea;color:#0b9b65;font-size:27px}.portal-window-line{height:7px;margin:6px auto;border-radius:99px;background:#c8e8d9}.line-a{width:70px}.line-b{width:50px}.portal-shield{position:absolute;right:32px;bottom:20px;width:68px;height:77px;display:grid;place-items:center;clip-path:polygon(50% 0,92% 17%,85% 68%,50% 100%,15% 68%,8% 17%);background:linear-gradient(145deg,#06b673,#058455);color:#fff;font-size:26px;font-weight:950;filter:drop-shadow(0 16px 16px rgba(0,112,73,.22))}.portal-lock{position:absolute;left:40px;bottom:22px;width:54px;height:54px;display:grid;place-items:center;border:8px solid #e5b233;border-top-width:18px;border-radius:16px;background:#ffc948;color:#7c5700;font-size:12px;box-shadow:0 12px 22px rgba(145,101,0,.16)}
.premium-auth-form-panel{padding:56px 62px;display:flex;align-items:center;background:linear-gradient(180deg,#fff,#fbfdfc)}.premium-form-wrap{width:min(100%,520px);margin:auto}.premium-form-heading{display:flex;gap:15px;align-items:flex-start;margin-bottom:28px}.premium-form-icon{width:52px;height:52px;display:grid;place-items:center;flex:0 0 auto;border-radius:17px;background:var(--premium-mint);color:var(--premium-green-dark);font-size:22px;font-weight:900}.premium-form-heading h2{margin:5px 0 5px;font-size:31px;line-height:1.1;letter-spacing:-.02em}.premium-form-heading p{margin:0;color:var(--premium-muted);font-size:12px}.premium-login-form{display:grid;gap:17px}.premium-field{display:grid;gap:7px}.premium-field label{margin:0;color:#234c3d;font-size:11px;font-weight:850}.premium-label-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.premium-label-row a{color:var(--premium-green-dark);font-size:10px;font-weight:800}.premium-input-wrap{position:relative}.premium-input-icon{position:absolute;left:15px;top:50%;z-index:2;transform:translateY(-50%);color:#8aa198;font-size:11px}.student-body .premium-input-wrap input{min-height:54px;padding:13px 15px 13px 42px;border:1px solid #c9dcd3;border-radius:15px;background:#fff;font-size:13px}.student-body .premium-input-wrap input::placeholder{color:#a0afa9}.student-body .premium-input-wrap input:focus{border-color:#5bc59a;box-shadow:0 0 0 4px rgba(0,165,106,.08)}.premium-validation{padding:0;color:#b42318;font-size:11px}.premium-validation:empty{display:none}.premium-primary-button{min-height:52px;width:100%;padding:11px 18px;display:flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:15px;background:linear-gradient(135deg,#0eb171,#078653);color:#fff!important;font:inherit;font-size:13px;font-weight:850;cursor:pointer;box-shadow:0 13px 25px rgba(0,138,86,.20);transition:transform .16s ease,box-shadow .16s ease}.premium-primary-button:hover{transform:translateY(-1px);box-shadow:0 17px 32px rgba(0,138,86,.25)}.premium-primary-button b{font-size:18px}.premium-primary-button[disabled]{opacity:.48;cursor:not-allowed;transform:none;box-shadow:none}.premium-login-note{margin-top:20px;padding:13px 15px;display:flex;gap:11px;align-items:center;border:1px solid #d8ebe1;border-radius:16px;background:#f8fcfa}.premium-login-note>span{width:32px;height:32px;display:grid;place-items:center;border-radius:11px;background:#e1f7ec;color:#078653;font-weight:900}.premium-login-note div{display:grid}.premium-login-note b{font-size:10px}.premium-login-note small{color:#71857e;font-size:9px}.premium-login-admin{margin-top:20px;text-align:center;color:#7a8c85;font-size:10px}.premium-login-admin a{color:var(--premium-green-dark);font-weight:850}

/* recovery flow */
.recovery-topbar{background:rgba(255,255,255,.88)}.recovery-shell{min-height:720px;display:grid;grid-template-columns:minmax(400px,.78fr) minmax(0,1.22fr);overflow:hidden;border:1px solid #d9ebe3;border-radius:32px;background:#fff;box-shadow:0 30px 90px rgba(16,72,51,.12)}.recovery-visual-panel{position:relative;overflow:hidden;padding:46px 46px 38px;display:flex;flex-direction:column;background:linear-gradient(145deg,#f8fffb,#eaf9f2 48%,#d9f4e7)}.recovery-visual-panel:after{content:"";position:absolute;left:-140px;bottom:-190px;width:410px;height:410px;border:62px solid rgba(0,165,106,.07);border-radius:50%}.recovery-watermark{position:absolute;left:38px;top:155px;color:rgba(0,165,106,.08);font-size:100px;font-weight:950;letter-spacing:-.06em}.recovery-illustration{width:300px;height:300px;margin:40px auto 0}.recovery-envelope{position:absolute;left:38px;bottom:22px;width:218px;height:154px;border:1px solid #bde3d1;border-radius:25px;background:linear-gradient(145deg,#d7f5e7,#9de4c6);box-shadow:0 25px 48px rgba(0,117,75,.16);transform:rotate(-4deg)}.recovery-envelope:before,.recovery-envelope:after{content:"";position:absolute;bottom:0;width:52%;height:78%;background:#f7fffb;clip-path:polygon(0 100%,100% 0,100% 100%)}.recovery-envelope:before{left:0}.recovery-envelope:after{right:0;transform:scaleX(-1)}.recovery-envelope>span{position:absolute;inset:0;z-index:2;clip-path:polygon(0 0,50% 58%,100% 0);background:linear-gradient(180deg,#effdf6,#b8ebd4)}.recovery-card-lock{position:absolute;z-index:4;left:83px;top:34px;width:154px;height:112px;display:grid;place-items:center;border:1px solid #c7e8d9;border-radius:22px;background:linear-gradient(145deg,#fff,#edf9f3);box-shadow:0 22px 42px rgba(0,101,64,.13);color:#0d9a65;font-size:18px;font-weight:950;letter-spacing:.12em}.recovery-card-lock:before{content:"";position:absolute;top:23px;width:44px;height:37px;border:8px solid #079d65;border-bottom:0;border-radius:20px 20px 0 0}.recovery-card-lock:after{content:"";position:absolute;top:55px;width:54px;height:45px;border-radius:13px;background:#0baa6e}.recovery-card-lock.otp-visual:before,.recovery-card-lock.otp-visual:after{display:none}.paper-plane{position:absolute;right:17px;top:40px;color:#00a56a;font-size:45px;transform:rotate(-28deg);filter:drop-shadow(0 8px 10px rgba(0,134,83,.14))}.recovery-illustration .portal-shield{right:23px;bottom:3px}.recovery-visual-copy{position:relative;z-index:4;margin-top:auto}.recovery-visual-copy h1{margin:8px 0 10px;color:var(--premium-ink);font-size:39px;line-height:1.05;letter-spacing:-.03em}.recovery-visual-copy p{margin:0;color:#58736a;font-size:13px;line-height:1.7}.recovery-benefit-row{position:relative;z-index:4;margin-top:24px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.recovery-benefit-row>div{display:grid;justify-items:center;text-align:center;padding:12px 7px;border:1px solid rgba(193,225,210,.9);border-radius:17px;background:rgba(255,255,255,.72)}.recovery-benefit-row span{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#e1f7ec;color:#078653;font-weight:950}.recovery-benefit-row b{margin-top:6px;font-size:9.5px}.recovery-benefit-row small{color:#6c8178;font-size:8px}.recovery-student-chip{position:relative;z-index:4;margin-top:24px;padding:14px;display:flex;gap:12px;align-items:center;border:1px solid #bfe2d2;border-radius:18px;background:rgba(255,255,255,.72)}.recovery-student-chip>span{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;border-radius:14px;background:#e0f7eb;color:#078653;font-weight:950}.recovery-student-chip>div{min-width:0;display:grid}.recovery-student-chip small{color:#6f847c;font-size:8px;font-weight:850;letter-spacing:.09em}.recovery-student-chip b{overflow:hidden;text-overflow:ellipsis;font-size:11px}.recovery-student-chip em{color:#6b8178;font-size:9px;font-style:normal}
.recovery-form-panel{padding:40px 44px 32px;display:flex;flex-direction:column;background:#fff}.recovery-stepper{display:grid;grid-template-columns:auto 1fr auto 1fr auto 1fr auto;align-items:start;gap:8px;margin:0 5px 28px}.recovery-step{display:grid;justify-items:center;gap:7px;color:#8b9a95}.recovery-step>span{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#e9eff0;color:#71817c;font-size:13px;font-weight:900}.recovery-step>b{font-size:10px;white-space:nowrap}.recovery-stepper>i{height:2px;margin-top:17px;background:#e1e8e5}.recovery-step.active{color:var(--premium-green-dark)}.recovery-step.active>span,.recovery-step.done>span{background:linear-gradient(145deg,#09b373,#078b59);color:#fff;box-shadow:0 8px 16px rgba(0,154,96,.18)}.recovery-stepper>i.done{background:#68cba3}.recovery-form-card{padding:28px;border:1px solid #dce9e3;border-radius:24px;background:linear-gradient(180deg,#fff,#fcfefd);box-shadow:0 12px 32px rgba(15,70,50,.04)}.recovery-title-row{display:flex;gap:15px;align-items:flex-start;margin-bottom:20px}.recovery-title-icon{width:58px;height:58px;display:grid;place-items:center;flex:0 0 auto;border-radius:18px;background:#e6f8ef;color:#078b59;font-size:23px;font-weight:900}.recovery-title-row h2{margin:4px 0 4px;font-size:24px;line-height:1.15}.recovery-title-row p{margin:0;color:var(--premium-muted);font-size:11px}.recovery-info-box{margin-bottom:20px;padding:14px 16px;border:1px solid #b9ddf6;border-radius:16px;background:linear-gradient(135deg,#f2f9ff,#f8fcff);color:#315d8d}.recovery-info-box>b{font-size:11px}.recovery-info-box ul{margin:7px 0 0;padding-left:20px;font-size:9.5px;line-height:1.65}.recovery-info-box.compact{margin:18px 0 0;border-color:#d2e8de;background:#f7fcf9;color:#436a5b}.recovery-info-box.compact p{margin:4px 0 0;font-size:10px}.recovery-form{gap:14px}.recovery-actions{margin-top:auto;padding-top:21px}.premium-back-button{display:inline-flex;align-items:center;gap:7px;padding:10px 14px;border:1px solid #dbe7e2;border-radius:13px;background:#fff;color:#537168!important;font-size:10px;font-weight:800;transition:.16s ease}.premium-back-button:hover{border-color:#a9d5c1;background:#f6fbf8;color:var(--premium-green-dark)!important;transform:translateX(-2px)}.premium-warning{border-radius:15px}.premium-email-list{margin:2px 0}.premium-otp-input{min-height:70px!important;border-radius:18px!important}.otp-field>label{text-align:center}.recovery-success-visual{position:relative;z-index:3;width:210px;height:210px;margin:70px auto 25px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle,#fff 0 29%,#dff7eb 30% 53%,rgba(0,165,106,.10) 54% 65%,transparent 66%);filter:drop-shadow(0 22px 35px rgba(0,123,76,.13))}.recovery-success-visual>span{width:91px;height:91px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#11b775,#078a58);color:#fff;font-size:41px;font-weight:950}.recovery-success-card{text-align:center}.success-ring{width:84px;height:84px;display:grid;place-items:center;margin:0 auto 16px;border:9px solid #dff6ea;border-radius:50%;background:#08a769;color:#fff;font-size:35px;font-weight:950}.recovery-success-card h2{margin:7px 0 5px;font-size:27px}.recovery-success-card>p{margin:0 0 18px;color:var(--premium-muted);font-size:12px}.recovery-login-now{margin-top:17px}.legacy-reset-card{text-align:center}.legacy-reset-card .premium-page-icon{margin:auto}.legacy-reset-card h1{margin:9px 0 7px}.legacy-reset-card p{color:var(--premium-muted);font-size:12px}

/* premium inner pages */
.premium-inner-page{display:grid;gap:17px}.narrow-inner-page{width:min(850px,100%);margin:0 auto}.premium-page-nav{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:12px}.premium-page-nav-actions{display:flex;gap:8px;flex-wrap:wrap}.premium-soft-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 14px;border:1px solid #d7e7df;border-radius:12px;background:#f8fcfa;color:#426c5d!important;font-size:10px;font-weight:850}.premium-soft-button:hover{border-color:#a9d8c3;background:#eff9f4;color:var(--premium-green-dark)!important}.premium-page-hero{position:relative;overflow:hidden;min-height:180px;padding:28px 31px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-radius:27px;background:linear-gradient(135deg,#096c4a,#0ca56b 57%,#42bd89);color:#fff;box-shadow:0 20px 45px rgba(4,117,73,.17)}.premium-page-hero:before{content:"";position:absolute;right:-85px;top:-105px;width:260px;height:260px;border:42px solid rgba(255,255,255,.08);border-radius:50%}.premium-page-hero>div{position:relative;z-index:2}.premium-page-hero h1{margin:7px 0 5px;font-size:31px;line-height:1.1;letter-spacing:-.02em}.premium-page-hero p{margin:0;color:#dff8ed;font-size:11px}.premium-score-orb{position:relative;z-index:2;width:110px;height:110px;display:grid;place-items:center;align-content:center;flex:0 0 auto;border:1px solid rgba(255,255,255,.35);border-radius:34px;background:rgba(255,255,255,.16);backdrop-filter:blur(8px);box-shadow:inset 0 0 0 5px rgba(255,255,255,.04)}.premium-score-orb small,.premium-score-orb b,.premium-score-orb span{display:block}.premium-score-orb small{font-size:8px;font-weight:850;letter-spacing:.08em}.premium-score-orb b{font-size:34px;line-height:1.05}.premium-score-orb span{font-size:8px;color:#d7f4e7}.hero-mini-stat{position:relative;z-index:2;min-width:100px;padding:17px 20px;text-align:center;border:1px solid rgba(255,255,255,.3);border-radius:20px;background:rgba(255,255,255,.13)}.hero-mini-stat small,.hero-mini-stat b{display:block}.hero-mini-stat small{font-size:8px;color:#ddf6e9}.hero-mini-stat b{font-size:30px}.hero-edit-icon,.hero-lock-icon{position:relative;z-index:2;width:74px;height:74px;display:grid;place-items:center;border-radius:24px;background:rgba(255,255,255,.15);font-size:31px}
.premium-surface-card{padding:22px 24px;border:1px solid #ddeae4;border-radius:23px;background:#fff;box-shadow:0 11px 34px rgba(13,65,47,.045)}.premium-card-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}.premium-card-title>div{display:flex;align-items:center;gap:11px}.premium-page-icon{width:43px;height:43px;display:grid;place-items:center;flex:0 0 auto;border-radius:14px;background:#e9f8f1;color:#078754;font-size:16px;font-weight:900}.premium-card-title>div>div{display:grid}.premium-card-title b{font-size:13px}.premium-card-title small{margin-top:2px;color:var(--premium-muted);font-size:9px}.premium-filter-row{display:grid;grid-template-columns:minmax(250px,1fr) 190px;gap:10px}.premium-filter-row select{min-height:50px}.compact-button{min-height:50px}.semester-average-chip{min-width:74px;padding:8px 11px;display:grid;text-align:center;border-radius:13px;background:#edf9f3;color:#08764d}.semester-average-chip small{font-size:7px;font-weight:850}.semester-average-chip b{font-size:18px}.premium-table-wrap{border:1px solid #edf2ef;border-radius:16px;overflow:auto}.premium-table{min-width:680px}.premium-table th{padding:11px 12px;background:#f7fbf9;border-bottom-color:#e6efea;color:#60766e;font-size:9px}.premium-table td{padding:12px;border-bottom-color:#edf2ef;font-size:10.5px}.premium-table tbody tr:nth-child(even){background:#fcfefd}.premium-table tbody tr:hover{background:#f6fbf8}.table-index{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:#f0f6f3;color:#60766e;font-size:9px;font-weight:850}.score-chip{min-width:38px;padding:5px 8px;display:inline-grid;place-items:center;border-radius:9px;background:#e4f7ed;color:#08784e;font-weight:900}.table-detail-link{color:#08784e!important;font-size:9px;font-weight:850}.premium-data-update{margin-top:12px;text-align:right;color:#789088;font-size:8.5px}.status-good,.status-neutral{padding:5px 8px;border-radius:999px;font-size:8px;font-weight:850}.status-good{background:#e3f7ec;color:#08784e}.status-neutral{background:#f1f3f4;color:#65766f}
.premium-mobile-grade-list{display:none}.premium-grade-card{padding:15px;border:1px solid #dde9e3;border-radius:18px;background:#fff;box-shadow:0 7px 18px rgba(14,67,48,.035)}.premium-grade-top{display:flex;justify-content:space-between;gap:12px}.premium-grade-top>div{min-width:0}.premium-grade-top small{display:block;color:#789088;font-size:8px}.premium-grade-top b{display:block;margin-top:3px;font-size:11px;line-height:1.35}.premium-grade-top>span{width:46px;height:46px;display:grid;place-items:center;flex:0 0 auto;border-radius:14px;background:#e4f7ed;color:#08784e;font-weight:950}.premium-grade-metrics{margin-top:11px;padding-top:10px;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #edf2ef}.premium-grade-metrics>div{text-align:center;border-right:1px solid #edf2ef}.premium-grade-metrics>div:last-child{border-right:0}.premium-grade-metrics small,.premium-grade-metrics b{display:block}.premium-grade-metrics small{color:#7a8c85;font-size:7px}.premium-grade-metrics b{font-size:10px}.premium-grade-card>a{margin-top:11px;padding:8px;display:flex;justify-content:center;border-radius:10px;background:#f3faf6;color:#08784e!important;font-size:8.5px;font-weight:850}
.component-list-card{padding:10px 22px}.component-score-row{padding:14px 3px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #edf2ef}.component-score-row:last-child{border-bottom:0}.component-score-row>div{display:flex;gap:11px;align-items:center}.component-score-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:#eaf8f1;color:#078754}.component-score-row>div>div{display:grid}.component-score-row b{font-size:11px}.component-score-row small{color:#7a8d86;font-size:8.5px}.component-score-row strong{min-width:54px;height:44px;display:grid;place-items:center;border-radius:14px;background:#087e51;color:#fff;font-size:17px}
.profile-hero-card{padding:25px 28px;display:flex;gap:20px;align-items:center;border:1px solid #dceae3;border-radius:24px;background:linear-gradient(135deg,#fff,#f1faf6);box-shadow:0 10px 30px rgba(13,65,47,.04)}.profile-avatar-large{width:82px;height:82px;display:grid;place-items:center;flex:0 0 auto;border-radius:27px;background:linear-gradient(145deg,#08aa6b,#087a50);color:#fff;font-size:31px;font-weight:950;box-shadow:0 14px 25px rgba(0,142,87,.18)}.profile-hero-copy h1{margin:5px 0 3px;font-size:25px}.profile-hero-copy p{margin:0;color:#6d827a;font-size:10px}.profile-badges{margin-top:9px;display:flex;gap:7px;flex-wrap:wrap}.profile-badges span{padding:5px 8px;border-radius:999px;background:#e6f7ef;color:#08784e;font-size:7.5px;font-weight:850}.premium-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 22px}.premium-detail-grid>div{padding:13px 1px;border-bottom:1px solid #edf2ef}.premium-detail-grid small,.premium-detail-grid b{display:block}.premium-detail-grid small{color:#738981;font-size:8.5px}.premium-detail-grid b{margin-top:3px;font-size:11px;overflow-wrap:anywhere}.premium-detail-grid .span2{grid-column:span 2}
.profile-edit-form{display:grid;gap:16px}.premium-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 18px}.premium-form-grid>div{min-width:0}.premium-form-grid label{margin:0 0 6px;color:#3d5f52;font-size:9px;font-weight:850}.student-body .premium-form-grid input,.student-body .premium-form-grid textarea{min-height:46px;padding:10px 12px;border-radius:12px;font-size:11px}.premium-form-grid .span2{grid-column:span 2}.profile-edit-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px}.save-profile-button{width:auto;min-width:190px}.password-policy-banner{margin-bottom:20px;padding:13px 14px;display:flex;gap:11px;align-items:center;border:1px solid #d7eae0;border-radius:16px;background:#f5fbf8}.password-policy-banner>span{width:36px;height:36px;display:grid;place-items:center;flex:0 0 auto;border-radius:12px;background:#dff6ea;color:#08794e;font-weight:950}.password-policy-banner>div{display:grid}.password-policy-banner b{font-size:10px}.password-policy-banner small{color:#71867e;font-size:9px}.premium-password-rules{margin:2px 0 3px}.premium-password-card{padding:27px}
.dashboard-hero{position:relative;overflow:hidden;min-height:270px;padding:36px 40px;display:grid;grid-template-columns:minmax(0,1fr) 360px;align-items:center;border-radius:31px;background:linear-gradient(130deg,#075a40 0%,#078d59 48%,#19b779 100%);color:#fff;box-shadow:0 25px 55px rgba(3,111,69,.20)}.dashboard-hero:before{content:"";position:absolute;left:-100px;bottom:-160px;width:340px;height:340px;border:55px solid rgba(255,255,255,.06);border-radius:50%}.dashboard-hero-copy{position:relative;z-index:3}.dashboard-hero-copy h1{margin:9px 0 8px;font-size:38px;line-height:1.07;letter-spacing:-.03em}.dashboard-hero-copy h1 span{color:#d8ffeb}.dashboard-hero-copy>p{margin:0;color:#d9f6e9;font-size:12px}.dashboard-stat-row{margin-top:24px;display:grid;grid-template-columns:repeat(3,minmax(110px,1fr));gap:8px;max-width:620px}.dashboard-stat-row>div{padding:11px 13px;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:rgba(255,255,255,.09);backdrop-filter:blur(8px)}.dashboard-stat-row small,.dashboard-stat-row b{display:block}.dashboard-stat-row small{color:#c9eddd;font-size:7.5px;font-weight:800}.dashboard-stat-row b{margin-top:2px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-hero-visual{position:relative;z-index:3;height:220px}.dashboard-phone{position:absolute;left:90px;top:5px;width:135px;height:210px;padding:19px 15px;border:7px solid rgba(255,255,255,.8);border-radius:31px;background:linear-gradient(145deg,#f9fffc,#dff6ea);box-shadow:0 26px 43px rgba(0,62,40,.23);transform:rotate(7deg)}.dashboard-phone:before{content:"";position:absolute;top:7px;left:50%;width:42px;height:6px;transform:translateX(-50%);border-radius:99px;background:#aad9c4}.dashboard-phone span{display:grid;place-items:center;height:72px;margin-top:12px;border-radius:20px;background:#0b9b63;color:#fff;font-size:19px;font-weight:950}.dashboard-phone i{display:block;height:8px;margin:11px 3px;border-radius:99px;background:#b7dfcb}.dashboard-phone i:nth-of-type(2){width:70%}.dashboard-phone i:nth-of-type(3){width:50%}.dashboard-orbit{position:absolute;border:1px dashed rgba(255,255,255,.27);border-radius:50%}.orbit-a{inset:15px 15px 5px 15px;transform:rotate(-17deg)}.orbit-b{inset:38px -3px 25px 25px;transform:rotate(17deg)}.dashboard-floating-card{position:absolute;padding:8px 10px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:6px;border:1px solid rgba(255,255,255,.46);border-radius:13px;background:rgba(255,255,255,.91);color:#08764d;font-weight:950;box-shadow:0 12px 24px rgba(0,66,40,.13)}.dashboard-floating-card small{font-size:8px;color:#53766a}.card-a{left:12px;top:42px}.card-b{right:0;bottom:32px}.premium-section-block{margin-top:22px}.premium-section-head{margin-bottom:14px;display:flex;justify-content:space-between;align-items:flex-end;gap:18px}.premium-section-head h2{margin:3px 0 2px;font-size:22px}.premium-section-head p{margin:0;color:#738981;font-size:9px}.premium-section-badge{padding:7px 10px;border-radius:999px;background:#e5f7ee;color:#08784e;font-size:8px;font-weight:850}.premium-app-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.premium-app-card{position:relative;min-width:0;min-height:124px;padding:18px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;border:1px solid #dce8e2;border-radius:21px;background:#fff;box-shadow:0 8px 25px rgba(13,65,47,.04);transition:.17s ease}.premium-app-card:hover{transform:translateY(-3px);border-color:#b9decd;box-shadow:0 16px 34px rgba(13,65,47,.09)}.premium-app-icon{width:58px;height:58px;display:grid;place-items:center;flex:0 0 auto;border-radius:18px}.premium-app-icon img{width:29px;height:29px}.premium-app-card>div{min-width:0;display:grid}.premium-app-card b{font-size:11.5px}.premium-app-card small{margin-top:4px;color:#738981;font-size:8.5px}.premium-app-card em{font-style:normal;color:#a2b2ac;font-size:18px}.app-green .premium-app-icon{background:#e3f7ed}.app-blue .premium-app-icon{background:#e8f1ff}.app-purple .premium-app-icon{background:#f1eaff}.app-orange .premium-app-icon{background:#fff1e4}.app-slate .premium-app-icon{background:#eef3f5}.dashboard-security-banner{margin-top:15px;padding:14px 17px;display:flex;align-items:center;gap:12px;border:1px solid #d9e9e1;border-radius:18px;background:linear-gradient(135deg,#fbfefd,#f2faf6)}.dashboard-security-icon{width:39px;height:39px;display:grid;place-items:center;flex:0 0 auto;border-radius:13px;background:#dff6ea;color:#08794e;font-weight:950}.dashboard-security-banner>div{min-width:0;flex:1}.dashboard-security-banner b{font-size:10px}.dashboard-security-banner p{margin:2px 0 0;color:#71867e;font-size:8.5px}.dashboard-security-status{padding:6px 9px;border-radius:999px;background:#0b9c65;color:#fff;font-size:7px;font-weight:900;letter-spacing:.1em}

@media(max-width:1050px){.premium-auth-shell{grid-template-columns:1fr 1fr}.premium-auth-visual{padding:38px 36px}.premium-auth-form-panel{padding:46px 40px}.portal-login-illustration{width:270px}.recovery-shell{grid-template-columns:390px 1fr}.recovery-form-panel{padding:34px 30px}.dashboard-hero{grid-template-columns:1fr 300px}.premium-app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){
    .student-login-page .student-main-guest,.student-recovery-page .student-main-guest{padding:0 0 30px;width:100%}.student-recovery-page .student-main{padding-bottom:25px}.student-recovery-page .student-footer{padding-bottom:18px}.recovery-topbar .student-brand>span{display:none}
    .premium-auth-shell,.recovery-shell{display:block;min-height:0;border:0;border-radius:0;box-shadow:none}.premium-auth-visual{padding:24px 20px 26px;min-height:315px;border-radius:0 0 30px 30px}.premium-auth-logo{width:245px;margin:auto}.premium-watermark,.portal-login-illustration{display:none}.premium-auth-copy{text-align:center;margin:23px auto 0}.premium-auth-copy h1{font-size:29px}.premium-auth-copy p{font-size:10px}.premium-benefits{max-width:620px;width:100%;margin:20px auto 0}.premium-auth-form-panel{padding:29px 20px 38px}.premium-form-wrap{max-width:620px}.premium-form-heading h2{font-size:25px}
    .recovery-visual-panel{min-height:265px;padding:27px 24px 25px;border-radius:0 0 29px 29px}.recovery-watermark{top:20px;right:20px;left:auto;font-size:70px}.recovery-illustration{display:none}.recovery-visual-copy{margin-top:auto;text-align:center}.recovery-visual-copy h1{font-size:29px}.recovery-visual-copy p{font-size:10px;max-width:560px;margin:auto}.recovery-benefit-row{max-width:600px;width:100%;margin:18px auto 0}.recovery-student-chip{max-width:600px;width:100%;margin:18px auto 0}.recovery-form-panel{padding:28px 18px 35px}.recovery-stepper{max-width:680px;width:100%;margin:0 auto 22px}.recovery-form-card{max-width:680px;width:100%;margin:auto;padding:23px}.recovery-actions{max-width:680px;width:100%;margin:auto}.recovery-success-visual{display:none}
    .premium-inner-page{gap:13px}.premium-page-hero{min-height:150px;padding:23px;border-radius:22px}.premium-page-hero h1{font-size:25px}.premium-score-orb{width:87px;height:87px;border-radius:25px}.premium-score-orb b{font-size:27px}.premium-surface-card{padding:18px;border-radius:19px}.premium-mobile-grade-list{display:grid;gap:9px}.student-grade-desktop{display:none!important}.premium-table-wrap{border-radius:13px}.dashboard-hero{min-height:0;padding:26px 23px;display:block;border-radius:24px}.dashboard-hero-copy h1{font-size:30px}.dashboard-hero-visual{display:none}.premium-app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.premium-app-card{min-height:105px;padding:14px}.premium-app-icon{width:50px;height:50px;border-radius:16px}.premium-app-icon img{width:25px;height:25px}.premium-page-nav{min-height:36px}.premium-detail-grid,.premium-form-grid{grid-template-columns:1fr}.premium-detail-grid .span2,.premium-form-grid .span2{grid-column:auto}.profile-edit-actions{justify-content:stretch}.profile-edit-actions>a,.profile-edit-actions>button{flex:1}.save-profile-button{min-width:0}
}
@media(max-width:620px){
    .recovery-login-link{padding:8px 11px;font-size:9px}.recovery-topbar .student-brand img{width:184px;max-width:62vw}.premium-benefits{grid-template-columns:1fr;gap:6px}.premium-benefits>div{padding:10px 12px}.premium-auth-visual{min-height:280px}.premium-auth-copy h1{font-size:26px}.premium-auth-form-panel{padding:25px 16px 34px}.premium-form-heading{gap:11px}.premium-form-icon{width:45px;height:45px;border-radius:14px}.premium-form-heading h2{font-size:22px}.student-body .premium-input-wrap input{min-height:51px}.premium-primary-button{min-height:50px}
    .recovery-visual-panel{min-height:240px;padding:23px 17px}.recovery-visual-copy h1{font-size:27px}.recovery-benefit-row>div{padding:9px 4px}.recovery-benefit-row span{width:31px;height:31px}.recovery-stepper{grid-template-columns:auto 1fr auto 1fr auto 1fr auto;gap:4px}.recovery-step>span{width:30px;height:30px;font-size:10px}.recovery-step>b{font-size:7px}.recovery-stepper>i{margin-top:14px}.recovery-form-panel{padding:23px 13px 32px}.recovery-form-card{padding:18px 15px;border-radius:19px}.recovery-title-row{gap:10px}.recovery-title-icon{width:48px;height:48px;border-radius:15px}.recovery-title-row h2{font-size:20px}.recovery-info-box{padding:12px}.recovery-info-box ul{font-size:8.5px}.forgot-email-option{grid-template-columns:auto 1fr auto;gap:8px}.forgot-email-copy b{font-size:9.5px}.forgot-email-copy small{font-size:7px}.premium-otp-input{font-size:24px!important}.recovery-success-card h2{font-size:23px}
    .premium-page-nav{align-items:stretch;flex-direction:column}.premium-page-nav>.premium-soft-button,.premium-page-nav-actions{width:100%}.premium-page-nav-actions>a{flex:1}.premium-page-hero{padding:20px;min-height:135px}.premium-page-hero h1{font-size:21px}.premium-page-hero p{font-size:9px}.premium-score-orb{width:75px;height:75px;border-radius:21px}.premium-score-orb small{font-size:6px}.premium-score-orb b{font-size:23px}.premium-score-orb span{font-size:6px}.hero-mini-stat{min-width:78px;padding:12px}.hero-mini-stat b{font-size:23px}.premium-card-title{align-items:flex-start}.premium-card-title>.premium-soft-button{font-size:8px;min-height:35px}.premium-filter-row{grid-template-columns:1fr}.premium-surface-card{padding:15px}.premium-grade-metrics{grid-template-columns:repeat(4,1fr)}.dashboard-stat-row{grid-template-columns:repeat(3,1fr);gap:6px}.dashboard-stat-row>div{padding:9px 7px}.dashboard-stat-row small{font-size:6px}.dashboard-stat-row b{font-size:8.5px}.premium-section-head{align-items:flex-start}.premium-section-head h2{font-size:19px}.premium-section-badge{display:none}.premium-app-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.premium-app-card{min-height:118px;padding:13px 9px;display:flex;flex-direction:column;justify-content:center;text-align:center;gap:7px}.premium-app-card>em{display:none}.premium-app-icon{width:47px;height:47px}.premium-app-card b{font-size:9.5px}.premium-app-card small{font-size:7px}.dashboard-security-banner{align-items:flex-start}.dashboard-security-status{display:none}.profile-hero-card{padding:20px;display:block;text-align:center}.profile-avatar-large{width:70px;height:70px;margin:0 auto 13px;border-radius:22px}.profile-badges{justify-content:center}.premium-detail-grid{grid-template-columns:1fr}.premium-detail-grid .span2{grid-column:auto}.premium-form-grid{grid-template-columns:1fr}.premium-form-grid .span2{grid-column:auto}.profile-edit-actions{flex-direction:column-reverse}.profile-edit-actions>a,.profile-edit-actions>button{width:100%}.component-score-row strong{min-width:47px}.hero-edit-icon,.hero-lock-icon{width:57px;height:57px;border-radius:18px;font-size:23px}
}
@media(max-width:400px){.recovery-step>b{display:none}.premium-app-grid{grid-template-columns:repeat(2,1fr)}.dashboard-hero-copy h1{font-size:26px}.premium-page-hero{align-items:flex-start}.premium-score-orb,.hero-mini-stat{align-self:center}}

/* =========================================================
   Ver.11 - Gmail / Outlook OTP + student-defined reset password
   ========================================================= */
.mail-setup-card select{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:12px;padding:12px 13px;font:inherit;background:#fff}.mail-setup-card select:focus{outline:2px solid #bfdbfe;border-color:#2563eb}.mail-provider-cards{display:grid;gap:12px}.mail-provider-card{display:grid;gap:6px;padding:15px;border:1px solid #e2e8f0;border-radius:15px;background:linear-gradient(135deg,#f8fafc,#fff)}.mail-provider-card>b{color:#0f5132}.mail-provider-card>span{font-size:12px;color:#475569}.mail-provider-card>small{margin-top:4px;color:#64748b;line-height:1.55}.mail-test-card{margin-top:18px}.mail-test-form{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px!important}.mail-test-form>div{display:grid;gap:7px}.mail-test-form .btn{min-height:45px}.recovery-stepper-five{grid-template-columns:auto 1fr auto 1fr auto 1fr auto 1fr auto}.password-rules-box{margin-bottom:5px!important}
@media(max-width:900px){.mail-test-form{grid-template-columns:1fr}.mail-test-form .btn{width:100%}}
@media(max-width:620px){.recovery-stepper-five{grid-template-columns:auto 1fr auto 1fr auto 1fr auto 1fr auto;gap:3px}.recovery-stepper-five .recovery-step>b{font-size:6.4px}.recovery-stepper-five>i{margin-top:14px}}
@media(max-width:430px){.recovery-stepper-five .recovery-step>b{display:none}}

/* =========================================================
   Ver.12 - Mail setup visible save state + masked credential list
   ========================================================= */
.mail-setup-head{margin-bottom:16px}.mail-setup-result{display:flex;align-items:flex-start;gap:12px;margin:0 0 18px;padding:15px 17px;border-radius:15px;border:1px solid}.mail-setup-result.is-ok{background:#ecfdf3;border-color:#abefc6;color:#067647}.mail-setup-result.is-error{background:#fff4f2;border-color:#fecdca;color:#b42318}.mail-setup-result-icon{width:30px;height:30px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;font-weight:900;background:rgba(255,255,255,.75);border:1px solid currentColor}.mail-setup-result div{display:grid;gap:2px}.mail-setup-result b{font-size:14px}.mail-setup-result span{font-size:13px;line-height:1.55}.mail-current-config{margin-bottom:18px;border-color:#bbdfca;background:linear-gradient(135deg,#ffffff 0%,#f2fbf6 100%)}.mail-current-config-title,.mail-test-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.mail-current-config-title h2,.mail-test-heading h2{margin:3px 0 0}.mail-encrypted-badge{display:inline-flex;align-items:center;gap:5px;border:1px solid #a9d8bd;background:#eaf8f0;color:#137347;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:850}.mail-config-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:16px}.mail-config-list>div{min-width:0;padding:13px 14px;border:1px solid #dbe9e1;border-radius:13px;background:#fff}.mail-config-list small,.mail-config-list b,.mail-config-list em{display:block}.mail-config-list small{color:#64748b;font-size:11px;margin-bottom:4px}.mail-config-list b{font-size:13px;overflow-wrap:anywhere}.mail-config-list em{margin-top:3px;color:#168053;font-size:10px;font-style:normal;font-weight:700}.masked-password{font-family:Consolas,"Courier New",monospace;letter-spacing:2px}.mail-setup-grid{align-items:start}.mail-password-row{position:relative}.mail-save-button,.mail-test-button{min-height:48px!important;padding-left:18px!important;padding-right:18px!important;font-size:14px}.mail-save-button{width:100%;margin-top:8px;background:linear-gradient(135deg,#1557b0,#0d438d)!important;box-shadow:0 8px 18px rgba(21,87,176,.18)}.mail-test-heading{margin-bottom:12px}.mail-test-heading p{margin:5px 0 0}.mail-test-button{background:linear-gradient(135deg,#078b57,#056b44)!important;border-color:#056b44!important;box-shadow:0 8px 18px rgba(5,107,68,.18)}.validation-summary:empty{display:none}.validation-summary ul{margin:0 0 8px;padding-left:20px}
@media(max-width:1050px){.mail-config-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.mail-current-config-title,.mail-test-heading{flex-direction:column}.mail-config-list{grid-template-columns:1fr}.mail-test-heading .status-pill{align-self:flex-start}}

/* Ver13 - mail setup validation visibility */
.mail-validation-summary:empty{display:none}
.mail-validation-summary:not(:empty){display:block;margin:0 0 16px;padding:12px 14px;border:1px solid #fecaca;border-radius:14px;background:#fff1f2;color:#991b1b;font-weight:700}
.mail-validation-summary ul{margin:0;padding-left:20px}
.mail-validation-summary li+li{margin-top:6px}
.mail-setup-card .validation.field-validation-error{display:block;margin-top:6px;color:#b91c1c;font-weight:700;font-size:.9rem}
.mail-setup-card input.input-validation-error,.mail-setup-card select.input-validation-error{border-color:#ef4444!important;box-shadow:0 0 0 3px rgba(239,68,68,.12)!important}


/* =========================================================
   Ver.14 - OTP visibility reminders + prominent forgot password
   ========================================================= */
.premium-label-row .forgot-password-attention{position:relative;display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border:1px solid rgba(0,165,106,.32);border-radius:999px;background:linear-gradient(135deg,#effcf6,#dff8eb);color:#05764b!important;font-size:13px;font-weight:950;line-height:1;box-shadow:0 6px 17px rgba(0,146,89,.10);text-decoration:none;transform-origin:center;animation:forgotPasswordPulse 1.7s ease-in-out infinite}
.premium-label-row .forgot-password-attention span{font-size:14px;filter:saturate(.9)}
.premium-label-row .forgot-password-attention:hover{background:linear-gradient(135deg,#e2f9ed,#c9f1dd);border-color:#40bc88;box-shadow:0 9px 23px rgba(0,146,89,.18);animation-play-state:paused;transform:translateY(-1px)}
@keyframes forgotPasswordPulse{0%,100%{box-shadow:0 6px 17px rgba(0,146,89,.10),0 0 0 0 rgba(0,165,106,.22);transform:scale(1)}50%{box-shadow:0 8px 22px rgba(0,146,89,.17),0 0 0 7px rgba(0,165,106,0);transform:scale(1.035)}}
.otp-mailbox-reminder{margin:0 0 17px;padding:13px 15px;display:flex;align-items:flex-start;gap:11px;border:1px solid #b9ddf6;border-radius:16px;background:linear-gradient(135deg,#f2f9ff,#f7fcff);color:#315d8d;box-shadow:0 8px 22px rgba(45,116,214,.06)}
.otp-mailbox-reminder>span{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border-radius:12px;background:#e1f1ff;font-size:19px}
.otp-mailbox-reminder>div{min-width:0}.otp-mailbox-reminder b{display:block;margin:1px 0 3px;font-size:11px}.otp-mailbox-reminder p{margin:0;font-size:10px;line-height:1.6;color:#476d96}.otp-mailbox-reminder strong{color:#174f88}.otp-mailbox-reminder.compact-reminder{margin:13px 0 0;background:linear-gradient(135deg,#fffdf2,#fff9dd);border-color:#f1d889;color:#795d08;box-shadow:0 8px 20px rgba(152,113,0,.05)}.otp-mailbox-reminder.compact-reminder>span{background:#fff2b8}.otp-mailbox-reminder.compact-reminder p{color:#7a671d}.otp-mailbox-reminder.compact-reminder strong{color:#5d4700}
@media(max-width:620px){.premium-label-row .forgot-password-attention{padding:7px 9px;font-size:12px}.otp-mailbox-reminder{padding:11px 12px}.otp-mailbox-reminder>span{width:34px;height:34px}.otp-mailbox-reminder p{font-size:9px}}
@media(prefers-reduced-motion:reduce){.premium-label-row .forgot-password-attention{animation:none}}

/* Ver.15 - recovery Gmail profile + missing portal account fallback */
.dashboard-recovery-email-alert{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;margin:0 0 24px;padding:20px 22px;border:1px solid rgba(245,158,11,.38);border-radius:22px;background:linear-gradient(135deg,#fffdf3 0%,#fff8df 56%,#f1fff8 100%);box-shadow:0 14px 34px rgba(16,61,49,.08)}
.dashboard-recovery-email-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:linear-gradient(145deg,#f59e0b,#f97316);color:#fff;font-size:25px;box-shadow:0 10px 20px rgba(245,158,11,.22)}
.dashboard-recovery-email-copy{min-width:0}.dashboard-recovery-email-copy h2{margin:4px 0 5px;font-size:20px;color:#18392f}.dashboard-recovery-email-copy p{margin:0;color:#61766f;line-height:1.55}.dashboard-recovery-email-copy strong{color:#0c8058;word-break:break-word}
.dashboard-recovery-email-button{display:inline-flex;align-items:center;gap:10px;justify-content:center;min-height:46px;padding:0 18px;border-radius:14px;background:#0aa56b;color:#fff;text-decoration:none;font-weight:800;white-space:nowrap;box-shadow:0 9px 20px rgba(10,165,107,.18)}.dashboard-recovery-email-button:hover{transform:translateY(-1px);filter:brightness(.98)}
.recovery-email-page{max-width:1160px;margin:0 auto;padding:8px 0 28px}.recovery-email-head{display:flex;align-items:flex-start;gap:22px;margin-bottom:20px}.recovery-email-head>div{flex:1}.recovery-email-head h1{margin:3px 0 5px;font-size:30px;color:#153b31}.recovery-email-head p{margin:0;color:#6c7e79}
.recovery-email-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.otp-single-grid{grid-template-columns:minmax(0,760px);justify-content:center}.recovery-email-card{position:relative;padding:22px;border-radius:22px;border:1px solid #dfece7;background:#fff;box-shadow:0 14px 36px rgba(22,69,55,.08)}.recovery-email-card.identity-card{grid-column:1/-1;display:flex;align-items:center;gap:16px;background:linear-gradient(135deg,#effcf6,#fff)}
.recovery-email-card-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:17px;background:#e2f8ee;font-size:24px}.recovery-email-card small{display:block;color:#0d9b67;font-size:11px;font-weight:900;letter-spacing:.08em}.recovery-email-card h2{margin:4px 0 3px;font-size:20px;color:#173d32}.recovery-email-card p{margin:6px 0;color:#687b75;line-height:1.55}.recovery-email-state{margin-left:auto;padding:8px 11px;border-radius:999px;font-size:11px;font-weight:900}.recovery-email-state.ok{background:#def8eb;color:#078151}.recovery-email-state.warn{background:#fff0cd;color:#a76200}
.recovery-email-card-title{display:flex;gap:13px;align-items:center}.recovery-email-card-title>span{display:grid;place-items:center;width:45px;height:45px;border-radius:15px;background:#e8faf2;color:#059c65;font-size:20px;font-weight:900}.recovery-email-confirmed{margin:15px 0 0;padding:13px 14px;border-radius:14px;background:#e9fbf2;color:#11704f;font-weight:700;line-height:1.5}.recovery-email-confirmed.pending{background:#fff7dd;color:#8a5e05}.recovery-confirm-button{margin-top:14px}
.recovery-email-old-new{display:grid;grid-template-columns:auto 1fr auto auto;gap:8px 10px;align-items:center;margin:14px 0;padding:12px 14px;border-radius:14px;background:#f7faf9;color:#61736d}.recovery-email-old-new>b{color:#1b4b3d;word-break:break-word}.recovery-email-old-new>i{font-style:normal;color:#0aa56b;font-weight:900}.recovery-email-form{margin-top:14px}.forgot-fallback-notice{margin:16px 0;padding:15px 16px;border:1px solid #f4c95d;border-radius:16px;background:#fff9e7;color:#72520d;line-height:1.55}.forgot-fallback-notice>b{display:block;margin-bottom:5px;color:#925f00}.forgot-fallback-notice p{margin:0}.missing-portal-result .button-link{margin-top:16px;text-decoration:none;display:flex}
@media (max-width:800px){.dashboard-recovery-email-alert{grid-template-columns:auto 1fr}.dashboard-recovery-email-button{grid-column:1/-1;width:100%}.recovery-email-grid{grid-template-columns:1fr}.recovery-email-card.identity-card{grid-column:auto}.recovery-email-head{flex-direction:column}.recovery-email-old-new{grid-template-columns:1fr}.recovery-email-old-new>i{transform:rotate(90deg);justify-self:start}.recovery-email-state{margin-left:0}.recovery-email-card.identity-card{align-items:flex-start;flex-wrap:wrap}}

/* =========================================================
   Ver.16 - Admin accounts + menu permissions
   ========================================================= */
.admin-sidebar-v16{display:flex;flex-direction:column;padding:18px 14px}.admin-brand-v16{padding:4px 4px 0;margin-bottom:22px!important}.admin-menu-caption{padding:0 12px 7px;color:#6f8099;font-size:10px;font-weight:800;letter-spacing:.13em}.admin-menu-v16{display:grid;gap:4px}.admin-menu-v16>a,.admin-submenu-v16>a,.admin-sidebar-v16 .sidebar-logout{display:flex;align-items:center;gap:10px;min-height:43px;padding:9px 10px;border-radius:11px;color:#dce5f2}.admin-menu-v16>a:hover,.admin-submenu-v16>a:hover,.admin-menu-v16>a.active,.admin-submenu-v16>a.active{background:#1c2b45;text-decoration:none;color:#fff}.admin-menu-v16>a.active{box-shadow:inset 3px 0 0 #2f82db}.admin-menu-icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:9px;background:rgba(255,255,255,.07);font-size:10px;font-weight:800;color:#d8e7fa}.admin-menu-v16>a.active .admin-menu-icon{background:#1f6fc5;color:#fff}.admin-submenu-v16{display:grid;gap:2px;margin:1px 0 3px 16px}.admin-submenu-v16>a{min-height:36px;font-size:13px}.admin-sidebar-bottom{margin-top:auto;padding-top:16px;border-top:1px solid rgba(255,255,255,.08)}.admin-sidebar-v16 .sidebar-logout{padding:8px 10px}.admin-menu-error{margin:12px 4px;padding:10px;border:1px solid rgba(255,194,102,.25);border-radius:10px;background:rgba(255,174,57,.08);color:#ffd69a;font-size:11px;line-height:1.5}.admin-dashboard-v16{grid-template-columns:repeat(3,minmax(0,1fr))}
.admin-users-head{align-items:flex-end}.admin-user-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px;padding:15px}.admin-user-summary>div{padding:13px 15px;border:1px solid #e4eaf2;border-radius:13px;background:#f8fafc}.admin-user-summary small{display:block;color:#64748b;font-size:11px;font-weight:700}.admin-user-summary b{display:block;margin-top:3px;font-size:26px}.admin-table-card{padding:0;overflow:hidden}.admin-user-table th{white-space:nowrap}.admin-row-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.admin-delete-button{border-color:#fecaca!important;color:#b42318!important;background:#fff!important}.admin-pill{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}.admin-pill-green{background:#dcfce7;color:#166534}.admin-pill-gray{background:#eef2f6;color:#64748b}.admin-pill-blue{background:#eaf2ff;color:#1557b0}.admin-pill-purple{background:#f2eafe;color:#6d28d9}.admin-user-form-card{max-width:1040px}.admin-form-grid-v16{gap:10px 22px}.admin-form-note{display:grid;gap:4px;margin:22px 0 0;padding:14px 16px;border:1px solid #d9e7f5;border-radius:13px;background:#f7fbff}.admin-form-note b{font-size:12px;color:#164d87}.admin-form-note span{font-size:12px;color:#5c6f85}.admin-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:20px}.permission-user-picker{margin-bottom:18px}.permission-user-picker form{display:grid;grid-template-columns:minmax(280px,1fr) auto;align-items:end;gap:12px}.permission-user-picker label{margin-top:0}.permission-card-v16{padding:22px}.permission-card-head{display:flex;justify-content:space-between;gap:16px;align-items:center;padding-bottom:15px;border-bottom:1px solid #edf1f5}.permission-card-head small{display:block;color:#64748b;font-size:10px;font-weight:800;letter-spacing:.1em}.permission-card-head h2{margin:4px 0 0}.permission-grid-v16{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.permission-menu-item{border:1px solid #e1e7ef;border-radius:14px;background:#fff;overflow:hidden}.permission-menu-item>label{position:relative;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:11px;margin:0;padding:14px;cursor:pointer}.permission-menu-item input[type=checkbox]{position:absolute;opacity:0;pointer-events:none}.permission-check-ui{display:grid;place-items:center;width:24px;height:24px;border:2px solid #c8d2df;border-radius:7px;background:#fff}.permission-menu-item input:checked + .permission-check-ui{border-color:#1557b0;background:#1557b0}.permission-menu-item input:checked + .permission-check-ui:after{content:'✓';color:#fff;font-size:14px;font-weight:900}.permission-menu-copy{min-width:0;display:grid}.permission-menu-copy b{font-size:13px}.permission-menu-copy small{margin-top:2px;color:#7b8796;font-size:10px;word-break:break-all}.permission-children-v16{display:grid;gap:7px;padding:0 14px 13px 49px}.permission-children-v16 label{display:flex;align-items:center;gap:7px;margin:0;font-size:12px;font-weight:500}.permission-children-v16 input{position:static!important;opacity:1!important;pointer-events:auto!important;width:auto}.permission-actions-v16{justify-content:space-between;padding-top:15px;border-top:1px solid #edf1f5}.permission-actions-v16>span{max-width:650px;color:#64748b;font-size:11px}.admin-permission-empty{text-align:center;padding:42px 20px}.admin-permission-empty-icon{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 12px;border-radius:16px;background:#eaf2ff;color:#1557b0;font-size:23px;font-weight:900}.admin-permission-empty h2{margin:0 0 7px}.admin-permission-empty p{margin:0;color:#64748b}
@media(max-width:1050px){.admin-dashboard-v16{grid-template-columns:repeat(2,minmax(0,1fr))}.permission-grid-v16{grid-template-columns:1fr}}
@media(max-width:900px){.admin-sidebar-v16{display:block}.admin-sidebar-bottom{margin-top:12px}.admin-user-summary{grid-template-columns:1fr}.permission-user-picker form{grid-template-columns:1fr}.admin-form-actions,.permission-actions-v16{align-items:stretch;flex-direction:column}.admin-form-actions .btn,.permission-actions-v16 .btn{width:100%}.admin-dashboard-v16{grid-template-columns:1fr}}
.permission-always-on{background:#f8fafc;cursor:default!important}.permission-always-on .permission-menu-copy small{color:#0f766e}.permission-always-on .permission-check-ui{border-color:#16a34a!important;background:#16a34a!important}.permission-always-on .permission-check-ui:after{content:'✓';color:#fff;font-size:14px;font-weight:900}
