/* Learn by Playing V10.5.6 — dark theme accessibility, compact controls, game-ready shell */
:root{--lbp-dark-bg:#08121f;--lbp-dark-panel:#101f31;--lbp-dark-panel-2:#0d1a2a;--lbp-dark-border:#2b4058;--lbp-dark-text:#f5f8fc;--lbp-dark-muted:#bdc9d8;--lbp-dark-soft:#94a8bf}

/* Header experience controls: one planned control cluster instead of floating outlined pills */
.lbp-beta-controls{display:flex!important;align-items:center!important;gap:2px!important;padding:3px!important;border-radius:999px!important;background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 5px 16px rgba(3,16,38,.15)!important}
.lbp-mini-toggle{min-width:0!important;height:29px!important;padding:0 9px!important;border:0!important;border-radius:999px!important;background:transparent!important;box-shadow:none!important;gap:6px!important;color:#f8fbff!important;transition:background .16s ease,opacity .16s ease,transform .16s ease!important}
.lbp-mini-toggle:hover{background:rgba(255,255,255,.11)!important;transform:none!important}
.lbp-mini-toggle>i{width:22px!important;height:22px!important;background:rgba(255,255,255,.96)!important;color:#174fa8!important;font-size:11px!important;box-shadow:none!important}
.lbp-mini-toggle .toggle-state{position:relative;width:8px;height:8px;padding:0!important;border-radius:50%!important;background:#34d399!important;color:transparent!important;overflow:hidden;font-size:0!important;box-shadow:0 0 0 3px rgba(52,211,153,.13)}
.lbp-mini-toggle.off{opacity:.7!important;background:transparent!important}.lbp-mini-toggle.off>i{color:#64748b!important}.lbp-mini-toggle.off .toggle-state{background:#94a3b8!important;box-shadow:none!important}
@media(max-width:640px){.lbp-mini-toggle span:not(.toggle-state){display:none}.lbp-mini-toggle{padding:0 5px!important}.lbp-beta-controls{gap:0!important}}

/* Teacher theme switch: icon only, clear accessible tooltip */
.lbp-theme-toggle{width:38px!important;min-width:38px!important;height:38px!important;padding:0!important;justify-content:center!important;border-radius:50%!important;gap:0!important}
.lbp-theme-toggle span{display:none!important}.lbp-theme-toggle i{font-size:16px!important}

/* Dark mode: explicitly recolor every teacher surface instead of inheriting light-mode whites */
body.teacher-dark #screen-teacher,body.teacher-dark .teacher-app-shell{background:var(--lbp-dark-bg)!important;color:var(--lbp-dark-text)!important}
body.teacher-dark .teacher-main,body.teacher-dark .teacher-content{background:#0a1523!important;color:var(--lbp-dark-text)!important}
body.teacher-dark .teacher-topbar{background:#0e1b2b!important;border-color:var(--lbp-dark-border)!important}
body.teacher-dark #screen-teacher .dashboard-welcome,
body.teacher-dark #screen-teacher .dash-metric,
body.teacher-dark #screen-teacher .panel-card,
body.teacher-dark #screen-teacher .card,
body.teacher-dark #screen-teacher .course-purpose-card,
body.teacher-dark #screen-teacher .question-review-card,
body.teacher-dark #screen-teacher .course-library-card,
body.teacher-dark #screen-teacher .health-item,
body.teacher-dark #screen-teacher .quick-action,
body.teacher-dark #screen-teacher .activity-row,
body.teacher-dark #screen-teacher .reference-source-card,
body.teacher-dark #screen-teacher .validation-stat,
body.teacher-dark #screen-teacher .workflow-banner,
body.teacher-dark #screen-teacher .course-library-toolbar,
body.teacher-dark #screen-teacher .course-library-stats>div,
body.teacher-dark #screen-teacher .next-action-card,
body.teacher-dark #screen-teacher .learning-pulse,
body.teacher-dark #screen-teacher .notice,
body.teacher-dark #screen-teacher .module-config{
  background:var(--lbp-dark-panel)!important;border-color:var(--lbp-dark-border)!important;color:var(--lbp-dark-text)!important;box-shadow:none!important
}
body.teacher-dark #screen-teacher .health-item,
body.teacher-dark #screen-teacher .quick-action,
body.teacher-dark #screen-teacher .activity-row,
body.teacher-dark #screen-teacher .course-purpose-flow span{background:var(--lbp-dark-panel-2)!important;border-color:#304860!important}
body.teacher-dark #screen-teacher h1,body.teacher-dark #screen-teacher h2,body.teacher-dark #screen-teacher h3,
body.teacher-dark #screen-teacher strong,body.teacher-dark #screen-teacher b,
body.teacher-dark #screen-teacher .page-title,body.teacher-dark #screen-teacher .panel-head h2,
body.teacher-dark #screen-teacher .dash-metric strong,body.teacher-dark #screen-teacher .activity-value,
body.teacher-dark #screen-teacher .health-item b,body.teacher-dark #screen-teacher .quick-action b{color:var(--lbp-dark-text)!important}
body.teacher-dark #screen-teacher p,body.teacher-dark #screen-teacher small,body.teacher-dark #screen-teacher .muted,
body.teacher-dark #screen-teacher .page-sub,body.teacher-dark #screen-teacher .dash-metric span,
body.teacher-dark #screen-teacher .dash-metric small,body.teacher-dark #screen-teacher .panel-head small,
body.teacher-dark #screen-teacher .activity-row small,body.teacher-dark #screen-teacher .health-item span,
body.teacher-dark #screen-teacher .quick-action small,body.teacher-dark #screen-teacher .course-purpose-card p{color:var(--lbp-dark-muted)!important}
body.teacher-dark #screen-teacher label,body.teacher-dark #screen-teacher .field label,body.teacher-dark #screen-teacher .teacher-nav-label{color:#aac0d9!important}
body.teacher-dark #screen-teacher input,body.teacher-dark #screen-teacher textarea,body.teacher-dark #screen-teacher select,body.teacher-dark #screen-teacher .input{background:#081522!important;color:#f6f9fc!important;border-color:#35506b!important}
body.teacher-dark #screen-teacher input::placeholder,body.teacher-dark #screen-teacher textarea::placeholder{color:#8095ac!important}
body.teacher-dark #screen-teacher .btn.outline{background:#122338!important;color:#e8f1fb!important;border-color:#36506b!important}
body.teacher-dark #screen-teacher .progress-slim{background:#23354a!important}
body.teacher-dark #screen-teacher .teacher-section-divider{background:#263b51!important}
body.teacher-dark #screen-teacher .dash-metric-icon,body.teacher-dark #screen-teacher .activity-icon{background:#172d48!important;color:#73a6ff!important}
body.teacher-dark #screen-teacher .plan-chip{background:#19294a!important;color:#c8d5ff!important;border-color:#35496f!important}
body.teacher-dark #screen-teacher .question-review-card.status-validated{background:linear-gradient(90deg,#102a21,#111f31 20%)!important;border-color:#2c8455!important}
body.teacher-dark #screen-teacher .question-review-card.status-pending{background:linear-gradient(90deg,#302713,#111f31 20%)!important;border-color:#8c6a25!important}
body.teacher-dark #screen-teacher .question-review-card.status-rejected{background:linear-gradient(90deg,#30191c,#111f31 20%)!important;border-color:#8c3c45!important}
body.teacher-dark #screen-teacher .validation-stat.pending{background:#2b2414!important;border-color:#745d24!important}body.teacher-dark #screen-teacher .validation-stat.pending strong,body.teacher-dark #screen-teacher .validation-stat.pending span{color:#ffd170!important}
body.teacher-dark #screen-teacher .validation-stat.validated{background:#11281d!important;border-color:#286642!important}body.teacher-dark #screen-teacher .validation-stat.validated strong,body.teacher-dark #screen-teacher .validation-stat.validated span{color:#7be6a5!important}
body.teacher-dark #screen-teacher .validation-stat.rejected{background:#2b171a!important;border-color:#74343b!important}body.teacher-dark #screen-teacher .validation-stat.rejected strong,body.teacher-dark #screen-teacher .validation-stat.rejected span{color:#ff9da7!important}

/* Game-ready future catalog */
.game-engine-ready{display:none!important}
