/* DSAT Booster — Night Indigo (faqat <html data-bs-theme="dark"> da ishlaydi). */
html[data-bs-theme="dark"],
html[data-bs-theme="dark"],
html[data-bs-theme="dark"] body{--night-bg:#0b0c26; --night-bg2:#0e1030; --night-card:#15174a; --night-card2:#1c1f5e; --night-line:rgba(129,140,248,.24);
  --night-text:#eef0ff; --night-muted:#a6abd6; --night-faint:#7b81b5;
  --accent:#6366f1; --accent-2:#7c3aed; --accent-glow:rgba(99,102,241,.35);
  --body-bg:var(--night-bg); --bg-body:var(--night-bg); --bg:var(--night-bg); --bg-canvas:var(--night-bg); --bg-main:var(--night-bg); --paper-bg:var(--night-bg);
  --card-bg:var(--night-card); --surface-card:var(--night-card); --surface:var(--night-card); --surface-hover:var(--night-card2); --hell-card:var(--night-card);
  --border:var(--night-line); --border-card:var(--night-line); --border-color:var(--night-line); --hell-border:var(--night-line);
  --text:var(--night-text); --text-main:var(--night-text); --text-body:var(--night-text); --text-heading:#fff; --ix-text:var(--night-text);
  --text-muted:var(--night-muted); --muted:var(--night-muted);
  --topbar-bg:rgba(11,12,38,.82);
  --bs-body-bg:var(--night-bg); --bs-body-color:var(--night-text); --bs-heading-color:#fff; --bs-secondary-color:var(--night-muted);
  --bs-border-color:var(--night-line); --bs-card-bg:var(--night-card); --bs-tertiary-bg:var(--night-card2);
  --m-shadow:0 1px 0 rgba(255,255,255,.03) inset,0 14px 34px -18px rgba(0,0,0,.7);
  --m-shadow-hover:0 18px 44px -16px rgba(99,102,241,.55);
  color-scheme:dark;}
html[data-bs-theme="dark"] body{background:radial-gradient(1000px 520px at 92% -10%,rgba(99,102,241,.18),transparent 60%),radial-gradient(800px 460px at -8% 10%,rgba(124,58,237,.14),transparent 55%),var(--night-bg)!important;background-attachment:fixed!important;color:var(--night-text)}
html[data-bs-theme="dark"] body h1,
html[data-bs-theme="dark"] body h2,
html[data-bs-theme="dark"] body h3,
html[data-bs-theme="dark"] body h4,
html[data-bs-theme="dark"] body h5,
html[data-bs-theme="dark"] body h6,
html[data-bs-theme="dark"] .section-header{color:#fff}
html[data-bs-theme="dark"] body a:not(.btn):not(.nav-link):not(.active):not([class*="btn"]):not([class*="pl-"]):not([class*="nx-"]):not([class*="card"]):not([class*="tile"]):not([class*="item"]):not([class*="pill"]){color:#a5b4fc}
html[data-bs-theme="dark"] body a:not(.btn):not(.nav-link):not(.active):not([class*="btn"]):not([class*="pl-"]):not([class*="nx-"]):not([class*="card"]):not([class*="tile"]):not([class*="item"]):not([class*="pill"]):hover{color:#c7d2fe}
html[data-bs-theme="dark"] .text-muted,
html[data-bs-theme="dark"] .text-secondary,
html[data-bs-theme="dark"] .text-body-secondary,
html[data-bs-theme="dark"] small.text-muted,
html[data-bs-theme="dark"] .form-text{color:var(--night-muted)!important}
html[data-bs-theme="dark"] .text-dark,
html[data-bs-theme="dark"] .text-body,
html[data-bs-theme="dark"] .text-black,
html[data-bs-theme="dark"] .link-dark{color:var(--night-text)!important}
html[data-bs-theme="dark"] .text-primary{color:#a5b4fc!important}
html[data-bs-theme="dark"] .text-success{color:#4ade80!important}
html[data-bs-theme="dark"] .text-danger{color:#fb7185!important}
html[data-bs-theme="dark"] .text-warning{color:#fbbf24!important}
html[data-bs-theme="dark"] .text-info{color:#38bdf8!important}
html[data-bs-theme="dark"] .card,
html[data-bs-theme="dark"] .modal-content,
html[data-bs-theme="dark"] .dropdown-menu,
html[data-bs-theme="dark"] .list-group-item,
html[data-bs-theme="dark"] .accordion-item,
html[data-bs-theme="dark"] .accordion-button,
html[data-bs-theme="dark"] .offcanvas,
html[data-bs-theme="dark"] .popover,
html[data-bs-theme="dark"] .toast,
html[data-bs-theme="dark"] .page-link,
html[data-bs-theme="dark"] .stat-card,
html[data-bs-theme="dark"] .widget-card,
html[data-bs-theme="dark"] .task-card,
html[data-bs-theme="dark"] .plan-section-card,
html[data-bs-theme="dark"] .score-card,
html[data-bs-theme="dark"] .panel,
html[data-bs-theme="dark"] .box,
html[data-bs-theme="dark"] .tile,
html[data-bs-theme="dark"] .surface,
html[data-bs-theme="dark"] .bg-white,
html[data-bs-theme="dark"] .bg-light,
html[data-bs-theme="dark"] .bg-body,
html[data-bs-theme="dark"] .bg-body-tertiary,
html[data-bs-theme="dark"] .bg-body-secondary{background-color:var(--night-card)!important;background-image:none;color:var(--night-text)!important;border-color:var(--night-line)!important}
html[data-bs-theme="dark"] .card,
html[data-bs-theme="dark"] .modal-content,
html[data-bs-theme="dark"] .stat-card,
html[data-bs-theme="dark"] .widget-card,
html[data-bs-theme="dark"] .task-card,
html[data-bs-theme="dark"] .plan-section-card,
html[data-bs-theme="dark"] .score-card{border-radius:20px!important;border:1px solid var(--night-line)!important;box-shadow:var(--m-shadow)!important}
html[data-bs-theme="dark"] .card-header,
html[data-bs-theme="dark"] .card-footer,
html[data-bs-theme="dark"] .modal-header,
html[data-bs-theme="dark"] .modal-footer{background:rgba(255,255,255,.03)!important;border-color:var(--night-line)!important;color:var(--night-text)!important}
html[data-bs-theme="dark"] .bg-dark{background-color:#070819!important;color:#fff!important}
html[data-bs-theme="dark"] .border,
html[data-bs-theme="dark"] .border-top,
html[data-bs-theme="dark"] .border-bottom,
html[data-bs-theme="dark"] .border-start,
html[data-bs-theme="dark"] .border-end,
html[data-bs-theme="dark"] hr{border-color:var(--night-line)!important}
html[data-bs-theme="dark"] hr{opacity:1}
html[data-bs-theme="dark"] .modal-backdrop{--bs-backdrop-bg:#04051a}
html[data-bs-theme="dark"] .table{--bs-table-bg:transparent;--bs-table-color:var(--night-text);--bs-table-border-color:var(--night-line);--bs-table-striped-bg:rgba(255,255,255,.03);--bs-table-hover-bg:rgba(99,102,241,.1);color:var(--night-text)}
html[data-bs-theme="dark"] .table>:not(caption)>*>*{background-color:transparent!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
html[data-bs-theme="dark"] .table thead th{color:var(--night-muted)!important;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
html[data-bs-theme="dark"] .dropdown-item{color:var(--night-text)!important}
html[data-bs-theme="dark"] .dropdown-item:hover{background:rgba(99,102,241,.18)!important}
html[data-bs-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-select,
html[data-bs-theme="dark"] .input-group-text,
html[data-bs-theme="dark"] textarea,
html[data-bs-theme="dark"] select,
html[data-bs-theme="dark"] input[type=text],
html[data-bs-theme="dark"] input[type=email],
html[data-bs-theme="dark"] input[type=password],
html[data-bs-theme="dark"] input[type=number],
html[data-bs-theme="dark"] input[type=search],
html[data-bs-theme="dark"] input[type=date]{background-color:#0f1136!important;color:var(--night-text)!important;border:1px solid var(--night-line)!important;border-radius:14px}
html[data-bs-theme="dark"] .form-control::placeholder,
html[data-bs-theme="dark"] textarea::placeholder,
html[data-bs-theme="dark"] input::placeholder{color:#6f75a8!important;opacity:1}
html[data-bs-theme="dark"] .form-control:focus,
html[data-bs-theme="dark"] .form-select:focus,
html[data-bs-theme="dark"] textarea:focus,
html[data-bs-theme="dark"] input:focus{border-color:#818cf8!important;box-shadow:0 0 0 3px rgba(99,102,241,.3)!important}
html[data-bs-theme="dark"] .form-select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23a6abd6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")!important}
html[data-bs-theme="dark"] option{background:#0f1136;color:#eef0ff}
html[data-bs-theme="dark"] .form-check-input{background-color:#0f1136;border-color:var(--night-line)}
html[data-bs-theme="dark"] .form-check-input:checked{background-color:var(--accent);border-color:var(--accent)}
html[data-bs-theme="dark"] .btn{border-radius:999px!important;font-weight:700}
html[data-bs-theme="dark"] .btn-primary,
html[data-bs-theme="dark"] .btn-hero-primary{background:linear-gradient(135deg,#5b5bf0,#4f46e5)!important;border:0!important;color:#fff!important}
html[data-bs-theme="dark"] .btn-outline-primary,
html[data-bs-theme="dark"] .btn-outline-secondary,
html[data-bs-theme="dark"] .btn-light,
html[data-bs-theme="dark"] .btn-outline-dark,
html[data-bs-theme="dark"] .btn-secondary{background:rgba(255,255,255,.06)!important;color:#dfe2ff!important;border:1px solid var(--night-line)!important}
html[data-bs-theme="dark"] .btn-outline-primary:hover,
html[data-bs-theme="dark"] .btn-outline-secondary:hover,
html[data-bs-theme="dark"] .btn-light:hover,
html[data-bs-theme="dark"] .btn-outline-dark:hover{background:rgba(99,102,241,.25)!important;color:#fff!important}
html[data-bs-theme="dark"] .btn-success{background:linear-gradient(135deg,#16a34a,#15803d)!important;border:0!important;color:#fff!important}
html[data-bs-theme="dark"] .btn-danger{background:linear-gradient(135deg,#e11d48,#be123c)!important;border:0!important;color:#fff!important}
html[data-bs-theme="dark"] .btn-warning{background:linear-gradient(135deg,#f59e0b,#d97706)!important;border:0!important;color:#1a1100!important}
html[data-bs-theme="dark"] .btn-close{filter:invert(1) grayscale(1)}
html[data-bs-theme="dark"] .badge.bg-light,
html[data-bs-theme="dark"] .badge.bg-white{background:rgba(255,255,255,.1)!important;color:#e2e5ff!important}
html[data-bs-theme="dark"] .badge[class*="bg-opacity"],
html[data-bs-theme="dark"] .badge.bg-primary.bg-opacity-10{color:#c7d2fe!important}
html[data-bs-theme="dark"] .nav-pills .nav-link,
html[data-bs-theme="dark"] .nav-tabs .nav-link{color:var(--night-muted)}
html[data-bs-theme="dark"] .nav-pills .nav-link:hover,
html[data-bs-theme="dark"] .nav-tabs .nav-link:hover{color:#fff;background:rgba(99,102,241,.14)}
html[data-bs-theme="dark"] .nav-pills .nav-link.active,
html[data-bs-theme="dark"] .nav-tabs .nav-link.active{color:#fff!important;background:linear-gradient(135deg,#5b5bf0,#4f46e5)!important;border-color:transparent!important}
html[data-bs-theme="dark"] .nav-tabs{border-color:var(--night-line)}
html[data-bs-theme="dark"] .progress{background:rgba(255,255,255,.08)!important}
html[data-bs-theme="dark"] .alert{border-radius:16px;border:1px solid var(--night-line);background:rgba(99,102,241,.12);color:var(--night-text)}
html[data-bs-theme="dark"] .alert-success{background:rgba(34,197,94,.14);border-color:rgba(34,197,94,.35)}
html[data-bs-theme="dark"] .alert-danger{background:rgba(244,63,94,.14);border-color:rgba(244,63,94,.35)}
html[data-bs-theme="dark"] .alert-warning{background:rgba(245,158,11,.14);border-color:rgba(245,158,11,.35)}
html[data-bs-theme="dark"] [style*="background:#fff"],
html[data-bs-theme="dark"] [style*="background: #fff"],
html[data-bs-theme="dark"] [style*="background:#FFF"],
html[data-bs-theme="dark"] [style*="background: #FFF"],
html[data-bs-theme="dark"] [style*="background:white"],
html[data-bs-theme="dark"] [style*="background: white"],
html[data-bs-theme="dark"] [style*="background-color:#fff"],
html[data-bs-theme="dark"] [style*="background-color: #fff"],
html[data-bs-theme="dark"] [style*="background-color:white"],
html[data-bs-theme="dark"] [style*="background-color: white"],
html[data-bs-theme="dark"] [style*="background:#f8fafc"],
html[data-bs-theme="dark"] [style*="background: #f8fafc"],
html[data-bs-theme="dark"] [style*="background:#f1f5f9"],
html[data-bs-theme="dark"] [style*="background: #f1f5f9"],
html[data-bs-theme="dark"] [style*="background:#f9fafb"],
html[data-bs-theme="dark"] [style*="background: #f9fafb"],
html[data-bs-theme="dark"] [style*="background:#f3f4f6"],
html[data-bs-theme="dark"] [style*="background: #f3f4f6"],
html[data-bs-theme="dark"] [style*="background:#eff6ff"],
html[data-bs-theme="dark"] [style*="background: #eff6ff"],
html[data-bs-theme="dark"] [style*="background:#f0f9ff"],
html[data-bs-theme="dark"] [style*="background: #f0f9ff"],
html[data-bs-theme="dark"] [style*="background:#f0fdf4"],
html[data-bs-theme="dark"] [style*="background: #f0fdf4"],
html[data-bs-theme="dark"] [style*="background:#fffbeb"],
html[data-bs-theme="dark"] [style*="background: #fffbeb"],
html[data-bs-theme="dark"] [style*="background:#fef3c7"],
html[data-bs-theme="dark"] [style*="background: #fef3c7"],
html[data-bs-theme="dark"] [style*="background:#fef2f2"],
html[data-bs-theme="dark"] [style*="background: #fef2f2"],
html[data-bs-theme="dark"] [style*="background:#faf5ff"],
html[data-bs-theme="dark"] [style*="background: #faf5ff"],
html[data-bs-theme="dark"] [style*="background:#f5f3ff"],
html[data-bs-theme="dark"] [style*="background: #f5f3ff"],
html[data-bs-theme="dark"] [style*="background:#e2e8f0"],
html[data-bs-theme="dark"] [style*="background: #e2e8f0"],
html[data-bs-theme="dark"] [style*="background-color:#f8fafc"],
html[data-bs-theme="dark"] [style*="background-color: #f8fafc"],
html[data-bs-theme="dark"] [style*="background-color:#f1f5f9"],
html[data-bs-theme="dark"] [style*="background-color: #f1f5f9"],
html[data-bs-theme="dark"] [style*="background:#eef2ff"],
html[data-bs-theme="dark"] [style*="background: #eef2ff"],
html[data-bs-theme="dark"] [style*="background:#ecfdf5"],
html[data-bs-theme="dark"] [style*="background: #ecfdf5"],
html[data-bs-theme="dark"] [style*="background:#fff7ed"],
html[data-bs-theme="dark"] [style*="background: #fff7ed"]{background:var(--night-card)!important;border-color:var(--night-line)!important}
html[data-bs-theme="dark"] [style*="color:#0f172a"],
html[data-bs-theme="dark"] [style*="color: #0f172a"],
html[data-bs-theme="dark"] [style*="color:#1e293b"],
html[data-bs-theme="dark"] [style*="color: #1e293b"],
html[data-bs-theme="dark"] [style*="color:#334155"],
html[data-bs-theme="dark"] [style*="color: #334155"],
html[data-bs-theme="dark"] [style*="color:#111827"],
html[data-bs-theme="dark"] [style*="color: #111827"],
html[data-bs-theme="dark"] [style*="color:#1f2937"],
html[data-bs-theme="dark"] [style*="color: #1f2937"],
html[data-bs-theme="dark"] [style*="color:#000"],
html[data-bs-theme="dark"] [style*="color: #000"],
html[data-bs-theme="dark"] [style*="color:#0b1220"],
html[data-bs-theme="dark"] [style*="color: #0b1220"],
html[data-bs-theme="dark"] [style*="color:#1a1a2e"],
html[data-bs-theme="dark"] [style*="color: #1a1a2e"]{color:var(--night-text)!important}
html[data-bs-theme="dark"] [style*="color:#64748b"],
html[data-bs-theme="dark"] [style*="color: #64748b"],
html[data-bs-theme="dark"] [style*="color:#475569"],
html[data-bs-theme="dark"] [style*="color: #475569"],
html[data-bs-theme="dark"] [style*="color:#6b7280"],
html[data-bs-theme="dark"] [style*="color: #6b7280"],
html[data-bs-theme="dark"] [style*="color:#4b5563"],
html[data-bs-theme="dark"] [style*="color: #4b5563"]{color:var(--night-muted)!important}
html[data-bs-theme="dark"] [style*="border:1px solid #e2e8f0"],
html[data-bs-theme="dark"] [style*="border: 1px solid #e2e8f0"],
html[data-bs-theme="dark"] [style*="border:1.5px solid #e2e8f0"],
html[data-bs-theme="dark"] [style*="border: 1.5px solid #e2e8f0"],
html[data-bs-theme="dark"] [style*="border-color: #e2e8f0"]{border-color:var(--night-line)!important}
html[data-bs-theme="dark"] .dsat-sidebar{background:linear-gradient(180deg,#0d0e2c,#090a1f)!important}
html[data-bs-theme="dark"] .dsat-topbar,
html[data-bs-theme="dark"] .topbar,
html[data-bs-theme="dark"] header.dsat-header{background:rgba(11,12,38,.82)!important;border-bottom:1px solid var(--night-line)!important;backdrop-filter:blur(14px)}
html[data-bs-theme="dark"] code,
html[data-bs-theme="dark"] pre,
html[data-bs-theme="dark"] .katex{color:#e5e7ff}
html[data-bs-theme="dark"] pre,
html[data-bs-theme="dark"] code{background:rgba(255,255,255,.06)}
html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb{background:#2a2e78}
html[data-bs-theme="dark"] ::selection{background:rgba(99,102,241,.45)}
html.night-fixing *,
html.night-fixing *::before,
html.night-fixing *::after{transition:none!important}
html[data-bs-theme="dark"] .table-primary,
html[data-bs-theme="dark"] .table-info{--bs-table-bg:rgba(99,102,241,.2);--bs-table-bg-type:rgba(99,102,241,.2);--bs-table-color:#fff;--bs-table-border-color:var(--night-line)}
html[data-bs-theme="dark"] .table-success{--bs-table-bg:rgba(34,197,94,.16);--bs-table-bg-type:rgba(34,197,94,.16);--bs-table-color:#fff}
html[data-bs-theme="dark"] .table-danger{--bs-table-bg:rgba(244,63,94,.16);--bs-table-bg-type:rgba(244,63,94,.16);--bs-table-color:#fff}
html[data-bs-theme="dark"] .table-warning{--bs-table-bg:rgba(245,158,11,.16);--bs-table-bg-type:rgba(245,158,11,.16);--bs-table-color:#fff}
html[data-bs-theme="dark"] .table-light,
html[data-bs-theme="dark"] .table-active{--bs-table-bg:rgba(255,255,255,.05);--bs-table-bg-type:rgba(255,255,255,.05);--bs-table-color:var(--night-text)}
html[data-bs-theme="dark"] .pl-day,
html[data-bs-theme="dark"] .pl-today,
html[data-bs-theme="dark"] .pl-card,
html[data-bs-theme="dark"] .pl-btn{background:var(--night-card)!important;border:1px solid var(--night-line)!important;color:var(--night-text)}
html[data-bs-theme="dark"] .pl-day.is-today{background:linear-gradient(160deg,#252a8a,#4b3fe0)!important;border-color:transparent!important}
html[data-bs-theme="dark"] .pl-day.is-empty{background:rgba(255,255,255,.03)!important}
html[data-bs-theme="dark"] .pl-task{background:rgba(255,255,255,.04)!important;border:1px solid var(--night-line)!important;color:var(--night-text)}
html[data-bs-theme="dark"] .pl-task.done{background:rgba(34,197,94,.12)!important}
html[data-bs-theme="dark"] .pl-topic,
html[data-bs-theme="dark"] .pl-date strong,
html[data-bs-theme="dark"] .pl-today-head h4,
html[data-bs-theme="dark"] .pl-big{color:#fff!important}
html[data-bs-theme="dark"] .pl-ai{background:linear-gradient(135deg,rgba(99,102,241,.2),rgba(124,58,237,.1));border:1px solid var(--night-line);border-radius:22px;padding:18px 20px;margin-bottom:18px}
html[data-bs-theme="dark"] .pl-ai-head{display:flex;gap:12px;align-items:center;margin-bottom:8px}
html[data-bs-theme="dark"] .pl-ai-head strong{display:block;font-size:15px;color:#fff}
html[data-bs-theme="dark"] .pl-ai-head small{color:var(--night-muted);font-size:12px}
html[data-bs-theme="dark"] .pl-ai-ic{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#6366f1,#8b5cf6);box-shadow:0 8px 20px -8px rgba(99,102,241,.8)}
html[data-bs-theme="dark"] .pl-ai p{margin:0 0 12px;color:#dfe2ff;font-size:14px;line-height:1.6}
html[data-bs-theme="dark"] .pl-chips{display:flex;flex-wrap:wrap;gap:8px}
html[data-bs-theme="dark"] .pl-chip{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:700;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid var(--night-line);color:#dfe2ff}
html[data-bs-theme="dark"] .pl-chip.c-phase{background:rgba(99,102,241,.28);color:#fff}
html[data-bs-theme="dark"] .pl-chip.c-weak{color:#fda4af;border-color:rgba(244,63,94,.4)}
html[data-bs-theme="dark"] .pl-chip.c-mock{color:#fcd34d;border-color:rgba(245,158,11,.4)}
html[data-bs-theme="dark"] .pl-chip.c-rev{color:#7dd3fc;border-color:rgba(56,189,248,.4)}
html[data-bs-theme="dark"] .pl-chip.c-forg{color:#c4b5fd;border-color:rgba(167,139,250,.4)}
html[data-bs-theme="dark"] .pl-mock{font-size:11px;font-weight:800;color:#fcd34d;text-align:center}
html[data-bs-theme="dark"] .pl-btn{text-decoration:none!important}
html[data-bs-theme="dark"] .nx-act{background:var(--night-card);border:1px solid var(--night-line);border-radius:22px;padding:20px 22px;margin:0 0 22px;box-shadow:var(--m-shadow)}
html[data-bs-theme="dark"] .nx-act-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:16px}
html[data-bs-theme="dark"] .nx-act-eyebrow{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#a5b4fc}
html[data-bs-theme="dark"] .nx-act h4{margin:4px 0 0;font-size:20px;color:#fff}
html[data-bs-theme="dark"] .nx-act-stats{display:flex;gap:22px;flex-wrap:wrap}
html[data-bs-theme="dark"] .nx-act-stats strong{display:block;font:800 24px/1.1 "Outfit",sans-serif;color:#fff}
html[data-bs-theme="dark"] .nx-act-stats small{color:var(--night-muted);font-size:12px}
html[data-bs-theme="dark"] .nx-heat{display:grid;grid-auto-flow:column;grid-template-rows:repeat(7,20px);grid-auto-columns:minmax(14px,1fr);gap:5px;overflow-x:auto;padding-bottom:4px}
html[data-bs-theme="dark"] .nx-heat i,
html[data-bs-theme="dark"] .nx-act-foot i{display:block;width:100%;min-width:14px;height:20px;border-radius:5px}
html[data-bs-theme="dark"] .nx-act-foot i{width:14px;min-width:14px;height:14px;aspect-ratio:auto}
html[data-bs-theme="dark"] .nx-heat i.l0,
html[data-bs-theme="dark"] .nx-act-foot i.l0{background:rgba(255,255,255,.06)}
html[data-bs-theme="dark"] .nx-heat i.l1,
html[data-bs-theme="dark"] .nx-act-foot i.l1{background:rgba(99,102,241,.35)}
html[data-bs-theme="dark"] .nx-heat i.l2,
html[data-bs-theme="dark"] .nx-act-foot i.l2{background:rgba(99,102,241,.6)}
html[data-bs-theme="dark"] .nx-heat i.l3,
html[data-bs-theme="dark"] .nx-act-foot i.l3{background:#6366f1}
html[data-bs-theme="dark"] .nx-heat i.l4,
html[data-bs-theme="dark"] .nx-act-foot i.l4{background:linear-gradient(135deg,#a78bfa,#34d399)}
html[data-bs-theme="dark"] .nx-heat i.today{outline:2px solid #fbbf24;outline-offset:1px}
html[data-bs-theme="dark"] .nx-act-foot{display:flex;align-items:center;gap:6px;margin-top:12px;font-size:11.5px;color:var(--night-muted)}
html[data-bs-theme="dark"] .nx-act-foot em{margin-left:auto;font-style:normal}
html[data-bs-theme="dark"] .nx-act-foot kbd{background:rgba(255,255,255,.1);border-radius:5px;padding:1px 6px;color:#c7d2fe}

/* ===== v13: to'q tema — yorug' tema bilan bir xil shakl (ikonka kafellari, to'liq indigo faol holat) ===== */
html[data-bs-theme="dark"] body{background:#0b0c26!important}
html[data-bs-theme="dark"] .dsat-sidebar-inner{padding:6px 14px 14px}
html[data-bs-theme="dark"] .dsat-nav-label{font-size:11px!important;font-weight:800!important;letter-spacing:.14em!important;color:#8e93c9!important;padding:22px 10px 8px!important}
html[data-bs-theme="dark"] .dsat-sidebar a{border-radius:14px;padding:8px 10px;gap:12px;font-size:14.5px;font-weight:600;margin-bottom:4px}
html[data-bs-theme="dark"] .dsat-sidebar a i.fas,html[data-bs-theme="dark"] .dsat-sidebar a i.fab,html[data-bs-theme="dark"] .dsat-sidebar a i.far{width:34px;height:34px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;background:rgba(129,140,248,.14);color:#a5b4fc;opacity:1}
html[data-bs-theme="dark"] .dsat-sidebar-inner a:hover{background:rgba(129,140,248,.1)!important;color:#fff!important;transform:none;border-color:transparent}
html[data-bs-theme="dark"] .dsat-sidebar-inner a.active{background:#4f46e5!important;color:#fff!important;border:1px solid transparent!important;box-shadow:0 12px 26px -12px rgba(79,70,229,.9)!important}
html[data-bs-theme="dark"] .dsat-sidebar-inner a.active i{background:rgba(255,255,255,.2)!important;color:#fff!important}
html[data-bs-theme="dark"] .card,html[data-bs-theme="dark"] .stat-card,html[data-bs-theme="dark"] .widget-card,html[data-bs-theme="dark"] .pg-card,html[data-bs-theme="dark"] .nx-act{border-radius:20px!important}
html[data-bs-theme="dark"] .btn-primary,html[data-bs-theme="dark"] .btn-hero-primary{background:#4f46e5!important;border:0!important}
html[data-bs-theme="dark"] .nav-tabs .nav-link.active{color:#a5b4fc;border-bottom:2px solid #818cf8;background:none}
html[data-bs-theme="dark"] .nav-pills .nav-link{border-radius:999px;font-weight:600}
html[data-bs-theme="dark"] .nav-pills .nav-link.active{background:#4f46e5;color:#fff}
html[data-bs-theme="dark"] .nx-tile{background:#15174a!important;border:1px solid rgba(129,140,248,.2)!important;border-radius:20px!important;color:#eef0ff;box-shadow:none}
html[data-bs-theme="dark"] .nx-tile:hover{border-color:rgba(129,140,248,.55)!important}
html[data-bs-theme="dark"] .nx-tile small,html[data-bs-theme="dark"] .nx-go{color:#9aa0d6}
html[data-bs-theme="dark"] .nx-tile-ic{background:linear-gradient(135deg,var(--c),color-mix(in srgb,var(--c) 60%,#fff))!important;color:#fff!important}
html[data-bs-theme="dark"] .nx-launch{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}

/* ===== GLOBAL ACCESSIBILITY & CONTRAST FIXES (HIGH-CONTRAST DARK THEME) ===== */
/* 1. Yellow & Warning Badges / Buttons (Ensure dark legible text on bright yellow) */
html[data-bs-theme="dark"] .badge.bg-warning,
html[data-bs-theme="dark"] .badge.bg-warning *,
html[data-bs-theme="dark"] .badge.text-bg-warning,
html[data-bs-theme="dark"] .badge.text-bg-warning *,
html[data-bs-theme="dark"] .badge.bg-warning.text-dark,
html[data-bs-theme="dark"] .btn-warning,
html[data-bs-theme="dark"] .btn-warning *,
html[data-bs-theme="dark"] .btn-warning.text-dark,
html[data-bs-theme="dark"] .btn-warning.text-dark * {
    color: #0f172a !important;
}

/* 2. Subdued Outline Warning Button (Bright amber on dark background) */
html[data-bs-theme="dark"] .btn-outline-warning,
html[data-bs-theme="dark"] .btn-outline-warning.text-dark,
html[data-bs-theme="dark"] .btn-outline-warning * {
    color: #fbbf24 !important;
    border-color: #f59e0b !important;
}
html[data-bs-theme="dark"] .btn-outline-warning:hover {
    background: #f59e0b !important;
    color: #0f172a !important;
}
html[data-bs-theme="dark"] .btn-outline-warning:hover * {
    color: #0f172a !important;
}

/* 3. High-Contrast Semantic Subtle / Opacity Badges */
html[data-bs-theme="dark"] .badge.bg-success[class*="bg-opacity"],
html[data-bs-theme="dark"] .badge.bg-success-subtle {
    background: rgba(34, 197, 94, 0.2) !important;
    color: #4ade80 !important;
    border: 1px solid rgba(74, 222, 128, 0.35) !important;
}
html[data-bs-theme="dark"] .badge.bg-danger[class*="bg-opacity"],
html[data-bs-theme="dark"] .badge.bg-danger-subtle {
    background: rgba(244, 63, 94, 0.2) !important;
    color: #fb7185 !important;
    border: 1px solid rgba(251, 113, 133, 0.35) !important;
}
html[data-bs-theme="dark"] .badge.bg-warning[class*="bg-opacity"],
html[data-bs-theme="dark"] .badge.bg-warning-subtle {
    background: rgba(245, 158, 11, 0.2) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(251, 191, 36, 0.35) !important;
}
html[data-bs-theme="dark"] .badge.bg-info[class*="bg-opacity"],
html[data-bs-theme="dark"] .badge.bg-info-subtle {
    background: rgba(56, 189, 248, 0.2) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
}
html[data-bs-theme="dark"] .badge.bg-primary[class*="bg-opacity"],
html[data-bs-theme="dark"] .badge.bg-primary-subtle {
    background: rgba(99, 102, 241, 0.22) !important;
    color: #c7d2fe !important;
    border: 1px solid rgba(129, 140, 248, 0.35) !important;
}

/* 4. Question Cards & Option Buttons (Daily Drill, Practice, Mock, Timed Practice) */
html[data-bs-theme="dark"] .q-card,
html[data-bs-theme="dark"] .qcard {
    background: var(--night-card) !important;
    border: 1px solid var(--night-line) !important;
    color: var(--night-text) !important;
    box-shadow: var(--m-shadow) !important;
}
html[data-bs-theme="dark"] .q-nav-pill {
    background: #0f1136 !important;
    border-color: var(--night-line) !important;
    color: var(--night-muted) !important;
}
html[data-bs-theme="dark"] .q-nav-pill:hover {
    border-color: #818cf8 !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] .q-nav-pill.active {
    background: #4f46e5 !important;
    border-color: #4f46e5 !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] .q-nav-pill.answered-correct {
    background: rgba(34, 197, 94, 0.25) !important;
    border-color: #22c55e !important;
    color: #4ade80 !important;
}
html[data-bs-theme="dark"] .q-nav-pill.answered-wrong {
    background: rgba(239, 68, 68, 0.25) !important;
    border-color: #ef4444 !important;
    color: #fb7185 !important;
}

html[data-bs-theme="dark"] .option-btn,
html[data-bs-theme="dark"] .opt {
    background: #181a4e !important;
    border: 1.5px solid rgba(129, 140, 248, 0.25) !important;
    border-bottom: 3px solid rgba(129, 140, 248, 0.35) !important;
    color: #eef0ff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}
html[data-bs-theme="dark"] .option-btn:hover:not(:disabled),
html[data-bs-theme="dark"] .opt:hover:not(:disabled) {
    border-color: #818cf8 !important;
    border-bottom-color: #6366f1 !important;
    background: #202462 !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] .option-letter,
html[data-bs-theme="dark"] .opt b,
html[data-bs-theme="dark"] .option-btn .opt-badge {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(129, 140, 248, 0.3) !important;
    color: #c7d2fe !important;
}
html[data-bs-theme="dark"] .option-btn.selected,
html[data-bs-theme="dark"] .opt.selected {
    border-color: #6366f1 !important;
    border-bottom: 3px solid #4f46e5 !important;
    background: rgba(99, 102, 241, 0.28) !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] .option-btn.selected .option-letter,
html[data-bs-theme="dark"] .opt.selected b {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border-color: #6366f1 !important;
}
html[data-bs-theme="dark"] .option-btn.correct,
html[data-bs-theme="dark"] .opt.right {
    border-color: #22c55e !important;
    border-bottom: 3px solid #16a34a !important;
    background: rgba(34, 197, 94, 0.22) !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] .option-btn.correct .option-text,
html[data-bs-theme="dark"] .option-btn.correct * {
    color: #ffffff !important;
}
html[data-bs-theme="dark"] .option-btn.correct .option-letter,
html[data-bs-theme="dark"] .opt.right b {
    background: #16a34a !important;
    color: #ffffff !important;
    border-color: #22c55e !important;
}
html[data-bs-theme="dark"] .option-btn.wrong,
html[data-bs-theme="dark"] .opt.wrong {
    border-color: #ef4444 !important;
    border-bottom: 3px solid #dc2626 !important;
    background: rgba(239, 68, 68, 0.22) !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] .option-btn.wrong .option-text,
html[data-bs-theme="dark"] .option-btn.wrong * {
    color: #ffffff !important;
}
html[data-bs-theme="dark"] .option-btn.wrong .option-letter,
html[data-bs-theme="dark"] .opt.wrong b {
    background: #dc2626 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
}
html[data-bs-theme="dark"] .option-btn.eliminated {
    opacity: 0.38 !important;
    background: #0f1136 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
html[data-bs-theme="dark"] .passage {
    background: rgba(99, 102, 241, 0.08) !important;
    border-left: 4px solid #6366f1 !important;
    color: #eef0ff !important;
}
html[data-bs-theme="dark"] .expl,
html[data-bs-theme="dark"] .aibox {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--night-line) !important;
    color: #eef0ff !important;
}

/* 5. Vocabulary 3D Decks, Flashcards & Games */
html[data-bs-theme="dark"] .deck-card {
    background: var(--night-card) !important;
    border-color: var(--night-line) !important;
    border-top: 4px solid var(--deck-color, #6366f1) !important;
    color: var(--night-text) !important;
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.6) !important;
}
html[data-bs-theme="dark"] .deck-title {
    color: #ffffff !important;
}
html[data-bs-theme="dark"] .deck-subinfo {
    color: var(--night-muted) !important;
}
html[data-bs-theme="dark"] .deck-progress-bar {
    background: rgba(255, 255, 255, 0.08) !important;
}
html[data-bs-theme="dark"] .deck-progress-text {
    color: var(--night-muted) !important;
}
html[data-bs-theme="dark"] .vocab-title-text {
    color: #ffffff !important;
}
html[data-bs-theme="dark"] .vocab-subtitle {
    color: var(--night-muted) !important;
}
html[data-bs-theme="dark"] .vocab-subtitle strong {
    color: #ffffff !important;
}
html[data-bs-theme="dark"] .cefr-pills,
html[data-bs-theme="dark"] .mode-toggle-group {
    background: #11133d !important;
    border: 1px solid var(--night-line) !important;
}
html[data-bs-theme="dark"] .cefr-pill-btn,
html[data-bs-theme="dark"] .mode-toggle-btn {
    color: var(--night-muted) !important;
}
html[data-bs-theme="dark"] .cefr-pill-btn:hover,
html[data-bs-theme="dark"] .mode-toggle-btn:hover {
    color: #ffffff !important;
    background: rgba(99, 102, 241, 0.18) !important;
}
html[data-bs-theme="dark"] .cefr-pill-btn.active,
html[data-bs-theme="dark"] .mode-toggle-btn.active {
    background: #4f46e5 !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] .flip-card-front {
    background: #15174a !important;
    border: 2px solid #6366f1 !important;
    color: #eef0ff !important;
    box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.7) !important;
}
html[data-bs-theme="dark"] .flip-card-back {
    background: #0f1c3f !important;
    border: 2px solid #34d399 !important;
    color: #eef0ff !important;
    box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.7) !important;
}
html[data-bs-theme="dark"] .fc-word {
    color: #ffffff !important;
}
html[data-bs-theme="dark"] .fc-phonetic {
    color: #a5b4fc !important;
}
html[data-bs-theme="dark"] .fc-meaning {
    color: #4ade80 !important;
}
html[data-bs-theme="dark"] .fc-def {
    color: #e2e8f0 !important;
}
html[data-bs-theme="dark"] .fc-example {
    color: #94a3b8 !important;
    border-top: 1px solid rgba(129, 140, 248, 0.25) !important;
}
html[data-bs-theme="dark"] .fc-hint-tag {
    background: rgba(99, 102, 241, 0.25) !important;
    color: #c7d2fe !important;
}
html[data-bs-theme="dark"] .match-item-card {
    background: #181a4e !important;
    border-color: rgba(129, 140, 248, 0.3) !important;
    color: #eef0ff !important;
}
html[data-bs-theme="dark"] .match-item-card:hover {
    border-color: #818cf8 !important;
}
html[data-bs-theme="dark"] .match-item-card.selected {
    background: rgba(99, 102, 241, 0.35) !important;
    border-color: #818cf8 !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] .match-item-card.match-success {
    background: rgba(34, 197, 94, 0.25) !important;
    border-color: #4ade80 !important;
    color: #86efac !important;
}
html[data-bs-theme="dark"] .match-item-card.match-failed {
    background: rgba(239, 68, 68, 0.25) !important;
    border-color: #f87171 !important;
    color: #fca5a5 !important;
}

/* 6. Vocab Games (Mening Lug'atim) Memory & Matching */
html[data-bs-theme="dark"] .vg-mc.up {
    background: rgba(99, 102, 241, 0.3) !important;
    color: #ffffff !important;
    border-color: #818cf8 !important;
}
