body.portal-shell.rekaz-theme-active #portal-sidebar .rekaz-teacher-context-card{
  display:grid !important;
  gap:10px !important;
  align-items:stretch !important;
}

body.portal-shell.rekaz-theme-active #portal-sidebar .rekaz-teacher-context-head{
  display:grid !important;
  grid-template-columns:32px minmax(0,1fr) !important;
  gap:8px !important;
  align-items:center !important;
}

body.portal-shell.rekaz-theme-active #portal-sidebar .rekaz-teacher-context-copy{
  min-width:0 !important;
  display:grid !important;
  gap:2px !important;
}

body.portal-shell.rekaz-theme-active #portal-sidebar .rekaz-teacher-context-copy > span,
body.portal-shell.rekaz-theme-active #portal-sidebar .rekaz-teacher-context-copy > small,
body.portal-shell.rekaz-theme-active #portal-sidebar .rekaz-teacher-context-copy > p{
  display:none !important;
}

body.portal-shell.rekaz-theme-active #portal-sidebar .rekaz-teacher-context-copy strong{
  font-size:13px !important;
  line-height:1.35 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}

body.portal-shell.rekaz-theme-active #portal-sidebar .rekaz-teacher-context-meta{
  display:none !important;
}

body.portal-shell.rekaz-theme-active #portal-sidebar .rekaz-teacher-context-form{
  display:grid !important;
  gap:8px !important;
  width:100% !important;
}

body.portal-shell.rekaz-theme-active #portal-sidebar .rekaz-teacher-context-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:8px !important;
  align-items:start !important;
}

body.portal-shell.rekaz-theme-active #portal-sidebar .rekaz-teacher-context-field{
  display:grid !important;
  gap:4px !important;
  align-items:stretch !important;
  min-width:0 !important;
}

body.portal-shell.rekaz-theme-active #portal-sidebar .rekaz-teacher-context-field > span{
  display:none !important;
}

body.portal-shell.rekaz-theme-active #portal-sidebar .rekaz-teacher-context-select{
  display:block !important;
  width:100% !important;
  height:42px !important;
  min-height:42px !important;
  padding:0 12px 0 30px !important;
  border-radius:12px !important;
  border:1px solid var(--shell-sidebar-panel-border) !important;
  font-size:12px !important;
  line-height:1.2 !important;
  appearance:none !important;
  -webkit-appearance:none !important;
  background:var(--surface-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M4 5L0 0h8z' fill='%23718096'/%3E%3C/svg%3E") no-repeat left 10px center !important;
  background-size:8px 5px !important;
  color:var(--shell-sidebar-text,#0B2D5C) !important;
  box-shadow:none !important;
  cursor:pointer !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}

body.portal-shell.rekaz-theme-active #portal-sidebar .rekaz-teacher-context-select:focus-visible{
  border-color:var(--brand-blue) !important;
  outline:none !important;
}

body.portal-shell.rekaz-theme-active #portal-sidebar .rekaz-teacher-context-select:disabled{
  opacity:.72 !important;
  cursor:not-allowed !important;
}

body.portal-shell.rekaz-theme-active #portal-sidebar .rekaz-teacher-context-form + .rekaz-teacher-context-note{
  display:none !important;
}

body.portal-shell.rekaz-theme-active #portal-sidebar .rekaz-teacher-context-submit{
  min-height:28px !important;
  padding-inline:10px !important;
  border:0 !important;
  border-radius:8px !important;
  background:linear-gradient(135deg,var(--brand-blue),var(--brand-navy)) !important;
  color:var(--surface-card) !important;
  font-size:11px !important;
  font-weight:800 !important;
  cursor:pointer !important;
  box-shadow:0 6px 16px color-mix(in srgb,var(--brand-navy) 14%,transparent) !important;
}

body.portal-shell.rekaz-theme-active #portal-sidebar .rekaz-teacher-context-submit:hover{
  transform:translateY(-1px) !important;
}

@media (max-width:720px){
  body.portal-shell.rekaz-theme-active #portal-sidebar .rekaz-teacher-context-grid{
    grid-template-columns:1fr !important;
  }
}
