/* ═══════════════════════════════════════════════════════════════════════════
   MARKING DESK · DARK THEME (generated 2026-09-21 17:21 UTC by gen_dark.php — do not edit by hand)
   Colour twins of every skin rule, boosted by body.theme-dark:is(#qbd, body). Base rules live in dark-base.css.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── marking-desk-admin.css ── */
html body.theme-dark:is(#qbd, body) { background-color: #212E29 !important; }
body.theme-dark:is(#qbd, body) .page-header .page-pretitle { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-header .page-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-header .btn-primary,
body.theme-dark:is(#qbd, body) .page-body .btn-primary { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .page-header .btn:not(.btn-primary),
body.theme-dark:is(#qbd, body) .page-body .btn-outline-primary,
body.theme-dark:is(#qbd, body) .page-body .btn-light,
body.theme-dark:is(#qbd, body) .page-body .btn-secondary { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-header .btn:not(.btn-primary):hover,
body.theme-dark:is(#qbd, body) .page-body .btn-outline-primary:hover,
body.theme-dark:is(#qbd, body) .page-body .btn-light:hover,
body.theme-dark:is(#qbd, body) .page-body .btn-secondary:hover { border-color: #ECE9E1 !important; background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .page-body .card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .page-body .card-header { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .page-body .card-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .card-title svg { stroke: #FF6A55 !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .page-body .card-footer { border-top: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .page-body .card .subheader,
body.theme-dark:is(#qbd, body) .page-body .card .text-muted.mb-1 { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-body .card .h1,
body.theme-dark:is(#qbd, body) .page-body .card h1,
body.theme-dark:is(#qbd, body) .page-body .card .h3.mb-0 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .card .bg-primary-lt,
body.theme-dark:is(#qbd, body) .page-body .card .bg-blue-lt { background: rgba(246, 244, 238, 0.06) !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .page-body .table thead th { background: #1C2723 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-body .table tbody td { border-bottom: 1px solid rgba(246, 244, 238, 0.09) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .table tbody tr:hover td { background: #202B27 !important; }
body.theme-dark:is(#qbd, body) .page-body .badge { background: rgba(246, 244, 238, 0.06) !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .page-body .badge.bg-green,
body.theme-dark:is(#qbd, body) .page-body .badge.bg-green-lt,
body.theme-dark:is(#qbd, body) .page-body .badge.bg-success { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .page-body .badge.bg-red,
body.theme-dark:is(#qbd, body) .page-body .badge.bg-red-lt,
body.theme-dark:is(#qbd, body) .page-body .badge.bg-danger { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .page-body .badge.bg-yellow,
body.theme-dark:is(#qbd, body) .page-body .badge.bg-yellow-lt,
body.theme-dark:is(#qbd, body) .page-body .badge.bg-orange-lt,
body.theme-dark:is(#qbd, body) .page-body .badge.bg-warning { color: #E9D75A !important; }
body.theme-dark:is(#qbd, body) .page-body .badge.bg-primary,
body.theme-dark:is(#qbd, body) .page-body .badge.bg-azure-lt,
body.theme-dark:is(#qbd, body) .page-body .badge.bg-purple-lt { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .page-body .text-green,
body.theme-dark:is(#qbd, body) .page-body .text-success { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .page-body .text-red,
body.theme-dark:is(#qbd, body) .page-body .text-danger { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .page-body .text-primary { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-body .apexcharts-text,
body.theme-dark:is(#qbd, body) .page-body .apexcharts-legend-text { fill: #97A59F !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-body .apexcharts-gridline { stroke: rgba(246, 244, 238, 0.08) !important; }
body.theme-dark:is(#qbd, body) .page-body .apexcharts-tooltip { border: 1px solid rgba(246, 244, 238, 0.15) !important; box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.16) !important; }
body.theme-dark:is(#qbd, body) .page-body .list-group-item { border-color: rgba(246, 244, 238, 0.09) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .dropdown-menu { border: 1px solid rgba(246, 244, 238, 0.13) !important; box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.16) !important; }
body.theme-dark:is(#qbd, body) .page-body .dropdown-item { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .dropdown-item:hover { background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .page-body .card .text-\[20px\],
body.theme-dark:is(#qbd, body) .page-body .card h1,
body.theme-dark:is(#qbd, body) .page-body .card h2,
body.theme-dark:is(#qbd, body) .page-body .card .h1,
body.theme-dark:is(#qbd, body) .page-body .card .h2 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .badge.bg-blue-lt { background: rgba(246, 244, 238, 0.07) !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .page-body .badge.bg-green-lt { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .page-body .badge.bg-primary,
body.theme-dark:is(#qbd, body) .page-body a.badge.bg-primary { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .page-body .badge.bg-pink-lt,
body.theme-dark:is(#qbd, body) .page-body .badge.bg-purple-lt { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .page-body .progress-bar.bg-primary,
body.theme-dark:is(#qbd, body) .page-body .progress-bar { background: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .progress { background: rgba(246, 244, 238, 0.10) !important; }

/* ── marking-desk-adminpages.css ── */
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .page-pretitle { color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .page-pretitle:hover { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .page-title,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] h2.page-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .page-subtitle,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .page-header .text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .card-header { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .card-header h3,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .card-header h4,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .card-header h5,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .card-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .card-subtitle,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .card-header .text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .card-body { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .card-footer { background: #212E29 !important; border-top: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .card.card-active,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .card-status-top { border-top-color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .card .h1,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .card .h2,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .card .h3 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .subheader { color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .table { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .table thead th,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .table > :not(caption) > * > th { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .table .table-sort:hover { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .table tbody td,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .table > :not(caption) > * > td { border-bottom: 1px solid rgba(246, 244, 238, 0.09) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .table tbody tr:hover td { background: #202B27 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .table .text-muted,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .table .text-secondary { color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .btn { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .btn:hover { border-color: #ECE9E1 !important; background: #212E29 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .btn-primary,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .btn-dark { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .btn-primary:hover,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .btn-dark:hover { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .btn-success { color: #14201C !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .btn-danger { background: #1C2723 !important; color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .btn-danger:hover { border-color: #FF6A55 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .btn-outline-primary,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .btn-outline-secondary,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .btn-secondary,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .btn-light { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .btn-icon { background: #1C2723 !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .btn-icon:hover { border-color: #ECE9E1 !important; color: #ECE9E1 !important; background: #212E29 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .form-label,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] label.form-label { color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .form-control,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .form-select,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .select2-container--default .select2-selection--single,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .select2-container--default .select2-selection--multiple { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .form-control:focus,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .form-select:focus { border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .form-control::placeholder { color: #7F8C87 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .form-hint,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .form-text { color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .form-check-label { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .form-check-input { border: 1.5px solid rgba(246, 244, 238, 0.3) !important; background-color: #1C2723 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .form-check-input:checked { background-color: #ECE9E1 !important; border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .form-switch .form-check-input:checked { border-color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .input-group-text { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #212E29 !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .badge,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .status { background: rgba(246, 244, 238, 0.07) !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .badge.bg-success,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .badge.bg-green,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .status-green { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .badge.bg-danger,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .badge.bg-red,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .status-red { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .badge.bg-warning,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .badge.bg-yellow,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .status-yellow { color: #E9D75A !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .alert { border: 1px solid rgba(246, 244, 238, 0.13) !important; background: #212E29 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .alert-success { border-color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .alert-danger { border-color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .nav-tabs { border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .nav-tabs .nav-link { color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .nav-tabs .nav-link:hover { color: #ECE9E1 !important; background: #212E29 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .nav-tabs .nav-link.active { background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .pagination .page-link { border: 1px solid rgba(246, 244, 238, 0.15) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .pagination .page-item.active .page-link { background: #ECE9E1 !important; border-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .dropdown-menu { border: 1px solid rgba(246, 244, 238, 0.13) !important; box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.16) !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .dropdown-item { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .dropdown-item:hover { background: #212E29 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .modal-content { border: 1px solid rgba(246, 244, 238, 0.15) !important; box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.16) !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .modal-header { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .modal-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .modal-footer { border-top: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .offcanvas { border-left: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .empty-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .empty-subtitle { color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .progress { background: rgba(246, 244, 238, 0.10) !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] a { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] a:hover { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .text-primary,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .text-blue-600 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .text-success,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .text-green-600 { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .text-danger,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .text-red-600 { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .text-muted,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .text-secondary { color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] hr { border-color: rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .tox-tinymce,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .CodeMirror,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .ace_editor { border: 1px solid rgba(246, 244, 238, 0.18) !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .tox .tox-toolbar,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .tox .tox-toolbar__primary { background: #212E29 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .page-body h3,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .page-body h4:not(.card-header h4),
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .page-body .text-\[20px\],
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .page-body .text-\[21px\] { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .bg-blue-100 .text-blue-600,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .bg-blue-100 a,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .bg-blue-100 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .btn.w-\[36px\],
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .btn.h-\[36px\] { border: 1px solid rgba(246, 244, 238, 0.18) !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .btn.w-\[36px\]:hover { background: #ECE9E1 !important; border-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .btn.w-\[36px\][class*="delete"]:hover,
body.theme-dark:is(#qbd, body)[data-md^="dashboard.admin."] .btn.w-\[36px\].text-danger:hover { border-color: #FF6A55 !important; color: #14201C !important; }

/* ── marking-desk-cards.css ── */
body.theme-dark:is(#qbd, body) #qb-sheet-bar .qb-sheet-count { color: #ECE9E1 !important; border: 1px solid rgba(246, 244, 238, 0.2) !important; }
body.theme-dark:is(#qbd, body) #qb-sheet-bar .qb-sheet-toggle { background: #1C2723 !important; color: #ECE9E1 !important; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5) !important; }
body.theme-dark:is(#qbd, body) #qb-sheet-bar .qb-sheet-toggle[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.7) !important; }
body.theme-dark:is(#qbd, body) #qb-sheet-bar button:focus-visible { outline: 2px solid #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view { background: #212E29 !important; border-top: 1px solid rgba(246, 244, 238, 0.13) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-cap { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-src { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-src::after { background: rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-intro { border: 1px dashed rgba(246, 244, 238, 0.22) !important; background: #1C2723 !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-q { border: 1px solid rgba(246, 244, 238, 0.13) !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-q:hover { border-color: rgba(246, 244, 238, 0.32) !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-num { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-qtext { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-opt,
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-mo,
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-mi { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-opt { border: 1px solid rgba(246, 244, 238, 0.14) !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-mi { border: 1px solid rgba(246, 244, 238, 0.14) !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-mo { background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-letter { border: 1px solid rgba(246, 244, 238, 0.3) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-opt.is-correct { border-color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-opt.is-correct .qbv-letter { border-color: #4CC9A3 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-tag { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-ans { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-why { color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-line { color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-col,
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-key { border: 1px solid rgba(246, 244, 238, 0.13) !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-keygrid span { background: #212E29 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-note { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view.qb-hide-answers .qbv-opt.is-correct { border-color: rgba(246, 244, 238, 0.14) !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view.qb-hide-answers .qbv-opt.is-correct .qbv-letter { border-color: rgba(246, 244, 238, 0.3) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #qb-sheet-bar .qb-sheet-undo { color: #ECE9E1 !important; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4) !important; }
body.theme-dark:is(#qbd, body) #qb-sheet-bar .qb-sheet-undo:hover { background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-tools button { background: #212E29 !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-tools button:hover { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-tools button.qbv-del:hover { color: #14201C !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view [contenteditable]:focus { background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-opt:not(.is-correct) button.qbv-letter:hover { border-color: #4CC9A3 !important; color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view button:focus-visible { outline: 2px solid #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .qb-cards-view .qbv-atext { color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) #qb-sheet-bar { border: 1px solid rgba(246, 244, 238, 0.13) !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) #workbook-form > .flex-1:has(> #qb-sheet-bar:not([hidden])) { background: #212E29 !important; }

/* ── marking-desk-dailyreview.css ── */
html body.theme-dark:is(#qbd, body) { background-color: #212E29 !important; }
body.theme-dark:is(#qbd, body) .hero-banner,
body.theme-dark:is(#qbd, body) .card.hero-banner { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .hero-icon { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .hero-icon svg { stroke: #FF6A55 !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .hero-banner h2,
body.theme-dark:is(#qbd, body) .hero-banner h3,
body.theme-dark:is(#qbd, body) .hero-banner .font-bold { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .hero-banner p,
body.theme-dark:is(#qbd, body) .hero-banner .text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .hero-banner .fw-bold.small,
body.theme-dark:is(#qbd, body) .hero-banner .small { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .hero-banner .rounded-3[class*="px-3"] { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .review-container .btn-primary,
body.theme-dark:is(#qbd, body) .review-container .btn-practice-sm,
body.theme-dark:is(#qbd, body) .review-container .btn-primary.btn-lg { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .review-container .btn-primary:hover,
body.theme-dark:is(#qbd, body) .review-container .btn-practice-sm:hover { background: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .review-container .btn-primary .badge.bg-white { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .review-container .btn-secondary,
body.theme-dark:is(#qbd, body) .review-container .btn-light,
body.theme-dark:is(#qbd, body) .review-container .btn-outline-secondary { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .review-container .btn-danger,
body.theme-dark:is(#qbd, body) .review-container .btn-outline-danger { background: #1C2723 !important; color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .review-container .btn-danger:hover,
body.theme-dark:is(#qbd, body) .review-container .btn-outline-danger:hover { border-color: #FF6A55 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .stat-tile,
body.theme-dark:is(#qbd, body) .stat-tile-blue,
body.theme-dark:is(#qbd, body) .stat-tile-green,
body.theme-dark:is(#qbd, body) .stat-tile-orange,
body.theme-dark:is(#qbd, body) .stat-tile-purple { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .stat-tile:hover { border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .stat-tile .stat-icon,
body.theme-dark:is(#qbd, body) .stat-tile-blue .stat-icon,
body.theme-dark:is(#qbd, body) .stat-tile-green .stat-icon,
body.theme-dark:is(#qbd, body) .stat-tile-orange .stat-icon,
body.theme-dark:is(#qbd, body) .stat-tile-purple .stat-icon { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .stat-tile .stat-icon svg { stroke: #ECE9E1 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .stat-tile-blue .stat-icon svg { stroke: #FF6A55 !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .stat-tile-green .stat-icon svg { stroke: #4CC9A3 !important; color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .stat-tile .stat-number,
body.theme-dark:is(#qbd, body) .stat-tile-blue .stat-number,
body.theme-dark:is(#qbd, body) .stat-tile-green .stat-number,
body.theme-dark:is(#qbd, body) .stat-tile-orange .stat-number,
body.theme-dark:is(#qbd, body) .stat-tile-purple .stat-number { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .stat-tile-blue .stat-number { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .stat-tile-green .stat-number { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .stat-tile .stat-label { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .activity-calendar-wrapper .text-muted,
body.theme-dark:is(#qbd, body) .activity-day-labels span { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .activity-cell { background: rgba(246, 244, 238, 0.07) !important; }
body.theme-dark:is(#qbd, body) .review-container h2,
body.theme-dark:is(#qbd, body) .review-container h3,
body.theme-dark:is(#qbd, body) .review-container h4,
body.theme-dark:is(#qbd, body) .review-container .h2,
body.theme-dark:is(#qbd, body) .review-container .h3,
body.theme-dark:is(#qbd, body) .review-container .fs-1,
body.theme-dark:is(#qbd, body) .review-container .fs-2 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .review-container .card,
body.theme-dark:is(#qbd, body) .fancy-card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .fancy-card > .card-header,
body.theme-dark:is(#qbd, body) .review-container .card-header { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .section-icon-badge,
body.theme-dark:is(#qbd, body) .section-icon-badge.color-indigo,
body.theme-dark:is(#qbd, body) .section-icon-badge.color-emerald { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .section-icon-badge svg { stroke: #FF6A55 !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .review-container .card-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .review-container .text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .review-container .text-dark { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .review-container .text-success { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .review-container .text-danger { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .qh-header { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .qh-row { border-bottom: 1px solid rgba(246, 244, 238, 0.09) !important; }
body.theme-dark:is(#qbd, body) .qh-row:hover { background: #202B27 !important; }
body.theme-dark:is(#qbd, body) .item-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .qh-col-date,
body.theme-dark:is(#qbd, body) .qh-col-remaining,
body.theme-dark:is(#qbd, body) .interval-text,
body.theme-dark:is(#qbd, body) .stats-label { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .stats-text { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .status-badge { background: rgba(246, 244, 238, 0.07) !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .status-badge.bg-success { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .status-badge.bg-warning { color: #E9D75A !important; }
body.theme-dark:is(#qbd, body) .status-badge.bg-secondary { background: rgba(246, 244, 238, 0.07) !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .mastery-progress-bar-wrap { background: rgba(246, 244, 238, 0.10) !important; }
body.theme-dark:is(#qbd, body) .mastery-perc { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .review-container .spinner-border.text-primary { color: #FF6A55 !important; }

/* ── marking-desk-diagnostic.css ── */
html body.theme-dark:is(#qbd, body) { background-color: #212E29 !important; }
body.theme-dark:is(#qbd, body) #question-counter,
body.theme-dark:is(#qbd, body) .fw-bold.text-secondary { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #progress-percentage,
body.theme-dark:is(#qbd, body) .fw-bold.text-primary { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .progress-bar-container { background: rgba(246, 244, 238, 0.12) !important; }
body.theme-dark:is(#qbd, body) .q-palette { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .q-palette-item { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .q-palette-item:hover { border-color: #ECE9E1 !important; color: #ECE9E1 !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .q-palette-item.is-answered { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .q-palette-item.is-current,
body.theme-dark:is(#qbd, body) .q-palette-item.is-current.is-answered { background: #ECE9E1 !important; border-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .q-palette-item.is-marked::after { border: 1.5px solid #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .timer-pill { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #212E29 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .timer-pill svg { stroke: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .quiz-card-wrap { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) #question-number-badge,
body.theme-dark:is(#qbd, body) .q-head > .q-badge { border: 1.5px solid #ECE9E1 !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #question-text-content,
body.theme-dark:is(#qbd, body) .q-head h4,
body.theme-dark:is(#qbd, body) .q-head h5,
body.theme-dark:is(#qbd, body) .q-head .fw-bold { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .review-flag-btn { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .review-flag-btn:hover { border-color: #ECE9E1 !important; color: #ECE9E1 !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .review-flag-btn.is-marked { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .option-card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.16) !important; }
body.theme-dark:is(#qbd, body) .option-card:hover { border-color: #ECE9E1 !important; background: #202B27 !important; }
body.theme-dark:is(#qbd, body) .option-card.selected { border: 1.5px solid #ECE9E1 !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .option-card .q-badge { border: 1.5px solid rgba(246, 244, 238, 0.3) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .option-card.selected .q-badge { border-color: #FF6A55 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .option-card .flex-grow-1 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .option-card .option-key { border: 1px solid rgba(246, 244, 238, 0.15) !important; background: #212E29 !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .confidence-row { border-top: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .confidence-label { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .confidence-dot { border: 1px solid rgba(246, 244, 238, 0.2) !important; background: #1C2723 !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .confidence-dot:hover { border-color: #ECE9E1 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .confidence-dot.is-soft-selected { border-color: rgba(246, 244, 238, 0.2) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .confidence-dot.is-selected { background: #ECE9E1 !important; border-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) #skip-btn,
body.theme-dark:is(#qbd, body) .quiz-nav-bar .btn-link,
body.theme-dark:is(#qbd, body) .quiz-nav-bar .btn-secondary,
body.theme-dark:is(#qbd, body) .quiz-nav-bar .btn-light { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #skip-btn:hover { border-color: rgba(246, 244, 238, 0.18) !important; color: #ECE9E1 !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) #next-btn,
body.theme-dark:is(#qbd, body) #submit-btn,
body.theme-dark:is(#qbd, body) .quiz-nav-bar .btn-primary,
body.theme-dark:is(#qbd, body) .quiz-nav-bar .btn-success { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) #next-btn:hover,
body.theme-dark:is(#qbd, body) #submit-btn:hover { background: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #next-btn:disabled,
body.theme-dark:is(#qbd, body) #submit-btn:disabled { background: rgba(246, 244, 238, 0.35) !important; }
body.theme-dark:is(#qbd, body) #quiz-loading .spinner-border,
body.theme-dark:is(#qbd, body) .spinner-border.text-primary { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) #quiz-complete.card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) #proc-icon { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; }
body.theme-dark:is(#qbd, body) #proc-icon svg { stroke: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) #proc-icon .spinner-border { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) #quiz-complete .fw-bold { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #quiz-complete .text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #proc-bar { background: rgba(246, 244, 238, 0.10) !important; }
body.theme-dark:is(#qbd, body) .proc-stage { color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .proc-dot { background: rgba(246, 244, 238, 0.2) !important; }
body.theme-dark:is(#qbd, body) #proc-icon,
body.theme-dark:is(#qbd, body) #proc-icon[style] { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; }
body.theme-dark:is(#qbd, body) #proc-svg { stroke: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) #proc-svg[stroke="#16a34a"] { stroke: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) #quiz-complete .fw-bold.mb-1 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #quiz-complete .text-muted.mb-4 { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #quiz-complete .card-body > div[style*="e2e8f0"] { background: rgba(246, 244, 238, 0.10) !important; }
body.theme-dark:is(#qbd, body) .proc-stage > span,
body.theme-dark:is(#qbd, body) .proc-stage > div:not(.proc-dot) { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .proc-dot,
body.theme-dark:is(#qbd, body) .proc-dot[style] { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.2) !important; }
body.theme-dark:is(#qbd, body) .proc-dot[style*="dcfce7"] svg { stroke: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .proc-dot .spinner-border { color: #FF6A55 !important; }

/* ── marking-desk-docsingle.css ── */
html body.theme-dark:is(#qbd, body) { background-color: #212E29 !important; }
body.theme-dark:is(#qbd, body) .page-header .page-pretitle { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-header .page-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .page-body .workbook_copy,
body.theme-dark:is(#qbd, body) .page-body .btn.border-none { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .workbook_copy:hover,
body.theme-dark:is(#qbd, body) .page-body .btn.border-none:hover { background: #ECE9E1 !important; border-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .page-body .btn[id*="delete"],
body.theme-dark:is(#qbd, body) .page-body .btn.text-danger,
body.theme-dark:is(#qbd, body) .page-body .workbook_delete,
body.theme-dark:is(#qbd, body) .page-body a[href*="documents/delete"] { color: #FF8A78 !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .page-body .btn[id*="delete"]:hover,
body.theme-dark:is(#qbd, body) .page-body .workbook_delete:hover,
body.theme-dark:is(#qbd, body) .page-body a[href*="documents/delete"]:hover { border-color: #FF6A55 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .page-body input.form-control,
body.theme-dark:is(#qbd, body) .page-body #workbook_title,
body.theme-dark:is(#qbd, body) .page-body .form-control { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .form-control:focus { border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .tox-tinymce { border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .page-body .tox .tox-editor-header,
body.theme-dark:is(#qbd, body) .page-body .tox .tox-toolbar__primary,
body.theme-dark:is(#qbd, body) .page-body .tox .tox-toolbar-overlord,
body.theme-dark:is(#qbd, body) .page-body .tox .tox-menubar,
body.theme-dark:is(#qbd, body) .page-body .tox .tox-statusbar { background: #212E29 !important; border-color: rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .page-body .tox .tox-tbtn { color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .page-body .tox .tox-tbtn:hover { background: rgba(246, 244, 238, 0.07) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .tox .tox-tbtn--enabled { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .page-body .tox-edit-area__iframe { background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .page-body .dropdown-menu { border: 1px solid rgba(246, 244, 238, 0.13) !important; box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.16) !important; }
body.theme-dark:is(#qbd, body) .page-body .dropdown-menu button,
body.theme-dark:is(#qbd, body) .page-body .dropdown-menu a { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .dropdown-menu button:hover,
body.theme-dark:is(#qbd, body) .page-body .dropdown-menu a:hover { background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .modal-content { border: 1px solid rgba(246, 244, 238, 0.15) !important; box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.16) !important; }
body.theme-dark:is(#qbd, body) .modal-body .spinner-border.text-primary { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .page-body .btn-success,
body.theme-dark:is(#qbd, body) .page-body #workbook_button,
body.theme-dark:is(#qbd, body) .page-body button[type="submit"].btn-primary { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .page-body .btn-success:hover,
body.theme-dark:is(#qbd, body) .page-body #workbook_button:hover { background: #ECE9E1 !important; }

/* ── marking-desk-documents.css ── */
html body.theme-dark:is(#qbd, body) { background-color: #212E29 !important; }
body.theme-dark:is(#qbd, body) .page-header .card-body svg[width="56"] { stroke: #ECE9E1 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-header h2 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-header p.text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-header .btn-primary { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .page-header .btn-outline-secondary { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-header .btn-light { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-header .btn-light:hover { background: #ECE9E1 !important; border-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .page-body .bg-\[\#f2f2f4\] { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .page-body .bg-\[\#f2f2f4\]:hover { background: #1C2723 !important; border-color: #ECE9E1 !important; box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.16) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .bg-\[\#f2f2f4\]:hover p,
body.theme-dark:is(#qbd, body) .page-body .bg-\[\#f2f2f4\]:hover small,
body.theme-dark:is(#qbd, body) .page-body .bg-\[\#f2f2f4\]:hover svg { color: #ECE9E1 !important; fill: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .bg-\[\#f2f2f4\] svg.fill-\[\#c1c1c3\] { fill: rgba(246, 244, 238, 0.35) !important; }
body.theme-dark:is(#qbd, body) .page-body .bg-\[\#f2f2f4\] p { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .bg-\[\#f2f2f4\] small { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #table-default,
body.theme-dark:is(#qbd, body) .card-table { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) #table-default thead th { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #table-default tbody td { border-bottom: 1px solid rgba(246, 244, 238, 0.09) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #table-default tbody tr:hover td { background: #202B27 !important; }
body.theme-dark:is(#qbd, body) #table-default .sort-date,
body.theme-dark:is(#qbd, body) #table-default .sort-cost { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #table-default .avatar { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2) !important; }
body.theme-dark:is(#qbd, body) #table-default .sort-file .badge,
body.theme-dark:is(#qbd, body) #table-default .sort-file span[class*="bg-"] { background: rgba(246, 244, 238, 0.06) !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) #table-default .workbook_fuiz_export_button,
body.theme-dark:is(#qbd, body) #table-default .documents_quizme_button { border: 1px solid rgba(246, 244, 238, 0.18) !important; background-color: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #table-default .workbook_fuiz_export_button:hover,
body.theme-dark:is(#qbd, body) #table-default .documents_quizme_button:hover { background-color: #ECE9E1 !important; border-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .page-body .dropdown-menu { border: 1px solid rgba(246, 244, 238, 0.13) !important; box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.16) !important; }
body.theme-dark:is(#qbd, body) .page-body .dropdown-menu a,
body.theme-dark:is(#qbd, body) .page-body .dropdown-menu button { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .dropdown-menu a:hover,
body.theme-dark:is(#qbd, body) .page-body .dropdown-menu button:hover { background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .modal-content { border: 1px solid rgba(246, 244, 238, 0.15) !important; box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.16) !important; }
body.theme-dark:is(#qbd, body) .modal-header { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .modal-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .modal-body .form-label { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .modal-body .form-control { border: 1px solid rgba(246, 244, 238, 0.18) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .modal-body .form-control:focus { border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .modal-footer { border-top: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .modal-footer .btn-primary { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .modal-footer .btn-secondary,
body.theme-dark:is(#qbd, body) .modal-footer .btn-light { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #C9CFCB !important; }

/* ── marking-desk-examprep-create.css ── */
html body.theme-dark:is(#qbd, body) { background-color: #212E29 !important; }
body.theme-dark:is(#qbd, body) .py-10 .btn-outline-primary { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .py-10 .btn-outline-primary:hover { border-color: #ECE9E1 !important; background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .py-10 > .container-xl > .mb-4 > h2 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .py-10 > .container-xl > .mb-4 > p.text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .py-10 .alert-danger { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .page-banner { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .page-banner-icon { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .page-banner-icon svg { stroke: #FF6A55 !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .page-banner .fw-bold { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-banner .small.text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .modern-form-card,
body.theme-dark:is(#qbd, body) .guide-card,
body.theme-dark:is(#qbd, body) .pro-tips-card,
body.theme-dark:is(#qbd, body) .create-page-wrapper .card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .form-icon-label { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .form-icon-label::after { background: rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .form-icon-label > svg,
body.theme-dark:is(#qbd, body) .form-icon-label > span:first-child { stroke: #ECE9E1 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .form-icon-label .text-danger { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .create-page-wrapper .form-control,
body.theme-dark:is(#qbd, body) .create-page-wrapper .form-select,
body.theme-dark:is(#qbd, body) .create-page-wrapper .form-control-lg,
body.theme-dark:is(#qbd, body) .create-page-wrapper .form-select-lg { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .create-page-wrapper .form-control:focus,
body.theme-dark:is(#qbd, body) .create-page-wrapper .form-select:focus,
body.theme-dark:is(#qbd, body) .create-page-wrapper .form-select:hover { border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .create-page-wrapper .form-control::placeholder { color: #7F8C87 !important; }
body.theme-dark:is(#qbd, body) .create-page-wrapper .form-control.is-invalid { border-color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .create-page-wrapper .invalid-feedback,
body.theme-dark:is(#qbd, body) .create-page-wrapper .text-danger.small { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .create-page-wrapper small.text-muted,
body.theme-dark:is(#qbd, body) .create-page-wrapper .small.text-muted,
body.theme-dark:is(#qbd, body) .create-page-wrapper .x-small { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .drop-zone { border: 1.5px dashed rgba(246, 244, 238, 0.28) !important; background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .drop-zone:hover,
body.theme-dark:is(#qbd, body) .drop-zone.drag-over { border-color: #ECE9E1 !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .drop-zone svg { stroke: #ECE9E1 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .drop-zone .fw-bold,
body.theme-dark:is(#qbd, body) .drop-zone .text-primary { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .drop-zone .text-primary.font-weight-bold { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .drop-zone .text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .handoff-chip { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .handoff-chip svg { stroke: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .btn-gradient,
body.theme-dark:is(#qbd, body) #submit-btn { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .btn-gradient:hover,
body.theme-dark:is(#qbd, body) #submit-btn:hover { background: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .btn-gradient .spinner { border-top-color: #2B3A35 !important; }
body.theme-dark:is(#qbd, body) .guide-card .fw-bold,
body.theme-dark:is(#qbd, body) .pro-tips-card .fw-bold,
body.theme-dark:is(#qbd, body) .guide-card h3,
body.theme-dark:is(#qbd, body) .guide-card h4 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .guide-card .text-primary,
body.theme-dark:is(#qbd, body) .pro-tips-card .text-primary { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .step-item { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .step-item:hover { border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .step-icon { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.2) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .step-item .fw-extrabold,
body.theme-dark:is(#qbd, body) .step-item .fw-bold { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .step-item .text-muted,
body.theme-dark:is(#qbd, body) .step-item .small { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .pro-tip-item { border-bottom: 1px solid rgba(246, 244, 238, 0.09) !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .pro-tip-item:hover { background: #202B27 !important; }
body.theme-dark:is(#qbd, body) .pro-tip-item svg { stroke: #4CC9A3 !important; color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .litepicker { border: 1px solid rgba(246, 244, 238, 0.15) !important; box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.16) !important; }
body.theme-dark:is(#qbd, body) .litepicker .container__days .day-item.is-selected { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .litepicker .container__days .day-item:hover { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .pro-tips-card h5 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .pro-tips-card h5 > span:first-child { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .pro-tips-card h5 > span:first-child svg { stroke: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .pro-tip-item { color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .pro-tip-item::before { border: 1px solid rgba(246, 244, 238, 0.2) !important; color: #ECE9E1 !important; background: #1C2723 !important; }

/* ── marking-desk-examprep.css ── */
html body.theme-dark:is(#qbd, body) { background-color: #212E29 !important; }
body.theme-dark:is(#qbd, body) .review-container .btn-outline-primary { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .review-container .btn-outline-primary:hover { border-color: #ECE9E1 !important; background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .review-container .alert-success { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .review-container .card,
body.theme-dark:is(#qbd, body) .exam-header-card,
body.theme-dark:is(#qbd, body) .materials-card,
body.theme-dark:is(#qbd, body) .progress-card,
body.theme-dark:is(#qbd, body) .diagnostic-card,
body.theme-dark:is(#qbd, body) .diagnostic-card.is-good,
body.theme-dark:is(#qbd, body) .diagnostic-card.is-medium,
body.theme-dark:is(#qbd, body) .fancy-card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .exam-header-card h1 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .exam-header-card .text-muted,
body.theme-dark:is(#qbd, body) .review-container .text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .countdown-badge,
body.theme-dark:is(#qbd, body) .rounded-4.d-inline-flex[class*="px-4"] { background: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .countdown-badge .fw-bold,
body.theme-dark:is(#qbd, body) .countdown-badge .fs-4,
body.theme-dark:is(#qbd, body) .rounded-4.d-inline-flex .fs-4,
body.theme-dark:is(#qbd, body) .rounded-4.d-inline-flex .fw-bold { color: #14201C !important; }
body.theme-dark:is(#qbd, body) .exam-today-badge .text-white,
body.theme-dark:is(#qbd, body) .exam-today-badge .fw-bold { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .icon-badge,
body.theme-dark:is(#qbd, body) .icon-badge-purple,
body.theme-dark:is(#qbd, body) .icon-badge-emerald,
body.theme-dark:is(#qbd, body) .icon-badge-green,
body.theme-dark:is(#qbd, body) .icon-badge-amber,
body.theme-dark:is(#qbd, body) .icon-badge-red { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .icon-badge svg { stroke: #ECE9E1 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .icon-badge-purple svg { stroke: #FF6A55 !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .icon-badge-emerald svg,
body.theme-dark:is(#qbd, body) .icon-badge-green svg { stroke: #4CC9A3 !important; color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .icon-badge-red svg { stroke: #FF6A55 !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .review-container .card h3,
body.theme-dark:is(#qbd, body) .review-container .card h4,
body.theme-dark:is(#qbd, body) .review-container .card h5,
body.theme-dark:is(#qbd, body) .review-container .card .fw-bold.mb-0,
body.theme-dark:is(#qbd, body) .review-container .card .fs-4 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .review-container .text-uppercase.fw-bold { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .big-percentage { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .stat-mini { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .stat-mini .fw-bold,
body.theme-dark:is(#qbd, body) .stat-mini .fs-4 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .stat-mini .text-muted,
body.theme-dark:is(#qbd, body) .stat-mini .small { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .review-container .progress { background: rgba(246, 244, 238, 0.10) !important; }
body.theme-dark:is(#qbd, body) .file-pill { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .file-pill:hover { border-color: #ECE9E1 !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .file-pill svg { stroke: #FF6A55 !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .review-container .btn-primary,
body.theme-dark:is(#qbd, body) .review-container .btn-practice-sm,
body.theme-dark:is(#qbd, body) .review-container .btn-success { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .review-container .btn-primary:hover,
body.theme-dark:is(#qbd, body) .review-container .btn-practice-sm:hover,
body.theme-dark:is(#qbd, body) .review-container .btn-success:hover { background: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .review-container .btn-secondary,
body.theme-dark:is(#qbd, body) .review-container .btn-light,
body.theme-dark:is(#qbd, body) .review-container .btn-outline-secondary,
body.theme-dark:is(#qbd, body) .review-container .btn-warning { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .review-container .btn-danger,
body.theme-dark:is(#qbd, body) .review-container .btn-outline-danger { background: #1C2723 !important; color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .review-container .btn-danger:hover,
body.theme-dark:is(#qbd, body) .review-container .btn-outline-danger:hover { border-color: #FF6A55 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .qh-header { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .qh-row { border-bottom: 1px solid rgba(246, 244, 238, 0.09) !important; }
body.theme-dark:is(#qbd, body) .qh-row:hover { background: #202B27 !important; }
body.theme-dark:is(#qbd, body) .concept-title,
body.theme-dark:is(#qbd, body) .concept-name,
body.theme-dark:is(#qbd, body) .item-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .qh-col-schedule,
body.theme-dark:is(#qbd, body) .qh-col-date,
body.theme-dark:is(#qbd, body) .qh-col-remaining,
body.theme-dark:is(#qbd, body) .qh-col-stats,
body.theme-dark:is(#qbd, body) .schedule-text,
body.theme-dark:is(#qbd, body) .stats-label { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .status-badge { background: rgba(246, 244, 238, 0.07) !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .status-badge.bg-success { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .status-badge.bg-warning { color: #E9D75A !important; }
body.theme-dark:is(#qbd, body) .status-badge.bg-secondary { background: rgba(246, 244, 238, 0.07) !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .mastery-progress-bar-wrap { background: rgba(246, 244, 238, 0.10) !important; }
body.theme-dark:is(#qbd, body) .mastery-perc { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .review-container .text-success { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .review-container .text-danger { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .review-container .text-primary { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .review-container .text-dark { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .review-container .spinner-border.text-primary { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) #practiceModal .modal-content { border: 1px solid rgba(246, 244, 238, 0.15) !important; box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.16) !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) #practiceModal .modal-header { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) #practiceModal .modal-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #practiceModal #session-progress,
body.theme-dark:is(#qbd, body) #practiceModal .badge.bg-primary { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.2) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #practiceModal #practice-question-text { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #practiceModal .practice-option-card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.16) !important; }
body.theme-dark:is(#qbd, body) #practiceModal .practice-option-card:hover { border-color: #ECE9E1 !important; background: #202B27 !important; }
body.theme-dark:is(#qbd, body) #practiceModal .practice-option-card .badge { border: 1.5px solid rgba(246, 244, 238, 0.3) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #practiceModal .practice-option-card .text-dark { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #practiceModal .practice-option-card.bg-green-100,
body.theme-dark:is(#qbd, body) #practiceModal .practice-option-card.border-green-500 { border: 1.5px solid #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) #practiceModal .practice-option-card.bg-green-100 .badge { border-color: #4CC9A3 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) #practiceModal .practice-option-card.bg-red-100,
body.theme-dark:is(#qbd, body) #practiceModal .practice-option-card.border-red-500 { border: 1.5px solid #FF6A55 !important; }
body.theme-dark:is(#qbd, body) #practiceModal .practice-option-card.bg-red-100 .badge { border-color: #FF6A55 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) #practiceModal #practice-explanation-box .card-title { color: #E9D75A !important; }
body.theme-dark:is(#qbd, body) #practiceModal #practice-explanation-box .card-title svg { stroke: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) #practiceModal #practice-wrong-box .card-title { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) #practiceModal #practice-wrong-box .card-title svg { stroke: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) #practiceModal .collapse .card-body p { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #practiceModal .spinner-border { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) #practiceModal #session-complete h3,
body.theme-dark:is(#qbd, body) #practiceModal #practice-error h3 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #practiceModal #session-complete .card { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) #practiceModal #session-complete .card h3,
body.theme-dark:is(#qbd, body) #practiceModal #session-complete .card .fw-bold,
body.theme-dark:is(#qbd, body) #practiceModal #session-percentage,
body.theme-dark:is(#qbd, body) #practiceModal #session-correct,
body.theme-dark:is(#qbd, body) #practiceModal #session-total { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #practiceModal .modal-footer { background: #212E29 !important; border-top: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) #practiceModal .modal-footer .btn-secondary,
body.theme-dark:is(#qbd, body) #practiceModal .modal-footer .btn-warning,
body.theme-dark:is(#qbd, body) #practiceModal .modal-footer .btn-outline-primary { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #practiceModal .modal-footer .btn-secondary:hover,
body.theme-dark:is(#qbd, body) #practiceModal .modal-footer .btn-warning:hover { border-color: #ECE9E1 !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) #practiceModal .modal-footer #btn-next-practice.btn-primary,
body.theme-dark:is(#qbd, body) #practiceModal .modal-footer #btn-next-practice:not([disabled]) { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) #practiceModal .modal-footer #btn-next-practice[disabled] { color: #7F8C87 !important; border-color: rgba(246, 244, 238, 0.12) !important; }
body.theme-dark:is(#qbd, body) .countdown-badge > div:first-child,
body.theme-dark:is(#qbd, body) .countdown-badge > div:first-child.text-white { color: #14201C !important; }
body.theme-dark:is(#qbd, body) #diagnosticLoadingModal .modal-content,
body.theme-dark:is(#qbd, body) #diagnosticLoadingModal .modal-content[style] { border: 1px solid rgba(246, 244, 238, 0.15) !important; box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.16) !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) #diagnosticLoadingModal .modal-body > .mb-4 { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; }
body.theme-dark:is(#qbd, body) #diagnosticLoadingModal .spinner-border,
body.theme-dark:is(#qbd, body) #diagnosticLoadingModal .spinner-border[style] { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) #diagnosticLoadingModal h3,
body.theme-dark:is(#qbd, body) #diagnosticLoadingModal h3[style] { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #diagnosticLoadingModal p.text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body).modal-open .modal-backdrop { background: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .review-container .card .countdown-badge > div:first-child,
body.theme-dark:is(#qbd, body) .review-container .countdown-badge.countdown-badge > div:first-child { color: #14201C !important; }
@media (prefers-reduced-motion: reduce) {
body.theme-dark:is(#qbd, body) #diagnosticLoadingModal .modal-body::after { background: rgba(246, 244, 238, 0.12) !important; }
}

/* ── marking-desk-favorites.css ── */
html body.theme-dark:is(#qbd, body) { background-color: #212E29 !important; }
body.theme-dark:is(#qbd, body) .page-header svg[width="56"] { stroke: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .page-header h2 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-header p.text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-body .rounded-\[20px\] { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .page-body .rounded-\[20px\]:hover { border: 1.5px solid #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .rounded-\[20px\] .avatar { background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .page-body .rounded-\[20px\] .avatar svg,
body.theme-dark:is(#qbd, body) .page-body .rounded-\[20px\] .avatar svg * { stroke: #ECE9E1 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .rounded-\[20px\] h4 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .rounded-\[20px\] h4 a { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .rounded-\[20px\] .text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-body .rounded-\[20px\] h4 svg { stroke: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .page-body .rounded-\[20px\] .btn { border: 1px solid rgba(246, 244, 238, 0.13) !important; background: #1C2723 !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-body .rounded-\[20px\] .btn:hover { border-color: #ECE9E1 !important; color: #FF6A55 !important; }

/* ── marking-desk-home.css ── */
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .page-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .page-header .page-pretitle { color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card-header { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card h2,
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card h3 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card h2 > svg,
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card h3 > svg { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; stroke: #FF6A55 !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card h2 > svg path[style*="fill"],
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card h3 > svg path { fill: #FF6A55 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card p,
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card .subheader.font-medium { color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card p .text-heading,
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card strong { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] p.subheader { color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card .h1 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card [class*="border-[var(--tblr-border-color)]"],
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card .border-bottom { border-color: rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .progress.progress-separated { background: rgba(246, 244, 238, 0.10) !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .progress-bar.bg-primary { background: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .legend.bg-primary { background: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .legend.bg-danger { background: rgba(246, 244, 238, 0.25) !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card .text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] #chart-credit .apexcharts-series[seriesName="Remaining"] path { fill: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] #chart-credit .apexcharts-series[seriesName="Used"] path { fill: rgba(246, 244, 238, 0.12) !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] #chart-credit .apexcharts-legend-series:nth-child(1) .apexcharts-legend-marker { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] #chart-credit .apexcharts-legend-series:nth-child(2) .apexcharts-legend-marker { background: rgba(246, 244, 238, 0.25) !important; color: rgba(246, 244, 238, 0.25) !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] #chart-credit .apexcharts-legend-text { color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card h3.absolute { color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card h3.absolute strong { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card .btn,
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card .btn[style] { background: #ECE9E1 !important; background-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card-table td { border-bottom: 1px solid rgba(246, 244, 238, 0.09) !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card-table tr:hover td { background: #202B27 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card-table .avatar { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card-table .avatar svg { stroke: #ECE9E1 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card-table .font-medium { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card-table .italic { color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card-table a:hover .font-medium { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card-table .text-heading { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card-table [class*="bg-[#E2FFFC]"] { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card-body:has(> .text-center.py-4),
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] .card .text-muted.text-center { color: #97A59F !important; }

/* ── marking-desk-image.css ── */
html body.theme-dark:is(#qbd, body) { background-color: #212E29 !important; }
body.theme-dark:is(#qbd, body) .page-header .page-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-header .page-pretitle { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .img-left-card,
body.theme-dark:is(#qbd, body) .img-right-card,
body.theme-dark:is(#qbd, body) .card.img-left-card,
body.theme-dark:is(#qbd, body) .card.img-right-card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .img-hero { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .img-hero-icon-wrap { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; }
body.theme-dark:is(#qbd, body) .img-hero-icon-wrap svg { stroke: #FF6A55 !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .img-hero-text h2 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .img-hero-text p { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .img-form-body .form-label,
body.theme-dark:is(#qbd, body) .img-form-body label.form-label { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .img-form-body .form-label::after { background: rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .img-form-body .form-control,
body.theme-dark:is(#qbd, body) .img-form-body .form-select,
body.theme-dark:is(#qbd, body) .img-form-body textarea.form-control,
body.theme-dark:is(#qbd, body) .img-form-body select.form-control { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .img-form-body .form-control:focus,
body.theme-dark:is(#qbd, body) .img-form-body .form-select:focus,
body.theme-dark:is(#qbd, body) .img-form-body textarea.form-control:focus { border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .img-form-body textarea.form-control::placeholder,
body.theme-dark:is(#qbd, body) .img-form-body .form-control::placeholder { color: #7F8C87 !important; }
body.theme-dark:is(#qbd, body) .img-form-body .text-heading { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .img-form-body a[href="#advanced-settings"],
body.theme-dark:is(#qbd, body) .img-form-body .image-fillanexample,
body.theme-dark:is(#qbd, body) .img-form-body a.text-primary { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .img-form-body a[href="#advanced-settings"]:hover,
body.theme-dark:is(#qbd, body) .img-form-body .image-fillanexample:hover,
body.theme-dark:is(#qbd, body) .img-form-body a.text-primary:hover { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .img-form-body .text-heading.font-medium,
body.theme-dark:is(#qbd, body) .img-form-body .legend + span { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #openai_generator_button,
body.theme-dark:is(#qbd, body) #openai_generator_button.btn-primary { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .form-selectgroup-item-image-gen .form-selectgroup-label { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .form-selectgroup-input:checked + .form-selectgroup-label { border: 1.5px solid #ECE9E1 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .img-right-card .border-bottom { border-color: rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .img-right-card h3,
body.theme-dark:is(#qbd, body) .img-right-card h4 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .img-right-card p,
body.theme-dark:is(#qbd, body) .img-right-card .text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .img-right-card .btn,
body.theme-dark:is(#qbd, body) .img-right-card .btn-light,
body.theme-dark:is(#qbd, body) .img-right-card .btn-secondary { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .img-right-card .btn:hover,
body.theme-dark:is(#qbd, body) .img-right-card .btn-light:hover,
body.theme-dark:is(#qbd, body) .img-right-card .btn-secondary:hover { background: #ECE9E1 !important; border-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .img-right-card .dropdown-menu { border: 1px solid rgba(246, 244, 238, 0.13) !important; box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.16) !important; }
body.theme-dark:is(#qbd, body) .img-right-card .dropdown-item { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .img-right-card .dropdown-item:hover { background: #212E29 !important; }

/* ── marking-desk-payflow.css ── */
body.theme-dark:is(#qbd, body)[data-md^="dashboard.user.payment."] .page-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.user.payment."] .page-pretitle { color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md^="dashboard.user.payment."] .page-pretitle:hover { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .accordion-item { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .accordion-button { color: #97A59F !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .accordion-button:not(.collapsed) { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .accordion-body .form-control { border: 1px solid rgba(246, 244, 238, 0.2) !important; background: #212E29 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .accordion-body .form-control:focus { border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .accordion-body .form-control::placeholder { color: #7F8C87 !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .accordion-body .btn.btn-sm { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .accordion-body .btn.btn-sm:hover { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .accordion-body .btn.btn-sm svg { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) #payment-form { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) #qb-pack-hint { color: #C9CFCB !important; background: rgba(244, 224, 90, 0.14) !important; border: 1px solid rgba(246, 244, 238, 0.12) !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) #qb-pack-hint a { color: #ECE9E1 !important; text-decoration-color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) #payment-form button#submit,
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) #payment-form button[type="button"] { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) #payment-form .spinner { color: #14201C !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) #payment-form .spinner:before,
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) #payment-form .spinner:after { background: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) #payment-message { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .col-sm-8 center p { color: #97A59F !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .col-sm-8 center a { color: #ECE9E1 !important; text-decoration-color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .col-sm-4 .card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .col-sm-4 .ribbon { background: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .col-sm-4 .card-body > .text-center:first-child,
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .col-sm-4 .card-body > div.rounded-\[8px\] { color: #97A59F !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .col-sm-4 .text-\[50px\] { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .col-sm-4 .text-\[50px\] small { color: #97A59F !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .col-sm-4 hr { border-color: rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .col-sm-4 ul li { color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .col-sm-4 ul li strong { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .col-sm-4 ul li .text-end { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .col-sm-4 ul li .text-start { color: #97A59F !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .col-sm-4 ul li > span[class*="rounded-xl"] { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .col-sm-4 ul li span[style*="color:#0e4686"] { color: #97A59F !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .col-sm-4 ul li span[class*="684AE2"] { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .col-sm-4 .btn { border: 1px solid rgba(246, 244, 238, 0.25) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body):is([data-md$=".checkout"], [data-md$=".startSubscriptionProcess"], [data-md$=".startPrepaidPaymentProcess"]) .col-sm-4 .btn:hover { border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.payment.succesful"] .page-body .container-xl { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.payment.succesful"] .checkmark { background: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.payment.succesful"] h1.text-heading { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.payment.succesful"] .page-body p.text-heading { color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.payment.succesful"] .page-body .btn.btn-primary { background: #ECE9E1 !important; color: #14201C !important; }

/* ── marking-desk-payment.css ── */
html body.theme-dark:is(#qbd, body) { background-color: #212E29 !important; }
body.theme-dark:is(#qbd, body) .payment-page-hero,
body.theme-dark:is(#qbd, body) .finance-status-hero { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .payment-page-hero-icon,
body.theme-dark:is(#qbd, body) .finance-status-hero-icon { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .payment-page-hero-icon svg,
body.theme-dark:is(#qbd, body) .finance-status-hero-icon svg { stroke: #FF6A55 !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .payment-page-hero-title,
body.theme-dark:is(#qbd, body) .finance-status-hero-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .payment-page-hero-subtitle,
body.theme-dark:is(#qbd, body) .finance-status-hero-subtitle { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .payment-page-hero-back { color: #97A59F !important; border: 1px solid rgba(246, 244, 238, 0.18) !important; }
body.theme-dark:is(#qbd, body) .payment-page-hero-back:hover { border-color: #ECE9E1 !important; color: #ECE9E1 !important; background: #212E29 !important; }
body.theme-dark:is(#qbd, body) #monthlyBtn,
body.theme-dark:is(#qbd, body) #yearlyBtn,
body.theme-dark:is(#qbd, body) #prepaidBtn { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) #monthlyBtn:hover,
body.theme-dark:is(#qbd, body) #yearlyBtn:hover,
body.theme-dark:is(#qbd, body) #prepaidBtn:hover { border-color: #ECE9E1 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .tab-btn-active,
body.theme-dark:is(#qbd, body) #monthlyBtn.tab-btn-active,
body.theme-dark:is(#qbd, body) #yearlyBtn.tab-btn-active,
body.theme-dark:is(#qbd, body) #prepaidBtn.tab-btn-active { background: #ECE9E1 !important; border: 1.5px solid #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .bg-purple-100 { color: #E9D75A !important; }
body.theme-dark:is(#qbd, body) .text-purple-700 { color: #E9D75A !important; }
body.theme-dark:is(#qbd, body) .page-body div[style*="fff7ed"] { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .plan-card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .plan-card:hover { border-color: #ECE9E1 !important; box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.16) !important; }
body.theme-dark:is(#qbd, body) .plan-card-featured { border: 1.5px solid #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .plan-name-pill,
body.theme-dark:is(#qbd, body) .plan-card-featured .plan-name-pill { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .plan-card-featured .plan-name-pill { background: #ECE9E1 !important; border-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .plan-card .text-4xl,
body.theme-dark:is(#qbd, body) .plan-card .text-5xl,
body.theme-dark:is(#qbd, body) .plan-card [class*="text-["] { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .plan-card .text-muted,
body.theme-dark:is(#qbd, body) .plan-card .text-gray-500,
body.theme-dark:is(#qbd, body) .plan-card small { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .plan-card s,
body.theme-dark:is(#qbd, body) .plan-card del { color: #7F8C87 !important; }
body.theme-dark:is(#qbd, body) .plan-feature-header { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .plan-check-icon { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .plan-check-icon svg { stroke: #4CC9A3 !important; color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .plan-card li,
body.theme-dark:is(#qbd, body) .plan-card ul { color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .btn-choose-plan { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .btn-choose-plan:hover { background: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .page-body h2,
body.theme-dark:is(#qbd, body) .page-body h3 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .btn-danger,
body.theme-dark:is(#qbd, body) .page-body a.btn-danger { background: #1C2723 !important; color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .page-body .btn-danger:hover { border-color: #FF6A55 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .page-body table thead th { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-body table tbody td { border-bottom: 1px solid rgba(246, 244, 238, 0.09) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .bg-purple-100,
body.theme-dark:is(#qbd, body) .tab-btn-active .bg-purple-100,
body.theme-dark:is(#qbd, body) #yearlyBtn .bg-purple-100 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .tab-btn-active .text-purple-700,
body.theme-dark:is(#qbd, body) #yearlyBtn .text-purple-700 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .plan-card:hover { border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .plan-card-featured { border: 1.5px solid #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .card > .finance-status-hero { border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .card:has(> .finance-status-hero) .card-body p { color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .card:has(> .finance-status-hero) .card-body .text-heading { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .card:has(> .finance-status-hero) .card-body .btn,
body.theme-dark:is(#qbd, body) .card:has(> .finance-status-hero) .card-body .btn[style] { border: 1px solid rgba(246, 244, 238, 0.25) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .card:has(> .finance-status-hero) .card-body .btn:hover { border-color: #ECE9E1 !important; background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .card:has(> .finance-status-hero) .card-body a.btn[href*="account-deletion"] { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .card:has(> .finance-status-hero) .card-body a.btn[href*="account-deletion"]:hover { border-color: #FF6A55 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .card:has(> .finance-status-hero) .card-body span.btn[style*="dcfce7"] { color: #4CC9A3 !important; }

/* ── marking-desk-quizhistory.css ── */
html body.theme-dark:is(#qbd, body) { background-color: #212E29 !important; }
body.theme-dark:is(#qbd, body) .page-header .animated-svg,
body.theme-dark:is(#qbd, body) .page-header svg { stroke: #FF6A55 !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .page-header h2,
body.theme-dark:is(#qbd, body) .page-header h2[style] { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-header p.text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-header .btn-primary { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .qh-list { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .qh-header { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .qh-row,
body.theme-dark:is(#qbd, body) .qh-row.score-green,
body.theme-dark:is(#qbd, body) .qh-row.score-orange,
body.theme-dark:is(#qbd, body) .qh-row.score-red { background: #1C2723 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.09) !important; }
body.theme-dark:is(#qbd, body) .qh-row:hover { background: #202B27 !important; }
body.theme-dark:is(#qbd, body) .qh-topic-title,
body.theme-dark:is(#qbd, body) .qh-topic-title a { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .qh-topic-title a:hover { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .qh-topic-sub { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .score-pill { background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .score-pill.green { color: #4CC9A3 !important; border-color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .score-pill.orange { color: #E9D75A !important; border-color: #B9A52C !important; }
body.theme-dark:is(#qbd, body) .score-pill.red { color: #FF8A78 !important; border-color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .status-badge.status-mastered { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .status-badge.status-progress { color: #E9D75A !important; }
body.theme-dark:is(#qbd, body) .status-badge.status-practice { background: rgba(246, 244, 238, 0.07) !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .qh-stats-count { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .qh-stats-label,
body.theme-dark:is(#qbd, body) .qh-meta-item { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .qh-meta-item svg { stroke: #97A59F !important; }
body.theme-dark:is(#qbd, body) .qh-check { border: 1.5px solid rgba(246, 244, 238, 0.35) !important; }
body.theme-dark:is(#qbd, body) .qh-check:checked { background-color: #ECE9E1 !important; border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .btn-view-results { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .btn-view-results:hover { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .btn-share-quiz { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .btn-share-quiz:hover { background: #ECE9E1 !important; border-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .btn-delete-quiz { border: 1px solid rgba(246, 244, 238, 0.15) !important; background: #1C2723 !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .btn-delete-quiz:hover { border-color: #FF6A55 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) #bulkActionBar { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .btn-bulk-delete { color: #14201C !important; }
body.theme-dark:is(#qbd, body) .btn-bulk-clear { color: #14201C !important; }
body.theme-dark:is(#qbd, body) .btn-bulk-clear:hover { border-color: #2B3A35 !important; }
body.theme-dark:is(#qbd, body) .qh-empty { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .qh-empty-icon { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .qh-empty-icon svg { stroke: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .qh-empty h4 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .qh-empty p { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-body .text-muted.small { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .pagination .page-link { border: 1px solid rgba(246, 244, 238, 0.15) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .pagination .page-item.active .page-link { background: #ECE9E1 !important; border-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.exam-prep.index"] .review-container > .row.mb-4 h2 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.exam-prep.index"] .review-container > .row.mb-4 p.text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.exam-prep.index"] .btn.btn-primary { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.exam-prep.index"] .btn.btn-outline-danger { border: 1px solid rgba(246, 244, 238, 0.2) !important; background: #1C2723 !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.exam-prep.index"] .btn.btn-outline-danger:hover { border-color: #FF6A55 !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.exam-prep.index"] .qh-header { color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.exam-prep.index"] .qh-row { border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.exam-prep.index"] .item-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.exam-prep.index"] .status-badge.bg-warning { color: #E9D75A !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.exam-prep.index"] .status-badge.bg-success { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.exam-prep.index"] .status-badge.bg-primary { background: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.exam-prep.index"] .status-badge.bg-secondary { background: rgba(246, 244, 238, 0.07) !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.exam-prep.index"] .mastery-progress-bar-wrap { background: rgba(246, 244, 238, 0.10) !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.exam-prep.index"] .mastery-perc { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.exam-prep.index"] .date-text { color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.exam-prep.index"] .date-text svg { stroke: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.exam-prep.index"] .stats-text { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.exam-prep.index"] .stats-label { color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.exam-prep.index"] .alert-success { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.exam-prep.index"] .card.border-0.shadow-sm { border: 1px solid rgba(246, 244, 238, 0.13) !important; }

/* ── marking-desk-quizme.css ── */
html body.theme-dark:is(#qbd, body) { background-color: #212E29 !important; }
body.theme-dark:is(#qbd, body) .page-header .rounded-5.shadow-sm.border { border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .page-header .rounded-5 .bg-blue-600 { background: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-header .rounded-5 a { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-header .rounded-5 .text-primary { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-header .page-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .modern-card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .intro-icon-lg { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .intro-icon-lg svg { stroke: #FF6A55 !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .intro-eyebrow { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .intro-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .intro-pill { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.18) !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .intro-pill strong { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .intro-cta,
body.theme-dark:is(#qbd, body) .intro-cta.btn-primary { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .intro-cta:hover { background: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .intro-divider { border-top: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .intro-section-title { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .intro-mode-card { border: 1px solid rgba(246, 244, 238, 0.16) !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .intro-mode-card::before { border: 1.5px solid rgba(246, 244, 238, 0.35) !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .intro-mode-card:hover { border-color: #ECE9E1 !important; background: #202B27 !important; }
body.theme-dark:is(#qbd, body) .intro-mode-card.is-active { border: 1.5px solid #ECE9E1 !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .intro-mode-card.is-active::before { border-color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .intro-mode-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .intro-mode-title svg { color: #ECE9E1 !important; stroke: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .intro-mode-desc { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .perk-tile,
body.theme-dark:is(#qbd, body) .perk-purple,
body.theme-dark:is(#qbd, body) .perk-amber,
body.theme-dark:is(#qbd, body) .perk-green,
body.theme-dark:is(#qbd, body) .perk-blue { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .perk-tile:hover { border-color: rgba(246, 244, 238, 0.3) !important; }
body.theme-dark:is(#qbd, body) .perk-icon,
body.theme-dark:is(#qbd, body) .perk-purple .perk-icon,
body.theme-dark:is(#qbd, body) .perk-amber .perk-icon,
body.theme-dark:is(#qbd, body) .perk-green .perk-icon,
body.theme-dark:is(#qbd, body) .perk-blue .perk-icon { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .perk-icon svg { stroke: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .perk-text { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .quiz-progress-card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .quiz-progress-head { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .quiz-progress-head .text-sm.font-bold,
body.theme-dark:is(#qbd, body) #stepCounter { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .progress-chip { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .timer-pill,
body.theme-dark:is(#qbd, body) .saved-pill { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .saved-pill { border-color: #4CC9A3 !important; color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .progress-bar-container { background: rgba(246, 244, 238, 0.10) !important; }
body.theme-dark:is(#qbd, body) .q-palette-item { border: 1px solid rgba(246, 244, 238, 0.2) !important; background: #1C2723 !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .q-palette-item:hover { border-color: #ECE9E1 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .q-palette-item.is-answered { border-color: #4CC9A3 !important; color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .q-palette-item.is-current,
body.theme-dark:is(#qbd, body) .q-palette-item.is-current.is-answered { background: #ECE9E1 !important; border-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .q-palette-item.is-marked::after { border-color: #2B3A35 !important; }
body.theme-dark:is(#qbd, body) .q-palette-pills { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .q-palette-pills .badge,
body.theme-dark:is(#qbd, body) .q-palette-pills span[class*="bg-"] { background: rgba(246, 244, 238, 0.07) !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .kbd-hint { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .kbd-hint kbd { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.2) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .quiz-card-wrap { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .quiz-card-inner .q-badge.bg-blue-600 { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .quiz-card-inner h3.text-xl { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .review-flag-btn { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .review-flag-btn:hover { border-color: #ECE9E1 !important; color: #ECE9E1 !important; background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .review-flag-btn.is-marked { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .option-card { border: 1px solid rgba(246, 244, 238, 0.16) !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .option-card:hover { border-color: #ECE9E1 !important; background: #202B27 !important; }
body.theme-dark:is(#qbd, body) .option-card .q-badge.bg-blue-100 { border: 1.5px solid rgba(246, 244, 238, 0.3) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .option-card .text-gray-700 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .option-card .option-key { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .option-card.selected { border: 1.5px solid #ECE9E1 !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .option-card.selected .q-badge { border-color: #FF6A55 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .option-card.is-correct { border: 1.5px solid #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .option-card.is-correct .q-badge { border-color: #4CC9A3 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .option-card.is-wrong { border: 1.5px solid #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .option-card.is-wrong .q-badge { border-color: #FF6A55 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .practice-feedback { border: 1px solid rgba(246, 244, 238, 0.13) !important; background: #212E29 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .practice-feedback.is-correct { border-color: #4CC9A3 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .practice-feedback.is-wrong { border-color: #FF6A55 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .practice-feedback.is-correct .practice-feedback-title { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .practice-feedback.is-wrong .practice-feedback-title { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .practice-feedback-explanation { color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .confidence-row { border-top: 1px dashed rgba(246, 244, 238, 0.2) !important; }
body.theme-dark:is(#qbd, body) .confidence-label { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .confidence-end { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .confidence-dot { border: 1px solid rgba(246, 244, 238, 0.25) !important; background: #1C2723 !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .confidence-dot:hover { border-color: #ECE9E1 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .confidence-dot.is-selected { background: #ECE9E1 !important; border-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .confidence-dot.is-soft-selected { background: rgba(246, 244, 238, 0.08) !important; border-color: rgba(246, 244, 238, 0.3) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .confidence-clear { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .nav-hint { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #skipBtn { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #skipBtn:hover { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #nextBtn,
body.theme-dark:is(#qbd, body) #submitBtn { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) #submissionLoadingModal .modal-content,
body.theme-dark:is(#qbd, body) #submissionLoadingModal .modal-content[style] { border: 1px solid rgba(246, 244, 238, 0.15) !important; background: #1C2723 !important; box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.16) !important; }
body.theme-dark:is(#qbd, body) .submit-stage-icon,
body.theme-dark:is(#qbd, body) .submit-stage-icon.is-stage-2,
body.theme-dark:is(#qbd, body) .submit-stage-icon.is-stage-3 { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .submit-stage-icon.is-stage-2 { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .submit-stage-icon.is-stage-3 { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) #submitStageTitle { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #submitStageSub { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #submissionLoadingModal .progress { background: rgba(246, 244, 238, 0.10) !important; }
body.theme-dark:is(#qbd, body) .submit-step { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .submit-step-dot { border: 1.5px solid rgba(246, 244, 238, 0.25) !important; background: #1C2723 !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .submit-step.is-active { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .submit-step.is-active .submit-step-dot { background: #ECE9E1 !important; border-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .submit-step.is-done { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .submit-step.is-done .submit-step-dot { border-color: #4CC9A3 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) #submissionLoadingModal .text-secondary.text-xs { color: #97A59F !important; }
body.theme-dark:is(#qbd, body).modal-open .modal-backdrop { background: #ECE9E1 !important; }

/* ── marking-desk-results.css ── */
html body.theme-dark:is(#qbd, body) { background-color: #212E29 !important; }
body.theme-dark:is(#qbd, body) .modern-card,
body.theme-dark:is(#qbd, body) .card.modern-card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .results-card-hero,
body.theme-dark:is(#qbd, body) .results-score-hero { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .results-hero-icon { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; }
body.theme-dark:is(#qbd, body) .results-hero-icon svg { stroke: #FF6A55 !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .results-hero-title,
body.theme-dark:is(#qbd, body) .results-score-hero-label { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .results-hero-subtitle { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .results-card-hero .badge,
body.theme-dark:is(#qbd, body) .results-card-hero .rounded-pill { background: rgba(246, 244, 238, 0.07) !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .score-circle .text-gray-400 { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-body h2.text-2xl,
body.theme-dark:is(#qbd, body) .page-body .text-2xl.font-bold { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .text-gray-500,
body.theme-dark:is(#qbd, body) .page-body .text-gray-600,
body.theme-dark:is(#qbd, body) .page-body .text-secondary { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-body .bg-light.rounded-3 { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .page-body .bg-light.rounded-3 .text-uppercase { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-body .bg-light.rounded-3 .fs-3,
body.theme-dark:is(#qbd, body) .page-body .bg-light.rounded-3 .fs-4,
body.theme-dark:is(#qbd, body) .page-body .bg-light.rounded-3 .font-bold,
body.theme-dark:is(#qbd, body) .page-body .bg-light.rounded-3 .fw-bold { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .bg-light.rounded-3 .text-success { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .page-body .bg-light.rounded-3 .text-danger { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .accuracy-bar { background: rgba(246, 244, 238, 0.12) !important; }
body.theme-dark:is(#qbd, body) .page-body .d-flex.flex-column.gap-3 .btn,
body.theme-dark:is(#qbd, body) .page-body .d-flex.flex-column.gap-3 .btn[style] { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; background-color: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .d-flex.flex-column.gap-3 .btn:hover { border-color: #ECE9E1 !important; background: #212E29 !important; background-color: #212E29 !important; }
body.theme-dark:is(#qbd, body) .page-body .d-flex.flex-column.gap-3 .btn:first-child,
body.theme-dark:is(#qbd, body) .page-body .d-flex.flex-column.gap-3 .btn:first-child[style] { background: #ECE9E1 !important; background-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .page-body .d-flex.flex-column.gap-3 .btn:first-child:hover { background: #ECE9E1 !important; background-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .d-flex.flex-column.gap-3 .btn.is-locked { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .ai-tool-card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .ai-tool-card:hover { border: 1.5px solid #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .ai-tool-icon,
body.theme-dark:is(#qbd, body) .ai-tool-icon[class*="bg-"] { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .ai-tool-icon svg { stroke: #ECE9E1 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .ai-tool-card:hover .ai-tool-icon svg { stroke: #FF6A55 !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .ai-tool-card h4,
body.theme-dark:is(#qbd, body) .ai-tool-card h5,
body.theme-dark:is(#qbd, body) .ai-tool-card .font-bold,
body.theme-dark:is(#qbd, body) .ai-tool-card .fw-bold { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .ai-tool-card p,
body.theme-dark:is(#qbd, body) .ai-tool-card .text-gray-500,
body.theme-dark:is(#qbd, body) .ai-tool-card .text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .hub-badge-recommended { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .hub-badge-popular { background: rgba(246, 244, 238, 0.08) !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .hub-badge-new { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .hub-tooltip .tooltip-text { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .hub-tooltip .tooltip-text::after { border-top-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .answer-row { border-bottom: 1px solid rgba(246, 244, 238, 0.09) !important; }
body.theme-dark:is(#qbd, body) .answer-chip { background: rgba(246, 244, 238, 0.07) !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .answer-chip.student-right,
body.theme-dark:is(#qbd, body) .answer-chip.correct { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .answer-chip.student-wrong { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .option-badge { border: 1.5px solid rgba(246, 244, 238, 0.3) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .form-select.rounded-pill { border: 1px solid rgba(246, 244, 238, 0.18) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .btn-outline-secondary.rounded-pill { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .btn-outline-secondary.rounded-pill:hover { border-color: #ECE9E1 !important; background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .page-body .rounded-5.shadow-sm.border,
body.theme-dark:is(#qbd, body) .page-header .rounded-5.shadow-sm.border { border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .rounded-5.shadow-sm.border .bg-blue-600 { background: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .rounded-5.shadow-sm.border a { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .rounded-5.shadow-sm.border .text-primary { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #aiToolModal .modal-content,
body.theme-dark:is(#qbd, body) #aiToolModal .modal-content[style],
body.theme-dark:is(#qbd, body) #practiceModal .modal-content,
body.theme-dark:is(#qbd, body) .practice-modal .modal-content { border: 1px solid rgba(246, 244, 238, 0.15) !important; box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.16) !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body).modal-open .modal-backdrop { background: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #genericModalHeader,
body.theme-dark:is(#qbd, body) #analyzeModalHeader,
body.theme-dark:is(#qbd, body) #analyzeModalHeader[style],
body.theme-dark:is(#qbd, body) #flashcardModalHeader,
body.theme-dark:is(#qbd, body) #flashcardModalHeader[style],
body.theme-dark:is(#qbd, body) #studyPlanModalHeader,
body.theme-dark:is(#qbd, body) #studyPlanModalHeader[style],
body.theme-dark:is(#qbd, body) #mindmapModalHeader,
body.theme-dark:is(#qbd, body) #mindmapModalHeader[style],
body.theme-dark:is(#qbd, body) #goldenNuggetsModalHeader,
body.theme-dark:is(#qbd, body) #goldenNuggetsModalHeader[style] { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) #aiToolModal .modal-header .modal-title,
body.theme-dark:is(#qbd, body) #aiToolModal [id$="ModalHeader"] .fs-3,
body.theme-dark:is(#qbd, body) #aiToolModal [id$="ModalHeader"] .fw-bold,
body.theme-dark:is(#qbd, body) #aiToolModal [id$="ModalHeader"] h3,
body.theme-dark:is(#qbd, body) #aiToolModal [id$="ModalHeader"] h4,
body.theme-dark:is(#qbd, body) #aiToolModal [id$="ModalHeader"] .text-white { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #aiToolModal [id$="ModalHeader"] .opacity-75,
body.theme-dark:is(#qbd, body) #aiToolModal [id$="ModalHeader"] .text-white.opacity-75,
body.theme-dark:is(#qbd, body) #aiToolModal [id$="ModalHeader"] .small,
body.theme-dark:is(#qbd, body) #aiToolModal [id$="ModalHeader"] div[style*="font-size:.85rem"] { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #aiToolModal .modal-header .btn,
body.theme-dark:is(#qbd, body) #aiToolModal [id$="ModalHeader"] .btn:not(.btn-close),
body.theme-dark:is(#qbd, body) #aiToolModal [id$="ModalHeader"] .btn[style] { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #aiToolModal [id$="ModalHeader"] .btn:hover { border-color: #ECE9E1 !important; background: #212E29 !important; }
body.theme-dark:is(#qbd, body) #aiToolModal [id$="ModalHeader"] .btn-primary,
body.theme-dark:is(#qbd, body) #aiToolModal .modal-header .btn-primary { background: #ECE9E1 !important; border-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) #analyzeScoreBadge { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #aiToolModal .modal-body { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #aiToolModalBody h3,
body.theme-dark:is(#qbd, body) .ai-content-area h3,
body.theme-dark:is(#qbd, body) #aiToolModal .modal-body h4,
body.theme-dark:is(#qbd, body) #aiToolModal .modal-body h5 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #aiToolModalBody li,
body.theme-dark:is(#qbd, body) .ai-content-area li { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #aiToolModal .modal-body table thead th { background: #212E29 !important; color: #97A59F !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) #aiToolModal .modal-body table td { border-bottom: 1px solid rgba(246, 244, 238, 0.09) !important; }
body.theme-dark:is(#qbd, body) #aiToolModal .spinner-border { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .analyze-tab-btn,
body.theme-dark:is(#qbd, body) .analyze-tab-btn[style],
body.theme-dark:is(#qbd, body) .sp-tab-btn,
body.theme-dark:is(#qbd, body) .sp-tab-btn[style] { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .analyze-tab-btn:hover,
body.theme-dark:is(#qbd, body) .sp-tab-btn:hover { border-color: #ECE9E1 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .analyze-tab-btn.active,
body.theme-dark:is(#qbd, body) .analyze-tab-btn.active[style],
body.theme-dark:is(#qbd, body) .sp-tab-btn.active,
body.theme-dark:is(#qbd, body) .sp-tab-btn.active[style] { background: #ECE9E1 !important; border: 1.5px solid #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .explanation-box,
body.theme-dark:is(#qbd, body) .next-action-callout { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .topic-bar-track { background: rgba(246, 244, 238, 0.10) !important; }
body.theme-dark:is(#qbd, body) .topic-bar-label { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .sp-week-dot,
body.theme-dark:is(#qbd, body) .sp-week-dot[style] { background: #1C2723 !important; border: 1.5px solid rgba(246, 244, 238, 0.25) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .sp-week-bubble.active .sp-week-dot { background: #ECE9E1 !important; border-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .sp-week-label { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .sp-day-card { border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .sp-day-header { background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .sp-day-header:hover { background: #243330 !important; }
body.theme-dark:is(#qbd, body) .sp-day-badge,
body.theme-dark:is(#qbd, body) .sp-day-badge[style] { background: #1C2723 !important; border: 1.5px solid #ECE9E1 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .sp-day-body { border-top: 1px solid rgba(246, 244, 238, 0.13) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .sp-technique { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .sp-chip,
body.theme-dark:is(#qbd, body) .sp-chip-khan,
body.theme-dark:is(#qbd, body) .sp-chip-other,
body.theme-dark:is(#qbd, body) .sp-chip-wiki,
body.theme-dark:is(#qbd, body) .sp-chip-yt,
body.theme-dark:is(#qbd, body) .gn-chip,
body.theme-dark:is(#qbd, body) .gn-chip-khan,
body.theme-dark:is(#qbd, body) .gn-chip-other,
body.theme-dark:is(#qbd, body) .gn-chip-wiki,
body.theme-dark:is(#qbd, body) .gn-chip-youtube,
body.theme-dark:is(#qbd, body) .mm-resource-chip,
body.theme-dark:is(#qbd, body) .mm-chip-khan,
body.theme-dark:is(#qbd, body) .mm-chip-other,
body.theme-dark:is(#qbd, body) .mm-chip-wiki,
body.theme-dark:is(#qbd, body) .mm-chip-youtube { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.18) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .sp-chip:hover,
body.theme-dark:is(#qbd, body) .gn-chip:hover,
body.theme-dark:is(#qbd, body) .mm-resource-chip:hover { border-color: #ECE9E1 !important; background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .sp-chip-yt,
body.theme-dark:is(#qbd, body) .gn-chip-youtube,
body.theme-dark:is(#qbd, body) .mm-chip-youtube { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .sp-chevron,
body.theme-dark:is(#qbd, body) .gn-card-toggle { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .gn-card { border: 1px solid rgba(246, 244, 238, 0.13) !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .gn-card-header { background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .gn-card-header:hover { background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .gn-card-num,
body.theme-dark:is(#qbd, body) .gn-card-num[style] { background: #1C2723 !important; border: 1.5px solid #ECE9E1 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .gn-card-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .gn-status-mastered { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .gn-status-missed { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .gn-card-body { border-top: 1px solid rgba(246, 244, 238, 0.13) !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .gn-section-label,
body.theme-dark:is(#qbd, body) .gn-label-fact,
body.theme-dark:is(#qbd, body) .gn-label-tip,
body.theme-dark:is(#qbd, body) .gn-label-ex,
body.theme-dark:is(#qbd, body) .gn-label-misc { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .gn-label-tip { color: #E9D75A !important; }
body.theme-dark:is(#qbd, body) .gn-label-misc { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .gn-section { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .gn-section-text { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .fc-front-face,
body.theme-dark:is(#qbd, body) .fc-back-face { border: 1px solid rgba(246, 244, 238, 0.15) !important; }
body.theme-dark:is(#qbd, body) .fc-front-face { background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .fc-back-face { background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .fc-concept-pill,
body.theme-dark:is(#qbd, body) .fc-concept-pill[style] { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.18) !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .fc-question,
body.theme-dark:is(#qbd, body) .fc-answer { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .fc-flip-tip { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .fc-flip-btn,
body.theme-dark:is(#qbd, body) .fc-hint-btn,
body.theme-dark:is(#qbd, body) .fc-nav-btn { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .fc-flip-btn:hover,
body.theme-dark:is(#qbd, body) .fc-hint-btn:hover,
body.theme-dark:is(#qbd, body) .fc-nav-btn:hover:not(:disabled) { border-color: #ECE9E1 !important; background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .fc-flip-btn { background: #ECE9E1 !important; border-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .fc-flip-btn:hover { background: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .fc-hint-reveal { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .fc-still-learning { background: #1C2723 !important; border: 1.5px solid #FF6A55 !important; color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .fc-got-it { background: #1C2723 !important; border: 1.5px solid #4CC9A3 !important; color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .fc-progress-bar { background: rgba(246, 244, 238, 0.10) !important; }
body.theme-dark:is(#qbd, body) .fc-progress-label { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .fc-dot { background: rgba(246, 244, 238, 0.15) !important; }
body.theme-dark:is(#qbd, body) .fc-dot.seen { background: rgba(246, 244, 238, 0.35) !important; }
body.theme-dark:is(#qbd, body) .fc-dot.current { background: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .fc-summary h3 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .fc-stat-box { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .fc-stat-mastered { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .fc-stat-review { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .mm-canvas-wrap { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .mm-legend { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .mm-reset-btn,
body.theme-dark:is(#qbd, body) .mm-fullscreen-btn { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .mm-reset-btn:hover,
body.theme-dark:is(#qbd, body) .mm-fullscreen-btn:hover { border-color: #ECE9E1 !important; background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .mm-source-panel { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.16) !important; }
body.theme-dark:is(#qbd, body) .mm-source-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .mm-source-desc { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .practice-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .practice-question-box { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .practice-option { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.16) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .practice-option:hover { border-color: #ECE9E1 !important; background: #202B27 !important; }
body.theme-dark:is(#qbd, body) .practice-option .option-badge { border: 1.5px solid rgba(246, 244, 238, 0.3) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .practice-option.correct { border: 1.5px solid #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .practice-option.correct .option-badge { border-color: #4CC9A3 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .practice-option.wrong { border: 1.5px solid #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .practice-option.wrong .option-badge { border-color: #FF6A55 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) #practiceModal .btn-primary,
body.theme-dark:is(#qbd, body) .practice-modal .btn-primary { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) #practiceModal .btn-secondary,
body.theme-dark:is(#qbd, body) #practiceModal .btn-light,
body.theme-dark:is(#qbd, body) #practiceModal .btn-outline-primary { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #practiceModal .spinner-border { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) #aiToolModal .text-primary,
body.theme-dark:is(#qbd, body) #aiToolModal .text-indigo-600,
body.theme-dark:is(#qbd, body) #aiToolModal .text-blue-600,
body.theme-dark:is(#qbd, body) #aiToolModal .text-purple-600 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #aiToolModal .text-success { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) #aiToolModal .text-danger { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) #aiToolModal .text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .question-card,
body.theme-dark:is(#qbd, body) .question-card.bg-green-100,
body.theme-dark:is(#qbd, body) .question-card.bg-red-100 { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; border-left: 4px solid #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .question-card.is-wrong { border-left-color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .question-card .rounded-circle.text-green-600 { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .question-card .rounded-circle.text-red-600 { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .question-card h2 { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .question-card p.text-lg { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .question-card small.text-uppercase { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .explain-btn,
body.theme-dark:is(#qbd, body) .explain-btn.btn-outline-primary { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .explain-btn:hover { background: #ECE9E1 !important; border-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .btn-group[aria-label="Question Filters"] .btn { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .btn-group[aria-label="Question Filters"] .btn:hover { border-color: #ECE9E1 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .btn-group[aria-label="Question Filters"] .btn.active { background: #ECE9E1 !important; border-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .btn-group[aria-label="Question Filters"] .btn-outline-success.active { border-color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .btn-group[aria-label="Question Filters"] .btn-outline-danger.active { border-color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) #analyzeScoreBand,
body.theme-dark:is(#qbd, body) #analyzeScoreBand[style],
body.theme-dark:is(#qbd, body) #spIntro,
body.theme-dark:is(#qbd, body) #spIntro[style],
body.theme-dark:is(#qbd, body) #gnIntro,
body.theme-dark:is(#qbd, body) #gnIntro[style],
body.theme-dark:is(#qbd, body) #spTodayFocus,
body.theme-dark:is(#qbd, body) #spTodayFocus[style] { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #analyzeTabContent,
body.theme-dark:is(#qbd, body) #analyzeTabContent[style] { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .modern-card div.rounded-3.h-100[style*="border:2px solid #10b981"],
body.theme-dark:is(#qbd, body) .modern-card div.rounded-3.h-100[style*="border:2px solid #ef4444"],
body.theme-dark:is(#qbd, body) .modern-card div.rounded-3.h-100[style*="border:2px solid #f59e0b"],
body.theme-dark:is(#qbd, body) .modern-card div.rounded-3.h-100[style*="border:2px solid #3b82f6"] { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.14) !important; }
body.theme-dark:is(#qbd, body) .modern-card div.rounded-3.h-100[style*="border:2px solid #ef4444"] { border: 1.5px solid #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .modern-card div.rounded-3.h-100[style*="border:2px solid"] .text-uppercase[style] { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .modern-card div.rounded-3.h-100[style*="border:2px solid"] > .text-xs:not(.mt-2) { color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .modern-card div.rounded-3.h-100[style*="#ef4444"] > .text-xs.fw-bold { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .modern-card div.rounded-3.h-100[style*="border:2px solid"] .mt-2 a[style]:hover { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .modern-card div.rounded-3[style*="background:#fff5f5"] .fw-bold[style] { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .modern-card div.rounded-3[style*="background:#fff5f5"] .text-xs { color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .modern-card .card-body > .mt-2.text-xs.text-gray-500 { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #questions-breakdown div.rounded-3[style*="linear-gradient(135deg,#fef3c7"] .fw-bold[style] { color: #E9D75A !important; }
body.theme-dark:is(#qbd, body) #questions-breakdown div.rounded-3[style*="linear-gradient(135deg,#fef3c7"] .text-gray-800 { color: #ECE9E1 !important; }

/* ── marking-desk-rewriter.css ── */
html body.theme-dark:is(#qbd, body) { background-color: #212E29 !important; }
body.theme-dark:is(#qbd, body) .rw-left-card,
body.theme-dark:is(#qbd, body) .rw-right-card,
body.theme-dark:is(#qbd, body) .card.rw-left-card,
body.theme-dark:is(#qbd, body) .card.rw-right-card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .rw-hero { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .rw-hero-icon-wrap { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; }
body.theme-dark:is(#qbd, body) .rw-hero-icon-wrap svg { stroke: #FF6A55 !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .rw-hero-text h2 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .rw-hero-text p { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .rw-form-body .form-label,
body.theme-dark:is(#qbd, body) .rw-form-body label.form-label { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .rw-form-body .form-label::after { background: rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .rw-form-body .form-control,
body.theme-dark:is(#qbd, body) .rw-form-body .form-select,
body.theme-dark:is(#qbd, body) .rw-form-body textarea.form-control { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .rw-form-body .form-control:focus,
body.theme-dark:is(#qbd, body) .rw-form-body .form-select:focus,
body.theme-dark:is(#qbd, body) .rw-form-body textarea.form-control:focus { border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .rw-form-body textarea.form-control::placeholder { color: #7F8C87 !important; }
body.theme-dark:is(#qbd, body) .rw-form-body .text-end.mt-1.text-muted,
body.theme-dark:is(#qbd, body) .rw-form-body .text-muted[style*="12px"] { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #clear_rewrite_content { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #clear_rewrite_content:hover { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .rw-form-body .bg-light.rounded.border,
body.theme-dark:is(#qbd, body) .rw-form-body div[style*="f8fafc"] { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .rw-form-body .bg-light.rounded.border .text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .rw-form-body .bg-light.rounded.border .fw-bold,
body.theme-dark:is(#qbd, body) .rw-form-body .bg-light.rounded.border .text-primary { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #openai_generator_button,
body.theme-dark:is(#qbd, body) #openai_generator_button.btn-primary { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .rw-right-card .border-bottom { border-color: rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .rw-right-card .btn.btn-sm.btn-light.border { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .rw-right-card .btn.btn-sm.btn-light.border:hover { background: #ECE9E1 !important; border-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .wb-toolbar { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .wb-icon-btn { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .wb-icon-btn:hover { background: rgba(246, 244, 238, 0.07) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .wb-divider { background: rgba(246, 244, 238, 0.15) !important; }
body.theme-dark:is(#qbd, body) .wb-save-btn { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .rw-right-card .dropdown-menu { border: 1px solid rgba(246, 244, 238, 0.13) !important; box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.16) !important; }
body.theme-dark:is(#qbd, body) .rw-right-card .dropdown-item { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .rw-right-card .dropdown-item:hover { background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .rw-right-card .tox .tox-toolbar__primary,
body.theme-dark:is(#qbd, body) .rw-right-card .tox .tox-toolbar-overlord,
body.theme-dark:is(#qbd, body) .rw-right-card .tox .tox-menubar,
body.theme-dark:is(#qbd, body) .rw-right-card .tox .tox-statusbar,
body.theme-dark:is(#qbd, body) .rw-right-card .tox-editor-header { background: #212E29 !important; border-color: rgba(246, 244, 238, 0.13) !important; }

/* ── marking-desk-support.css ── */
html body.theme-dark:is(#qbd, body) { background-color: #212E29 !important; }
body.theme-dark:is(#qbd, body) .page-header svg[width="56"] { stroke: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .page-header h2,
body.theme-dark:is(#qbd, body) .page-header .page-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-header .page-pretitle { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-header p.text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-header .btn-primary { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .page-body .card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) #table-default thead th { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #table-default tbody td { border-bottom: 1px solid rgba(246, 244, 238, 0.09) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #table-default tbody tr:hover td { background: #202B27 !important; }
body.theme-dark:is(#qbd, body) .page-body .badge.bg-green,
body.theme-dark:is(#qbd, body) .page-body .badge.bg-success { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .page-body .badge.bg-red,
body.theme-dark:is(#qbd, body) .page-body .badge.bg-danger { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .page-body .badge.bg-yellow,
body.theme-dark:is(#qbd, body) .page-body .badge.bg-warning { color: #E9D75A !important; }
body.theme-dark:is(#qbd, body) .page-body .badge.bg-blue,
body.theme-dark:is(#qbd, body) .page-body .badge.bg-primary,
body.theme-dark:is(#qbd, body) .page-body .badge.bg-azure { background: rgba(246, 244, 238, 0.08) !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .page-body .form-label { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-body .form-label::after { background: rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .page-body .form-control,
body.theme-dark:is(#qbd, body) .page-body .form-select,
body.theme-dark:is(#qbd, body) .page-body textarea.form-control { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .form-control:focus,
body.theme-dark:is(#qbd, body) .page-body .form-select:focus,
body.theme-dark:is(#qbd, body) .page-body textarea.form-control:focus { border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .form-control::placeholder { color: #7F8C87 !important; }
body.theme-dark:is(#qbd, body) .page-body .btn-primary,
body.theme-dark:is(#qbd, body) .page-body button[type="submit"].btn { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .page-body .btn-secondary,
body.theme-dark:is(#qbd, body) .page-body .btn-light,
body.theme-dark:is(#qbd, body) .page-body .btn-outline-secondary { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .page-body .btn-secondary:hover,
body.theme-dark:is(#qbd, body) .page-body .btn-light:hover,
body.theme-dark:is(#qbd, body) .page-body .btn-outline-secondary:hover { border-color: #ECE9E1 !important; background: #212E29 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .btn-danger { background: #1C2723 !important; color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .page-body .btn-danger:hover { border-color: #FF6A55 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .page-body .border-\[--tblr-border-color\] { border-color: rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .page-body .text-heading { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .card .flex.flex-col p { color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .page-body .card .flex.flex-col p .text-muted,
body.theme-dark:is(#qbd, body) .page-body small { color: #97A59F !important; }

/* ── marking-desk-tutor.css ── */
html body.theme-dark:is(#qbd, body) { background-color: #212E29 !important; }
body.theme-dark:is(#qbd, body) .page-header .card-body > .d-flex > div[style*="backdrop-filter"] { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; }
body.theme-dark:is(#qbd, body) .page-header .animated-svg,
body.theme-dark:is(#qbd, body) .page-header svg { stroke: #FF6A55 !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .page-header h2 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-header p { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-header .btn-primary,
body.theme-dark:is(#qbd, body) .page-header .btn-primary[style] { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .page-header .btn-primary .badge.bg-white { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-header .btn-secondary,
body.theme-dark:is(#qbd, body) .page-header .btn-secondary[style] { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-body .container-xl.mb-3 > div[style*="border"] { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .page-body .container-xl.mb-3 .fw-bold.small,
body.theme-dark:is(#qbd, body) .page-body .container-xl.mb-3 .small { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-body .container-xl.mb-3 div[style*="height:5px"] { background: rgba(246, 244, 238, 0.12) !important; }
body.theme-dark:is(#qbd, body) .page-body .container-xl.mb-3 .btn,
body.theme-dark:is(#qbd, body) .page-body .container-xl.mb-3 a.btn { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .notebook-card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .notebook-card:hover { border: 1.5px solid #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .notebook-icon-wrap,
body.theme-dark:is(#qbd, body) .notebook-icon-wrap[style] { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .notebook-card h5,
body.theme-dark:is(#qbd, body) .notebook-card .fw-bold,
body.theme-dark:is(#qbd, body) .notebook-card h6 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .nb-stat { border: 1px solid rgba(246, 244, 238, 0.15) !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .nb-stat svg { stroke: #97A59F !important; }
body.theme-dark:is(#qbd, body) .notebook-menu-btn { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .notebook-menu-btn:hover { border-color: #ECE9E1 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .notebook-new-card { background: #212E29 !important; border: 1.5px dashed rgba(246, 244, 238, 0.28) !important; }
body.theme-dark:is(#qbd, body) .notebook-new-card:hover { border-color: #ECE9E1 !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .notebook-new-card .new-icon,
body.theme-dark:is(#qbd, body) .notebook-new-card:hover .new-icon { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .notebook-new-card .new-icon svg { stroke: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .notebook-new-card .fw-bold,
body.theme-dark:is(#qbd, body) .notebook-new-card h6 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .notebook-new-card .text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .page-body .text-center.py-5 h3,
body.theme-dark:is(#qbd, body) .page-body .text-center.py-5 h4 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-body .text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .modal-content { border: 1px solid rgba(246, 244, 238, 0.15) !important; box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.16) !important; }
body.theme-dark:is(#qbd, body) .modal-header { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .modal-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .modal-body label,
body.theme-dark:is(#qbd, body) .modal-body .form-label { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .modal-body .form-control { border: 1px solid rgba(246, 244, 238, 0.18) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .modal-body .form-control:focus { border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .suggestion-chip { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .suggestion-chip:hover { border-color: #ECE9E1 !important; background: #212E29 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .modal-footer { border-top: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .modal-footer .btn-primary { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .modal-footer .btn-outline-secondary,
body.theme-dark:is(#qbd, body) .modal-footer .btn-secondary { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .modal .btn-danger { background: #1C2723 !important; color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .modal .btn-danger:hover { border-color: #FF6A55 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .dropdown-menu { border: 1px solid rgba(246, 244, 238, 0.13) !important; box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.16) !important; }
body.theme-dark:is(#qbd, body) .dropdown-item { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .dropdown-item:hover { background: #212E29 !important; }

/* ── marking-desk-tutorchat.css ── */
html body.theme-dark:is(#qbd, body) { background-color: #212E29 !important; }
body.theme-dark:is(#qbd, body) #sources-top-bar,
body.theme-dark:is(#qbd, body) #sources-top-bar[style] { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) #sources-top-bar .font-bold { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #sources-top-bar .btn,
body.theme-dark:is(#qbd, body) #sources-top-bar label.btn { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #sources-top-bar .btn:hover { border-color: #ECE9E1 !important; background: #212E29 !important; }
body.theme-dark:is(#qbd, body) #sources-top-bar .btn.active,
body.theme-dark:is(#qbd, body) #sources-top-bar .btn[aria-pressed="true"],
body.theme-dark:is(#qbd, body) #sources-top-bar .btn.btn-primary { background: #ECE9E1 !important; border-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) #add-source-btn,
body.theme-dark:is(#qbd, body) #add-source-btn:hover { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) #source-count { background: rgba(246, 244, 238, 0.07) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .tutor-main-card,
body.theme-dark:is(#qbd, body) .page-body .card.rounded-xl { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .tutor-workspace-header { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .btn-create-magic,
body.theme-dark:is(#qbd, body) .btn-create-magic:hover { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) #upload-menu-btn,
body.theme-dark:is(#qbd, body) #upload-menu-btn[style],
body.theme-dark:is(#qbd, body) #upload-btn,
body.theme-dark:is(#qbd, body) #camera-btn { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #upload-menu-btn:hover,
body.theme-dark:is(#qbd, body) #upload-btn:hover,
body.theme-dark:is(#qbd, body) #camera-btn:hover { border-color: #ECE9E1 !important; background: #212E29 !important; }
body.theme-dark:is(#qbd, body) #upload-menu-btn svg { stroke: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #create-dropdown-menu,
body.theme-dark:is(#qbd, body) .dropdown-menu.rounded-xl,
body.theme-dark:is(#qbd, body) .upload-menu { border: 1px solid rgba(246, 244, 238, 0.13) !important; box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.16) !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) #create-dropdown-menu .text-xs.uppercase,
body.theme-dark:is(#qbd, body) #create-dropdown-menu .font-bold.text-gray-500 { color: #97A59F !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .dropdown-item { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .dropdown-item:hover,
body.theme-dark:is(#qbd, body) .upload-menu .dropdown-item:hover { background: #212E29 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .dropdown-item svg { stroke: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) #document-viewer { background: #212E29 !important; }
body.theme-dark:is(#qbd, body) #document-viewer .rounded-3xl,
body.theme-dark:is(#qbd, body) #document-viewer .border-dashed { border: 1.5px dashed rgba(246, 244, 238, 0.28) !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) #document-viewer .border-dashed:hover { border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #document-viewer .text-gray-400,
body.theme-dark:is(#qbd, body) #document-viewer .text-gray-500 { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #document-viewer .bg-blue-50 { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) #document-viewer .bg-blue-50 svg,
body.theme-dark:is(#qbd, body) #document-viewer .text-blue-500 { stroke: #FF6A55 !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .tutor-chat-header,
body.theme-dark:is(#qbd, body) .tutor-chat-header[style] { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .tutor-chat-header .avatar { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; }
body.theme-dark:is(#qbd, body) .tutor-chat-header h3,
body.theme-dark:is(#qbd, body) .tutor-chat-header .font-bold { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .tutor-chat-header .text-green-500 { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) .tutor-chat-header .text-gray-500 { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .tutor-chat-header .btn,
body.theme-dark:is(#qbd, body) #export-dropdown > .btn { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .tutor-chat-header .btn:hover { border-color: #ECE9E1 !important; background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .tutor-chat-header .btn-ghost-danger { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .tutor-chat-header .btn-ghost-danger:hover { border-color: #FF6A55 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) #chat-container { background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .chat-bubble.bg-blue-600 { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .chat-bubble.bg-gray-100 { background: #212E29 !important; color: #ECE9E1 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .chat-bubble a { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) #chat-empty-state .bg-blue-50 { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; }
body.theme-dark:is(#qbd, body) #chat-empty-state svg { stroke: #FF6A55 !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) #chat-empty-state h3,
body.theme-dark:is(#qbd, body) #chat-empty-state h4,
body.theme-dark:is(#qbd, body) #chat-empty-state .font-bold { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #chat-empty-state p,
body.theme-dark:is(#qbd, body) #chat-empty-state .text-gray-500 { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .btn-suggestion,
body.theme-dark:is(#qbd, body) .btn-suggestion:hover { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .btn-suggestion:hover { border-color: #ECE9E1 !important; background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .quiz-card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .quiz-card h3,
body.theme-dark:is(#qbd, body) .quiz-card h4,
body.theme-dark:is(#qbd, body) .quiz-card .font-bold,
body.theme-dark:is(#qbd, body) .quiz-card .fw-bold { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .option-card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.16) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .option-card:hover:not(.disabled) { border-color: #ECE9E1 !important; background: #202B27 !important; }
body.theme-dark:is(#qbd, body) .option-card.selected { border: 1.5px solid #ECE9E1 !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .option-card.correct { border: 1.5px solid #4CC9A3 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .option-card.incorrect { border: 1.5px solid #FF6A55 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .option-letter { border: 1.5px solid rgba(246, 244, 238, 0.3) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .option-card.selected .option-letter { border-color: #FF6A55 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .option-card.correct .option-letter { border-color: #4CC9A3 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .option-card.incorrect .option-letter { border-color: #FF6A55 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .quiz-explanation { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .quiz-card .btn-primary,
body.theme-dark:is(#qbd, body) .quiz-card .btn-success { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .flashcard-front,
body.theme-dark:is(#qbd, body) .flashcard-back { border: 1px solid rgba(246, 244, 238, 0.15) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .flashcard-front { background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .flashcard-back { background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .flashcard-label { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .flashcard-back .flashcard-label { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) #chat-form { border-top: 1px solid rgba(246, 244, 238, 0.13) !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) #user-input,
body.theme-dark:is(#qbd, body) #user-input.form-control { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #user-input:focus { border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #user-input::placeholder { color: #7F8C87 !important; }
body.theme-dark:is(#qbd, body) #send-btn,
body.theme-dark:is(#qbd, body) #send-btn.btn-primary { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) #send-btn:hover { background: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #mic-btn { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #mic-btn:hover { color: #FF6A55 !important; background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .mic-pulsing { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) #offcanvasHistory .offcanvas-header { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) #offcanvasHistoryLabel { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #history-list-drawer > div { border-bottom: 1px solid rgba(246, 244, 238, 0.09) !important; }
body.theme-dark:is(#qbd, body) #history-list-drawer > div:hover { background: #202B27 !important; }
body.theme-dark:is(#qbd, body) #history-list-drawer .bg-blue-50,
body.theme-dark:is(#qbd, body) #history-list-drawer .bg-gray-50 { background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .tooltip-inner { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .tooltip.bs-tooltip-top .tooltip-arrow::before { border-top-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .tooltip.bs-tooltip-bottom .tooltip-arrow::before { border-bottom-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .tooltip.bs-tooltip-start .tooltip-arrow::before { border-left-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .tooltip.bs-tooltip-end .tooltip-arrow::before { border-right-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-header .page-title,
body.theme-dark:is(#qbd, body) .page-header h2 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .page-header .btn-ghost-secondary { color: #97A59F !important; border: 1px solid rgba(246, 244, 238, 0.18) !important; }
body.theme-dark:is(#qbd, body) #source-list-panel > div[style*="3b82f6"] { border-color: #ECE9E1 !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) #source-list-panel > div[style*="e2e8f0"] { border-color: rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) #source-list-panel > div:hover { border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #source-list-panel .form-check-input { border-color: rgba(246, 244, 238, 0.35) !important; }
body.theme-dark:is(#qbd, body) #source-list-panel .form-check-input:checked { background-color: #ECE9E1 !important; border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #source-list-panel .text-gray-700 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #create-dropdown-menu .dropdown-item:hover,
body.theme-dark:is(#qbd, body) #create-dropdown-menu .dropdown-item:focus-visible { background: #212E29 !important; }

/* ── marking-desk-workbook.css ── */
html body.theme-dark:is(#qbd, body) { background-color: #212E29 !important; }
body.theme-dark:is(#qbd, body) .md-job-eyebrow { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .md-job-eyebrow:hover { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .wb-hero-text h2 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .wb-hero-text p { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .md-change-source { border: 1px solid rgba(246, 244, 238, 0.18) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .md-change-source:hover { border-color: #ECE9E1 !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .modern-card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .wb-form-body .form-label { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .wb-form-body .form-label::after { background: rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .wb-form-body .form-control,
body.theme-dark:is(#qbd, body) .wb-form-body .form-select,
body.theme-dark:is(#qbd, body) .wb-form-body textarea.form-control { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .wb-form-body .form-control:focus,
body.theme-dark:is(#qbd, body) .wb-form-body textarea.form-control:focus { border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .md-stepper { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .md-stepper button { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .md-stepper button:hover { background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .md-stepper input.form-control { border-left: 1px solid rgba(246, 244, 238, 0.13) !important; border-right: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .md-stepper input::placeholder { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .md-stepper-note { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .md-stepper-note b { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .radio-group-wrapper .form-check-label { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.18) !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .radio-group-wrapper .form-check-label::before { border: 1.5px solid rgba(246, 244, 238, 0.3) !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .radio-group-wrapper .form-check-label:hover { border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .radio-group-wrapper .form-check-input:checked + .form-check-label { border: 1.5px solid #ECE9E1 !important; color: #ECE9E1 !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .radio-group-wrapper .form-check-input:checked + .form-check-label::before { border-color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .radio-group-wrapper .form-check-input:focus-visible + .form-check-label { outline: 2px solid #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #upload-file-wrapper p.text-xs { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #uploaded-files-list > div { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) #uploaded-files-list > div > span:first-of-type { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #uploaded-file-counter { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .md-pill { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .md-pill:hover { border-color: #ECE9E1 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .md-pill.is-on { border: 1.5px solid #ECE9E1 !important; background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .md-pill:focus-visible { outline: 2px solid #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .wb-form-body .select2-container .select2-selection--single { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .wb-form-body .select2-container--default .select2-selection--single .select2-selection__rendered { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #openai_generator_button,
body.theme-dark:is(#qbd, body) #openai_generator_button.btn-primary { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .md-generate-note { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .output-container { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) #empty-state-container::before { border: 2.5px solid #FF6A55 !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) #empty-state-container h3 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #empty-state-container p { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .output-toolbar { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .tb-section-label { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .tb-section-divider { background: rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .toolbar-btn,
body.theme-dark:is(#qbd, body) .toolbar-btn.quizme,
body.theme-dark:is(#qbd, body) .toolbar-btn.gamify,
body.theme-dark:is(#qbd, body) .toolbar-btn.prep-me,
body.theme-dark:is(#qbd, body) .toolbar-btn.tutor-me,
body.theme-dark:is(#qbd, body) .toolbar-btn.quiz-classroom { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .toolbar-btn:hover,
body.theme-dark:is(#qbd, body) .toolbar-btn.quizme:hover,
body.theme-dark:is(#qbd, body) .toolbar-btn.gamify:hover,
body.theme-dark:is(#qbd, body) .toolbar-btn.prep-me:hover,
body.theme-dark:is(#qbd, body) .toolbar-btn.tutor-me:hover,
body.theme-dark:is(#qbd, body) .toolbar-btn.quiz-classroom:hover { background: #ECE9E1 !important; border-color: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .toolbar-btn.is-locked { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .toolbar-btn.is-locked:hover { background: #1C2723 !important; color: #97A59F !important; border-color: rgba(246, 244, 238, 0.3) !important; }
body.theme-dark:is(#qbd, body) .output-toolbar .dropdown-menu { border: 1px solid rgba(246, 244, 238, 0.13) !important; box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.16) !important; }
body.theme-dark:is(#qbd, body) .output-toolbar .dropdown-item { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .output-toolbar .dropdown-item:hover { background: #212E29 !important; }
body.theme-dark:is(#qbd, body) .save-bar { background: #1C2723 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .save-bar .form-control,
body.theme-dark:is(#qbd, body) .save-bar .form-select { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #workbook_button,
body.theme-dark:is(#qbd, body) #workbook_button.btn-primary { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .tox .tox-toolbar__primary,
body.theme-dark:is(#qbd, body) .tox .tox-toolbar-overlord,
body.theme-dark:is(#qbd, body) .tox .tox-menubar,
body.theme-dark:is(#qbd, body) .tox .tox-statusbar,
body.theme-dark:is(#qbd, body) .tox-editor-header { background: #212E29 !important; border-color: rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .md-sec-head::after { background: rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .md-sec-badge { border: 1px solid rgba(246, 244, 238, 0.2) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .md-sec-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .md-dropzone-btn { border: 1.5px dashed rgba(246, 244, 238, 0.28) !important; background: #212E29 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .md-dropzone-btn:hover,
body.theme-dark:is(#qbd, body) .md-dropzone.is-over .md-dropzone-btn { border-color: #ECE9E1 !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .md-dropzone-text { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .md-dropzone-text u { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .md-dropzone-note { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .md-pitch-label { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .md-pill::before { border: 1.5px solid rgba(246, 244, 238, 0.3) !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) .md-pill:hover::before { border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .md-pill.is-on { background: #1C2723 !important; border: 1.5px solid #ECE9E1 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .md-pill.is-on::before { border-color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .swal2-container .qb-quiz-modal.swal2-popup { border: 1px solid rgba(246, 244, 238, 0.15) !important; background: #1C2723 !important; box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.16) !important; }
body.theme-dark:is(#qbd, body) .qb-quiz-modal .qb-modal-header { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .qb-quiz-modal .qb-modal-icon-wrap { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; }
body.theme-dark:is(#qbd, body) .qb-quiz-modal .qb-modal-icon-wrap svg { stroke: #FF6A55 !important; color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .qb-quiz-modal .swal2-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .qb-quiz-modal .swal2-close { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .qb-quiz-modal .swal2-close:hover { background: rgba(246, 244, 238, 0.06) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .qb-quiz-modal .qb-modal-subtitle { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .qb-quiz-modal .qb-swal-input,
body.theme-dark:is(#qbd, body) .qb-quiz-modal input.swal2-input { border: 1px solid rgba(246, 244, 238, 0.22) !important; background: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .qb-quiz-modal .qb-swal-input:focus,
body.theme-dark:is(#qbd, body) .qb-quiz-modal input.swal2-input:focus { border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .qb-quiz-modal .qb-swal-input::placeholder { color: #7F8C87 !important; }
body.theme-dark:is(#qbd, body) .qb-quiz-modal .swal2-validation-message { color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body) .qb-quiz-modal .qb-swal-confirm { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .qb-quiz-modal .qb-swal-cancel { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #1C2723 !important; color: #C9CFCB !important; }
body.theme-dark:is(#qbd, body) .qb-quiz-modal .qb-swal-cancel:hover { border-color: #ECE9E1 !important; background: #212E29 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .swal2-container .swal2-backdrop-show,
body.theme-dark:is(#qbd, body).swal2-shown .swal2-container { background: rgba(246, 244, 238, 0.35) !important; }
body.theme-dark:is(#qbd, body) #qbGenLoadingModal { background: rgba(246, 244, 238, 0.35) !important; }
body.theme-dark:is(#qbd, body) #qbGenLoadingModal .qbgen-card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.16) !important; }
body.theme-dark:is(#qbd, body) #qbGenLoadingModal .qbgen-ring-o { border-top-color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) #qbGenLoadingModal .qbgen-ring-i { border-top-color: #ECE9E1 !important; border-left-color: rgba(246, 244, 238, 0.25) !important; }
body.theme-dark:is(#qbd, body) #qbGenLoadingModal .qbgen-emoji { background: #212E29 !important; }
body.theme-dark:is(#qbd, body) #qbGenLoadingModal .qbgen-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #qbGenLoadingModal .qbgen-sub { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #qbGenLoadingModal .qbgen-track { background: rgba(246, 244, 238, 0.12) !important; }
body.theme-dark:is(#qbd, body) #loadingModal .modal-content,
body.theme-dark:is(#qbd, body) #loadingModal .modal-content[style],
body.theme-dark:is(#qbd, body) #resultModal .modal-content,
body.theme-dark:is(#qbd, body) #resultModal .modal-content[style] { border: 1px solid rgba(246, 244, 238, 0.15) !important; background: #1C2723 !important; box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.16) !important; }
body.theme-dark:is(#qbd, body) #loadingModal button[data-bs-dismiss="modal"] { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #loadingModal button[data-bs-dismiss="modal"]:hover { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #loadingModal .modal-body > div.rounded-full,
body.theme-dark:is(#qbd, body) #resultModal .modal-body > div.rounded-full { background: #212E29 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #loadingModal .spinner-border,
body.theme-dark:is(#qbd, body) #loadingModal .spinner-border.text-success { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) #resultModal .modal-body > div.rounded-full svg { stroke: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #loadingModal h3,
body.theme-dark:is(#qbd, body) #resultModal h3 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #loadingModal p,
body.theme-dark:is(#qbd, body) #resultModal p { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #loadingModal #quizMeNowHint { border-top: 1px dashed rgba(246, 244, 238, 0.2) !important; }
body.theme-dark:is(#qbd, body) #loadingModal #quizMeNowBtn,
body.theme-dark:is(#qbd, body) #loadingModal #quizMeNowBtn[style],
body.theme-dark:is(#qbd, body) #resultModal #modalLink,
body.theme-dark:is(#qbd, body) #resultModal .btn-modern { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) .md-sec-count .form-label.md-count-label { color: #97A59F !important; }

/* ── marking-desk.css ── */
html body.theme-dark:is(#qbd, body) { background-color: #212E29 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .header-wrapper { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .qg-hero-icon-wrap { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.16) !important; }
body.theme-dark:is(#qbd, body) .qg-hero-icon-wrap svg { stroke: #ECE9E1 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .qg-hero-icon-wrap svg circle[fill] { fill: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .qg-hero-text h2 { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .qg-hero-text p { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .qg-step-header::after { background: rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) #dynamic-source-heading strong { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .qg-step-badge { border: 1px solid rgba(246, 244, 238, 0.18) !important; }
body.theme-dark:is(#qbd, body) .qg-step-badge::after { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .qg-step-label { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .filter-btn { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .filter-btn::before { border: 1.5px solid rgba(246, 244, 238, 0.28) !important; }
body.theme-dark:is(#qbd, body) .filter-btn:hover { border-color: rgba(246, 244, 238, 0.38) !important; }
body.theme-dark:is(#qbd, body) .filter-btn:hover::before { border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .filter-btn.active,
body.theme-dark:is(#qbd, body) .filter-btn.active:hover { background: #1C2723 !important; border: 1.5px solid #ECE9E1 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .filter-btn.active::before,
body.theme-dark:is(#qbd, body) .filter-btn.active:hover::before { border-color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) .generator-card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) .generator-card:hover { border: 1.5px solid #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .generator-icon { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.16) !important; }
body.theme-dark:is(#qbd, body) .generator-icon svg,
body.theme-dark:is(#qbd, body) .generator-card:hover .generator-icon svg { stroke: #ECE9E1 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .generator-card .card-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .generator-card .card-desc { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .generator-card .fav-btn { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .generator-card .fav-btn.active { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) header .navbar-search-input { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) header kbd { border: 1px solid rgba(246, 244, 238, 0.13) !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .generator-card .qg-card-formats { border-top: 1px solid rgba(246, 244, 238, 0.1) !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .qg-more-btn { border: 1px dashed rgba(246, 244, 238, 0.24) !important; color: #97A59F !important; }
body.theme-dark:is(#qbd, body) .qg-more-btn:hover { border-color: rgba(246, 244, 238, 0.42) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) .qg-more-btn.is-open { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) header .navbar-search-input { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) header .navbar-search-input:focus { border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) header .navbar-search .input-icon-addon { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) header kbd { color: #97A59F !important; background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) header .navbar-nav a.btn { border: 1px solid rgba(246, 244, 238, 0.2) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) header .navbar-nav a.btn[style*="d8eedb"] { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) header .navbar-nav .nav-item.dropdown > a.nav-link.px-0 { border: 1px solid rgba(246, 244, 238, 0.2) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) header .avatar { border: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) header .dropdown-menu { border: 1px solid rgba(246, 244, 238, 0.15) !important; background: #1C2723 !important; box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.16) !important; }
body.theme-dark:is(#qbd, body) header .dropdown-menu > .dropdown-item.disabled:first-child { background: #212E29 !important; border-bottom: 1px solid rgba(246, 244, 238, 0.13) !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) header .dropdown-menu > .dropdown-item.disabled:first-child > div > div:first-child { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) header .dropdown-menu > .dropdown-item.disabled:first-child .small.text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) header .dropdown-menu .dropdown-divider { border-top: 1px solid rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) header .dropdown-menu a.dropdown-item { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) header .dropdown-menu a.dropdown-item:hover,
body.theme-dark:is(#qbd, body) header .dropdown-menu a.dropdown-item:focus { background: #212E29 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) header .dropdown-menu a.dropdown-item.active { border-left-color: #FF6A55 !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) header .dropdown-menu a.dropdown-item[onclick*="logout"] { border-top: 1px solid rgba(246, 244, 238, 0.13) !important; color: #FF8A78 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.payment.subscription"] #chart-credit .apexcharts-series[seriesName="Remaining"] path { fill: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.payment.subscription"] #chart-credit .apexcharts-series[seriesName="Used"] path { fill: rgba(246, 244, 238, 0.12) !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.payment.subscription"] #chart-credit .apexcharts-legend-series:nth-child(1) .apexcharts-legend-marker { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.payment.subscription"] #chart-credit .apexcharts-legend-series:nth-child(2) .apexcharts-legend-marker { background: rgba(246, 244, 238, 0.25) !important; color: rgba(246, 244, 238, 0.25) !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.payment.subscription"] #chart-credit .apexcharts-legend-text { color: #97A59F !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.quiz-me.daily-review"] .review-container > div[style*="dbeafe"] { background: rgba(244, 224, 90, 0.14) !important; border: 1px solid rgba(246, 244, 238, 0.12) !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.quiz-me.daily-review"] .review-container > div[style*="dbeafe"] svg { stroke: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.quiz-me.daily-review"] .review-container > div[style*="dbeafe"] .fw-bold.small { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.quiz-me.daily-review"] .review-container > div[style*="dbeafe"] .fw-bold.small[style] { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.index"] #chart-credit .apexcharts-legend-marker::after,
body.theme-dark:is(#qbd, body)[data-md="dashboard.user.payment.subscription"] #chart-credit .apexcharts-legend-marker::after { background: rgba(246, 244, 238, 0.25) !important; }
body.theme-dark:is(#qbd, body) #chart-credit .apexcharts-series[seriesName="Remaining"] path { fill: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) #chart-credit .apexcharts-series[seriesName="Used"] path { fill: rgba(246, 244, 238, 0.12) !important; }
body.theme-dark:is(#qbd, body) #iq-type-label { color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) #iq-back { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #iq-back:hover,
body.theme-dark:is(#qbd, body) #iq-back:focus-visible { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #iq-form > .card { border: 1px solid rgba(246, 244, 238, 0.13) !important; background: #1C2723 !important; }
body.theme-dark:is(#qbd, body) #iq-form-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #iq-form .form-label { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #iq-form .form-label::after { background: rgba(246, 244, 238, 0.13) !important; }
body.theme-dark:is(#qbd, body) #iq-form .form-control,
body.theme-dark:is(#qbd, body) #iq-form .form-select { border: 1px solid rgba(246, 244, 238, 0.18) !important; background-color: #1C2723 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #iq-form .form-control:focus,
body.theme-dark:is(#qbd, body) #iq-form .form-select:focus { border-color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #iq-form input[type="file"]::file-selector-button { border-right: 1px solid rgba(246, 244, 238, 0.13) !important; background: #212E29 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #iq-form small.text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #iq-generate,
body.theme-dark:is(#qbd, body) #iq-generate.btn-primary { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) #iq-status { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #qbGenLoadingModal { background: rgba(246, 244, 238, 0.35) !important; }
body.theme-dark:is(#qbd, body) #qbGenLoadingModal .qbgen-card { background: #1C2723 !important; border: 1px solid rgba(246, 244, 238, 0.15) !important; box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.16) !important; }
body.theme-dark:is(#qbd, body) #qbGenLoadingModal .qbgen-ring-o { border-top-color: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) #qbGenLoadingModal .qbgen-ring-i { border-top-color: #ECE9E1 !important; border-left-color: rgba(246, 244, 238, 0.25) !important; }
body.theme-dark:is(#qbd, body) #qbGenLoadingModal .qbgen-emoji { background: #212E29 !important; }
body.theme-dark:is(#qbd, body) #qbGenLoadingModal .qbgen-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #qbGenLoadingModal .qbgen-sub { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #qbGenLoadingModal .qbgen-track { background: rgba(246, 244, 238, 0.12) !important; }
body.theme-dark:is(#qbd, body) #shareModal .modal-content { border: 1px solid rgba(246, 244, 238, 0.15) !important; background: #1C2723 !important; box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.16) !important; }
body.theme-dark:is(#qbd, body) #shareModal .modal-title { color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #shareModal .modal-title svg { stroke: #FF6A55 !important; }
body.theme-dark:is(#qbd, body) #shareModal .btn-close:focus-visible { outline: 2px solid #FF6A55 !important; }
body.theme-dark:is(#qbd, body) #shareModal .modal-body > p.text-muted { color: #97A59F !important; }
body.theme-dark:is(#qbd, body) #shareModal #shareUrlInput,
body.theme-dark:is(#qbd, body) #shareModal #shareUrlInput.form-control { border: 1px solid rgba(246, 244, 238, 0.18) !important; background: #212E29 !important; color: #ECE9E1 !important; }
body.theme-dark:is(#qbd, body) #shareModal #copyShareBtn,
body.theme-dark:is(#qbd, body) #shareModal #copyShareBtn.btn-primary { background: #ECE9E1 !important; color: #14201C !important; }
body.theme-dark:is(#qbd, body) #shareModal #copySuccess { color: #4CC9A3 !important; }
body.theme-dark:is(#qbd, body) #shareModal ~ .modal-backdrop,
body.theme-dark:is(#qbd, body) .modal-backdrop.show { background: #ECE9E1 !important; }
