:root{
  --ak82-bg:#061c28;
  --ak82-surface:#082a39;
  --ak82-surface-2:#0b3343;
  --ak82-border:#17495d;
  --ak82-text:#eaf8fb;
  --ak82-muted:#9bbcc8;
  --ak82-teal:#3de0e4;
}

.student-workspace > main,
.student-workspace .page-container,
body:has(.student-workspace) main{
  max-width:1240px;
  margin-inline:auto;
}

body:has(.student-workspace) .table-wrap,
body:has(.student-workspace) .table-card,
body:has(.student-workspace) .form-surface,
body:has(.student-workspace) .student-form,
body:has(.student-workspace) .empty-state{
  background:var(--ak82-surface)!important;
  border:1px solid var(--ak82-border)!important;
  color:var(--ak82-text)!important;
  border-radius:14px!important;
}

body:has(.student-workspace) table{
  background:var(--ak82-surface)!important;
  color:var(--ak82-text)!important;
}
body:has(.student-workspace) table th{
  background:var(--ak82-surface-2)!important;
  color:#d9f0f5!important;
  border-color:var(--ak82-border)!important;
}
body:has(.student-workspace) table td{
  background:var(--ak82-surface)!important;
  color:var(--ak82-text)!important;
  border-color:var(--ak82-border)!important;
}

body:has(.student-workspace) .student-command{
  padding-block:20px!important;
  gap:18px!important;
}
body:has(.student-workspace) .dashboard-overview{
  gap:10px!important;
}
body:has(.student-workspace) .dashboard-overview > a{
  min-height:92px!important;
  padding:14px!important;
}
body:has(.student-workspace) .dashboard-focus{
  padding:18px!important;
  min-height:0!important;
}

.ak82-market-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:start!important;
  gap:14px!important;
}
.ak82-course-card{
  min-height:0!important;
  height:auto!important;
  align-self:start!important;
  overflow:hidden;
}
.ak82-course-card p.ak82-clamp{
  display:-webkit-box!important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}
.ak82-group-hidden{
  display:none!important;
}
.ak82-show-groups{
  width:100%;
  margin-top:8px;
  min-height:38px;
  border:1px solid rgba(61,224,228,.45);
  background:rgba(61,224,228,.08);
  color:#9cf8fa;
  border-radius:10px;
  font-weight:700;
  cursor:pointer;
}

.ak82-status{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:28px!important;
  padding:4px 10px!important;
  border-radius:999px!important;
  font-weight:750!important;
  white-space:nowrap!important;
}
.ak82-pending{background:#584617!important;color:#ffe49a!important}
.ak82-good{background:#0b514b!important;color:#b9fff2!important}
.ak82-bad{background:#55212b!important;color:#ffc7cf!important}
.ak82-free{background:#0a4b58!important;color:#aef6ff!important}

body:has(.student-workspace) .empty-state{
  min-height:88px!important;
  padding:18px 14px!important;
}

.ak82-level-note{
  margin:10px 0 16px;
  padding:12px 14px;
  border:1px solid #31586a;
  background:#0b2e3e;
  color:#cfe7ee;
  border-radius:12px;
  line-height:1.6;
}
.ak82-history-badge{
  display:inline-flex;
  margin-inline-start:8px;
  padding:3px 8px;
  border-radius:999px;
  background:#243f50;
  color:#c9e8f0;
  font-size:.76rem;
}

[dir="rtl"] .ak82-number{
  direction:ltr;
  unicode-bidi:isolate;
}

@media(max-width:980px){
  .ak82-market-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:720px){
  .ak82-market-grid{
    grid-template-columns:1fr!important;
  }
  body:has(.student-workspace) .student-command{
    padding-block:14px!important;
  }
  body:has(.student-workspace) .dashboard-overview > a{
    min-height:78px!important;
  }
  body:has(.student-workspace) h1{
    font-size:clamp(1.5rem,7vw,2rem)!important;
  }
}
