.dashboard-shell { width: min(1120px,calc(100% - 2rem)); margin: 2rem auto 4rem; }
.dashboard-welcome { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.dashboard-welcome h1 { margin: .4rem 0; color: #f8fafc; font-size: clamp(2rem,5vw,3rem); }
.dashboard-welcome p,.dashboard-panel p { color: #94a3b8; line-height: 1.65; }
.student-badge { padding: .6rem .9rem; border: 1px solid #60a5fa; border-radius: 999px; background: rgba(37,99,235,.16); color: #bfdbfe; font-weight: 800; white-space: nowrap; }
.dashboard-status { min-height: 1.5rem; color: #bfdbfe; }
.dashboard-status.is-error { color: #fca5a5; }
.dashboard-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin: 1rem 0; }
.dashboard-panel { margin: 1rem 0; padding: clamp(1.1rem,3vw,1.6rem); border: 1px solid rgba(148,163,184,.2); border-radius: 1rem; background: rgba(15,23,42,.86); color: #e2e8f0; box-shadow: 0 15px 40px rgba(0,0,0,.18); }
.dashboard-panel h2,.dashboard-senior-card h2 { margin: .4rem 0; color: #f8fafc; font-size: 1.35rem; }
.profile-details { display: grid; gap: .65rem; margin-top: 1rem; }
.profile-details div { display: flex; justify-content: space-between; gap: 1rem; }
.profile-details dt { color: #94a3b8; }
.profile-details dd { margin: 0; color: #f8fafc; text-align: right; overflow-wrap: anywhere; }
.batch-registration-list { display: grid; gap: .65rem; margin-top: 1rem; }
.batch-registration-item { padding: .7rem; border: 1px solid #334155; border-radius: .6rem; }
.batch-registration-item strong,.batch-registration-item small { display: block; }
.batch-registration-item small { margin-top: .25rem; color: #94a3b8; }
.dashboard-retry-whatsapp { margin-top: .65rem; padding: .5rem .65rem; border: 1px solid #475569; border-radius: .5rem; background: transparent; color: #bfdbfe; font: inherit; font-size: .82rem; cursor: pointer; }
.dashboard-retry-whatsapp:disabled { opacity: .6; cursor: wait; }
.score-number { display: flex; align-items: baseline; gap: .25rem; margin-top: 1rem; color: #f8fafc; }
.score-number strong { font-size: 3rem; }
.score-number span { color: #94a3b8; }
.score-track { height: .65rem; overflow: hidden; border-radius: 999px; background: #1e293b; }
.score-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: #00e676; transition: width .3s ease; }
.upgrade-panel,.dashboard-senior-card { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem; border: 1px solid rgba(0,102,255,.5); border-radius: 1rem; background: #111622; color: #e2e8f0; }
.dashboard-section-heading { margin-bottom: 1rem; }
.diagnostic-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.diagnostic-form label { display: grid; gap: .5rem; color: #cbd5e1; }
.diagnostic-privacy-note { color: #94a3b8; font-size: .8rem; font-weight: 400; }
.diagnostic-form textarea,.diagnostic-form input { width: 100%; padding: .75rem; border: 1px solid #475569; border-radius: .6rem; background: #080d18; color: #f8fafc; font: inherit; }
.diagnostic-form button { justify-self: start; }
.diagnosis-result { margin-top: 1.2rem; padding: 1rem; border: 1px solid #334155; border-radius: .75rem; background: #080d18; }
.diagnosis-result h3 { margin: 0 0 .6rem; color: #bfdbfe; }
#diagnosisText { color: #e2e8f0; line-height: 1.7; white-space: pre-wrap; }
.video-library-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .7rem; }
.video-card { min-height: 130px; padding: .8rem; border: 1px solid #334155; border-radius: .75rem; background: rgba(2,6,23,.55); }
.video-card span { display: block; color: #93c5fd; font-size: .72rem; font-weight: 800; }
.video-card strong { display: block; margin-top: .6rem; color: #f8fafc; }
.video-card small { display: block; margin-top: .45rem; color: #94a3b8; }
.video-card video { display: block; width: 100%; max-height: 220px; margin-top: .7rem; border-radius: .55rem; background: #020617; }
.coming-records { border-style: dashed; }
.dashboard-logout { padding: .6rem .85rem; border: 1px solid #475569; border-radius: .6rem; background: transparent; color: #e2e8f0; font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
@media (max-width: 900px) { .dashboard-grid { grid-template-columns: 1fr; } .video-library-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .dashboard-welcome,.upgrade-panel,.dashboard-senior-card { align-items: flex-start; flex-direction: column; } .diagnostic-form { grid-template-columns: 1fr; } .profile-details div { align-items: flex-start; flex-direction: column; gap: .1rem; } .profile-details dd { text-align: left; } }
