.re-portal-shell,.re-dashboard{--re-gold:#c78b2b;--re-gold-light:#e4b65d;--re-bg:#111;--re-card:#191919;--re-text:#f5f1e9;--re-muted:#cfc9bf;--re-border:rgba(199,139,43,.4);font-family:Roboto,Arial,sans-serif;color:var(--re-text);box-sizing:border-box}.re-portal-shell *,.re-dashboard *{box-sizing:border-box}.re-portal-shell{padding:56px 18px;background:#111}.re-login-card{width:min(520px,100%);margin:0 auto;padding:36px;border:1px solid var(--re-border);border-radius:14px;background:#181818;box-shadow:0 20px 60px rgba(0,0,0,.3)}.re-eyebrow{color:var(--re-gold);font-size:12px;font-weight:700;letter-spacing:2px;text-transform:uppercase}.re-login-card h2,.re-dashboard h1,.re-dashboard h2,.re-dashboard h3{font-family:"Times New Roman",Times,serif}.re-login-card h2{margin:6px 0 10px;font-size:38px;color:#fff}.re-login-card p{color:var(--re-muted);line-height:1.6}.re-login-form{display:grid;gap:16px;margin-top:24px}.re-login-form label{display:grid;gap:7px;color:#fff;font-size:13px;font-weight:700}.re-login-form input{width:100%;padding:13px 14px;border:1px solid var(--re-border);border-radius:7px;background:#101010;color:#fff;outline:none}.re-login-form input:focus{border-color:var(--re-gold)}.re-btn{display:inline-flex;min-height:48px;align-items:center;justify-content:center;padding:12px 20px;border:1px solid #e4b65d;border-radius:6px;background:linear-gradient(135deg,#e8bd66,#c88722);color:#171007!important;font-weight:800;text-decoration:none!important;cursor:pointer}.re-alert{margin-top:16px;padding:10px 12px;border:1px solid rgba(255,120,120,.4);border-radius:6px;background:rgba(160,30,30,.12);color:#ffd7d7}.re-dashboard{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:760px;background:#111;border:1px solid var(--re-border);border-radius:14px;overflow:hidden}.re-dashboard-side{padding:28px 20px;background:#151515;border-right:1px solid var(--re-border)}.re-dashboard-brand{color:var(--re-gold-light);font-family:"Times New Roman",Times,serif;font-size:21px;font-weight:700;text-align:center}.re-student-avatar{width:74px;height:74px;display:grid;place-items:center;margin:24px auto 12px;border-radius:50%;background:linear-gradient(135deg,#e8bd66,#a96814);color:#181109;font-size:30px;font-weight:900}.re-dashboard-side h3{margin:0;text-align:center;color:#fff}.re-student-id{margin:6px 0 22px;color:var(--re-muted);font-size:12px;text-align:center}.re-dashboard-side nav{display:grid;gap:5px}.re-dashboard-side nav a,.re-logout{padding:10px 12px;border-radius:6px;color:#eee!important;text-decoration:none!important;font-size:13px}.re-dashboard-side nav a:hover{background:rgba(199,139,43,.12);color:var(--re-gold-light)!important}.re-logout{display:block;margin-top:18px;border:1px solid rgba(199,139,43,.28);text-align:center}.re-dashboard-main{padding:30px}.re-dashboard-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:30px;border:1px solid var(--re-border);border-radius:12px;background:radial-gradient(circle at top right,rgba(199,139,43,.12),transparent 48%),#181818}.re-dashboard-hero span{color:var(--re-gold);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px}.re-dashboard-hero h1{margin:5px 0 6px;color:#fff;font-size:42px}.re-dashboard-hero p{margin:0;color:var(--re-muted)}.re-level-badge{padding:10px 14px;border:1px solid var(--re-border);border-radius:999px;color:var(--re-gold-light);font-weight:700}.re-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.re-info-grid article{padding:18px;border:1px solid var(--re-border);border-radius:9px;background:#181818}.re-info-grid span,.re-profile-grid span{display:block;margin-bottom:6px;color:var(--re-muted);font-size:11px;text-transform:uppercase;letter-spacing:.8px}.re-info-grid strong,.re-profile-grid strong{color:#fff}.re-dashboard-panel{margin-top:18px;padding:24px;border:1px solid var(--re-border);border-radius:10px;background:#181818}.re-dashboard-panel h2{margin:0 0 16px;color:#fff;font-size:28px}.re-empty-state{padding:20px;border:1px dashed rgba(199,139,43,.28);border-radius:8px;color:var(--re-muted)}.re-empty-state strong{color:var(--re-gold-light)}.re-empty-state p{margin:5px 0 0}.re-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.re-profile-grid>div{padding:15px;border:1px solid rgba(199,139,43,.2);border-radius:7px;background:#141414}@media(max-width:900px){.re-dashboard{grid-template-columns:1fr}.re-dashboard-side{border-right:0;border-bottom:1px solid var(--re-border)}.re-dashboard-side nav{grid-template-columns:repeat(2,1fr)}.re-info-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.re-login-card{padding:26px 18px}.re-dashboard-main{padding:14px}.re-dashboard-hero{align-items:flex-start;flex-direction:column;padding:22px}.re-dashboard-hero h1{font-size:34px}.re-info-grid,.re-profile-grid{grid-template-columns:1fr}.re-dashboard-side nav{grid-template-columns:1fr 1fr}.re-dashboard-panel{padding:18px}.re-dashboard-panel h2{font-size:24px}}

/* v0.2.0 — Class Schedule Module */
.re-info-grid strong,.re-profile-grid strong{overflow-wrap:anywhere;word-break:break-word}
.re-panel-heading-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.re-panel-heading-row h2{margin:0}.re-count-badge{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 10px;border:1px solid var(--re-border);border-radius:999px;color:var(--re-gold-light);font-size:11px;font-weight:700;white-space:nowrap}.re-schedule-list{display:grid;gap:12px}.re-schedule-item{display:grid;grid-template-columns:76px minmax(0,1fr);gap:16px;padding:16px;border:1px solid rgba(199,139,43,.28);border-radius:9px;background:#141414}.re-schedule-item.is-past{opacity:.72}.re-schedule-datebox{display:flex;min-height:78px;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--re-border);border-radius:8px;background:linear-gradient(145deg,rgba(228,182,93,.12),rgba(199,139,43,.03));text-align:center}.re-schedule-datebox span{color:var(--re-gold-light);font-size:11px;font-weight:800;letter-spacing:1.2px}.re-schedule-datebox strong{margin-top:2px;color:#fff;font-size:28px;line-height:1}.re-schedule-details{min-width:0}.re-schedule-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.re-schedule-title-row h3{margin:0;color:#fff;font-size:20px}.re-schedule-status{display:inline-flex;padding:5px 9px;border:1px solid rgba(199,139,43,.28);border-radius:999px;color:var(--re-gold-light);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}.re-schedule-meta{display:flex;flex-wrap:wrap;gap:7px;margin:7px 0 0;color:var(--re-muted);font-size:12px;line-height:1.5}.re-schedule-meta strong{color:#fff}.re-schedule-location{margin:8px 0 0;color:#ddd;font-size:12px}.re-schedule-location a{color:var(--re-gold-light)!important;text-decoration:none!important}.re-schedule-location a:hover{text-decoration:underline!important}.re-schedule-notes{margin:9px 0 0;color:var(--re-muted);font-size:13px;line-height:1.55}.re-small-btn{display:inline-flex;min-height:34px;align-items:center;justify-content:center;margin-top:11px;padding:7px 11px;border:1px solid var(--re-border);border-radius:5px;background:rgba(199,139,43,.08);color:var(--re-gold-light)!important;font-size:11px;font-weight:800;text-decoration:none!important}.re-small-btn:hover{border-color:var(--re-gold);background:rgba(199,139,43,.14)}
@media(max-width:600px){.re-panel-heading-row{align-items:flex-start}.re-schedule-item{grid-template-columns:58px minmax(0,1fr);gap:10px;padding:12px}.re-schedule-datebox{min-height:62px}.re-schedule-datebox strong{font-size:22px}.re-schedule-title-row{flex-direction:column;gap:7px}.re-schedule-title-row h3{font-size:18px}.re-schedule-meta{gap:5px}.re-count-badge{font-size:10px}}


/* v0.3.0 — Attendance Module */
.re-attendance-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px}.re-attendance-stats article{padding:14px;border:1px solid rgba(199,139,43,.24);border-radius:8px;background:#141414}.re-attendance-stats span{display:block;margin-bottom:6px;color:var(--re-muted);font-size:10px;text-transform:uppercase;letter-spacing:.7px}.re-attendance-stats strong{color:#fff;font-size:22px}.re-attendance-excused-note{margin:0 0 14px;padding:9px 11px;border:1px solid rgba(199,139,43,.2);border-radius:7px;background:rgba(199,139,43,.05);color:var(--re-muted);font-size:11px;line-height:1.5}.re-attendance-list{display:grid;gap:10px}.re-attendance-row{display:grid;grid-template-columns:62px minmax(0,1fr);gap:13px;padding:13px;border:1px solid rgba(199,139,43,.24);border-radius:8px;background:#141414}.re-attendance-date{display:flex;min-height:64px;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--re-border);border-radius:7px;background:linear-gradient(145deg,rgba(228,182,93,.1),rgba(199,139,43,.02));text-align:center}.re-attendance-date span{color:var(--re-gold-light);font-size:10px;font-weight:800;letter-spacing:1px}.re-attendance-date strong{margin-top:2px;color:#fff;font-size:23px;line-height:1}.re-attendance-info{min-width:0}.re-attendance-row-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.re-attendance-row-head>strong{color:#fff;font-size:13px}.re-attendance-chip{display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.4px;white-space:nowrap}.re-attendance-present{border:1px solid rgba(74,222,128,.38);background:rgba(34,197,94,.1);color:#86efac}.re-attendance-absent{border:1px solid rgba(248,113,113,.38);background:rgba(239,68,68,.1);color:#fca5a5}.re-attendance-late{border:1px solid rgba(250,204,21,.38);background:rgba(234,179,8,.1);color:#fde68a}.re-attendance-excused{border:1px solid rgba(167,139,250,.38);background:rgba(139,92,246,.1);color:#c4b5fd}.re-attendance-teacher,.re-attendance-note{margin:6px 0 0;color:var(--re-muted);font-size:12px;line-height:1.5}.re-attendance-note{color:#ddd}@media(max-width:900px){.re-attendance-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.re-attendance-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.re-attendance-stats article:last-child{grid-column:1 / -1}.re-attendance-row{grid-template-columns:52px minmax(0,1fr);gap:9px;padding:10px}.re-attendance-date{min-height:56px}.re-attendance-date strong{font-size:20px}.re-attendance-row-head{align-items:flex-start;flex-direction:column;gap:6px}.re-attendance-chip{font-size:9px}}

/* v0.4.0 — Class Notes & Homework Module */
.re-note-list{display:grid;gap:12px}.re-note-item{display:grid;grid-template-columns:76px minmax(0,1fr);gap:16px;padding:16px;border:1px solid rgba(199,139,43,.28);border-radius:9px;background:#141414}.re-note-datebox{display:flex;min-height:78px;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--re-border);border-radius:8px;background:linear-gradient(145deg,rgba(228,182,93,.12),rgba(199,139,43,.03));text-align:center}.re-note-datebox span{color:var(--re-gold-light);font-size:11px;font-weight:800;letter-spacing:1.2px}.re-note-datebox strong{margin-top:2px;color:#fff;font-size:28px;line-height:1}.re-note-content{min-width:0}.re-note-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.re-note-head h3{margin:0;color:#fff;font-size:20px}.re-note-meta{margin:6px 0 0;color:var(--re-muted);font-size:12px;line-height:1.5}.re-note-block{margin-top:12px;padding:12px;border:1px solid rgba(199,139,43,.18);border-radius:8px;background:#181818}.re-note-block span{display:block;margin-bottom:6px;color:var(--re-gold-light);font-size:11px;font-weight:800;letter-spacing:.7px;text-transform:uppercase}.re-note-block p{margin:0;color:#e7e0d2;font-size:13px;line-height:1.65}.re-note-homework{background:rgba(199,139,43,.05)}@media(max-width:600px){.re-note-item{grid-template-columns:58px minmax(0,1fr);gap:10px;padding:12px}.re-note-datebox{min-height:62px}.re-note-datebox strong{font-size:22px}.re-note-head{flex-direction:column;gap:7px}.re-note-head h3{font-size:18px}}
