/* High-contrast light theme: all body copy and menu text are near-black; content headings are maroon. */
body[data-theme="light"]{background:#f7f7f8!important;color:#111827!important}
body[data-theme="light"],body[data-theme="light"] #homepage-container,body[data-theme="light"] .tab-content,body[data-theme="light"] #slide-player-overlay{background-color:#f7f7f8!important;color:#111827!important}
body[data-theme="light"] *{color:#111827!important;-webkit-text-fill-color:#111827!important;opacity:1!important;border-color:#d1d5db}
body[data-theme="light"] h1,body[data-theme="light"] h2,body[data-theme="light"] h3,body[data-theme="light"] h4,body[data-theme="light"] h5,body[data-theme="light"] h6{color:#800020!important;-webkit-text-fill-color:#800020!important}
body[data-theme="light"] #homepage-container>header,body[data-theme="light"] #homepage-container>header *,body[data-theme="light"] nav,body[data-theme="light"] nav *{color:#111827!important}
body[data-theme="light"] #homepage-container>header{background:#fff!important;border-color:#d1d5db!important}
body[data-theme="light"] .premium-glass,body[data-theme="light"] .academic-card,body[data-theme="light"] .academic-circle,body[data-theme="light"] .academic-page,body[data-theme="light"] .course-outline-topic-card,body[data-theme="light"] .course-outline-panel,body[data-theme="light"] .course-outline-phase,body[data-theme="light"] .course-outline-hero,body[data-theme="light"] .course-outline-journey,body[data-theme="light"] .course-outline-stat{background:#fff!important;border-color:#d1d5db!important;color:#111827!important}
body[data-theme="light"] [class*="bg-zinc-950"],body[data-theme="light"] [class*="bg-zinc-900"],body[data-theme="light"] [class*="bg-zinc-800"],body[data-theme="light"] [class*="bg-slate-950"],body[data-theme="light"] [class*="bg-slate-900"],body[data-theme="light"] [class*="bg-black"]{background-color:#fff!important}
body[data-theme="light"] input:not([type=checkbox]),body[data-theme="light"] select,body[data-theme="light"] textarea{background:#fff!important;color:#111827!important;border-color:#9ca3af!important}
body[data-theme="light"] input::placeholder,body[data-theme="light"] textarea::placeholder{color:#4b5563!important;opacity:1}
body[data-theme="light"] button,body[data-theme="light"] a{color:#111827!important}
body[data-theme="light"] .course-outline-stat strong{color:#800020!important}
body[data-theme="light"] .course-outline-title,body[data-theme="light"] .course-outline-section-heading{color:#800020!important}
body[data-theme="light"] .theme-switch{color:#111827!important}
.theme-switch{display:inline-flex;align-items:center;gap:7px;color:inherit;font-size:11px;white-space:nowrap}
.theme-switch input{position:absolute;opacity:0;width:1px;height:1px}
.theme-switch-track{position:relative;width:36px;height:20px;border:1px solid #64748b;border-radius:999px;background:#1f2937;cursor:pointer}
.theme-switch-track:after{position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#e2e8f0;content:"";transition:transform .18s}
.theme-switch input:checked+.theme-switch-track{background:#800020;border-color:#800020}
.theme-switch input:checked+.theme-switch-track:after{transform:translateX(16px)}
.theme-switch input:focus-visible+.theme-switch-track{outline:3px solid #22d3ee;outline-offset:3px}
@media(max-width:850px){#auth-actions-container{flex-wrap:wrap;justify-content:flex-end}.theme-switch{font-size:10px}}

body[data-theme="light"] #slide-player-overlay,body[data-theme="light"] #slide-player-body,body[data-theme="light"] #slide-player-header-bar,body[data-theme="light"] #slide-player-controls-footer,body[data-theme="light"] #player-sidebar-nav{background:#fff!important;color:#111827!important;border-color:#d1d5db!important}

/* Keep every label in the lesson player readable in light mode despite legacy player-specific colors and opacity. */
body[data-theme="light"] #slide-player-overlay *{color:#111827!important;opacity:1!important}
body[data-theme="light"] #slide-player-overlay h1,body[data-theme="light"] #slide-player-overlay h2,body[data-theme="light"] #slide-player-overlay h3,body[data-theme="light"] #slide-player-overlay h4,body[data-theme="light"] #slide-player-overlay h5,body[data-theme="light"] #slide-player-overlay h6{color:#800020!important;-webkit-text-fill-color:#800020!important}

/* The animated hero canvas is intentionally dark; remove it only while the light theme is selected. */
body[data-theme="light"] #tab-home{background:#f7f7f8!important}
body[data-theme="light"] #hero-three-container{display:none!important}
body[data-theme="light"] #tab-home>.academic-hero{background:#f7f7f8!important}

/* Convert fixed dark academic home panels to white surfaces in light mode. */
body[data-theme="light"] .learn-about-intro,body[data-theme="light"] .learn-about-benefits article,body[data-theme="light"] .learn-about-quote,body[data-theme="light"] .academic-empty,body[data-theme="light"] .placement-companion,body[data-theme="light"] .academic-domains .academic-ai{background:#fff!important;color:#111827!important;border-color:#d1d5db!important}

/* Keep the new learning journey in step with the selected site theme. */
body:not([data-theme="light"]) .learn-about-intro{background:#111821!important;color:#f3f4f6!important;border-color:#303b49!important;box-shadow:0 12px 34px rgba(0,0,0,.24)!important}
body:not([data-theme="light"]) .learn-about-intro>.academic-eyebrow,
body:not([data-theme="light"]) .learn-about-intro h2,
body:not([data-theme="light"]) .try-demo-kicker,
body:not([data-theme="light"]) .try-demo h3{color:#fb7185!important;-webkit-text-fill-color:#fb7185!important}
body:not([data-theme="light"]) .learn-about-intro .learn-about-summary,
body:not([data-theme="light"]) .learning-step,
body:not([data-theme="light"]) .demo-control,
body:not([data-theme="light"]) .demo-explanation{color:#d1d5db!important;-webkit-text-fill-color:#d1d5db!important}
body:not([data-theme="light"]) .whats-new-trigger,
body:not([data-theme="light"]) .demo-reset{background:#18212c!important;color:#f3f4f6!important;border-color:#3b4758!important;-webkit-text-fill-color:#f3f4f6!important}
body:not([data-theme="light"]) .whats-new-trigger:hover,
body:not([data-theme="light"]) .demo-reset:hover{background:#222d3a!important;border-color:#fb7185!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
body:not([data-theme="light"]) .whats-new-panel,
body:not([data-theme="light"]) .try-demo{background:#171f2a!important;color:#f3f4f6!important;border-color:#303b49!important}
body:not([data-theme="light"]) .whats-new-item{color:#f3f4f6!important;-webkit-text-fill-color:#f3f4f6!important}
body:not([data-theme="light"]) .whats-new-item+.whats-new-item{border-color:#303b49!important}
body:not([data-theme="light"]) .whats-new-item:hover{background:#222b37!important}
body:not([data-theme="light"]) .whats-new-item-copy strong{color:#f9fafb!important;-webkit-text-fill-color:#f9fafb!important}
body:not([data-theme="light"]) .whats-new-item-copy>span,
body:not([data-theme="light"]) .whats-new-item-copy small,
body:not([data-theme="light"]) .whats-new-empty{color:#cbd5e1!important;-webkit-text-fill-color:#cbd5e1!important}
body:not([data-theme="light"]) .whats-new-item-icon,
body:not([data-theme="light"]) .learning-step-icon{background:#261d25!important;color:#fda4af!important;border-color:#49313c!important;-webkit-text-fill-color:#fda4af!important}
body:not([data-theme="light"]) .learning-step:hover .learning-step-icon{background:#33202a!important;border-color:#fb7185!important}
body:not([data-theme="light"]) .demo-graph-wrap{background:#0b111a!important;border-color:#303b49!important}
body:not([data-theme="light"]) .graph-grid path{stroke:#344153!important}
body:not([data-theme="light"]) .normal-area{fill:rgba(251,113,133,.18)!important}
body:not([data-theme="light"]) .normal-line{stroke:#fb7185!important}
body:not([data-theme="light"]) .mean-indicator{stroke:#fda4af!important}
body:not([data-theme="light"]) .mean-indicator-label{fill:#fda4af!important}
body:not([data-theme="light"]) .graph-axis{stroke:#64748b!important}
body:not([data-theme="light"]) .graph-ticks{fill:#cbd5e1!important}
body:not([data-theme="light"]) .demo-control output{color:#fda4af!important;-webkit-text-fill-color:#fda4af!important}
body:not([data-theme="light"]) .demo-control input{accent-color:#fb7185!important}

/* The site's light-theme contrast reset is broad; restore the learning section's
   brand accents while keeping every label dark enough to read on white surfaces. */
body[data-theme="light"] .learn-about-intro{background:#fff!important;color:#1f2937!important;border-color:#d1d5db!important}
body[data-theme="light"] .learn-about-intro>.academic-eyebrow,
body[data-theme="light"] .learn-about-intro h2,
body[data-theme="light"] .try-demo-kicker,
body[data-theme="light"] .try-demo h3{color:#800020!important;-webkit-text-fill-color:#800020!important}
body[data-theme="light"] .learn-about-intro .learn-about-summary,
body[data-theme="light"] .learning-step,
body[data-theme="light"] .demo-control,
body[data-theme="light"] .demo-explanation{color:#374151!important;-webkit-text-fill-color:#374151!important}
body[data-theme="light"] .whats-new-trigger,
body[data-theme="light"] .demo-reset{background:#fff!important;color:#253041!important;border-color:#d1d5db!important;-webkit-text-fill-color:#253041!important}
body[data-theme="light"] .whats-new-trigger:hover,
body[data-theme="light"] .demo-reset:hover{background:#fff7f8!important;color:#800020!important;border-color:#c99ba7!important;-webkit-text-fill-color:#800020!important}
body[data-theme="light"] .whats-new-panel,
body[data-theme="light"] .try-demo{background:#fff!important;color:#1f2937!important;border-color:#d1d5db!important}
body[data-theme="light"] .whats-new-item{color:#1f2937!important;-webkit-text-fill-color:#1f2937!important}
body[data-theme="light"] .whats-new-item-copy strong{color:#252b35!important;-webkit-text-fill-color:#252b35!important}
body[data-theme="light"] .whats-new-item-copy>span,
body[data-theme="light"] .whats-new-item-copy small,
body[data-theme="light"] .whats-new-empty{color:#586171!important;-webkit-text-fill-color:#586171!important}
body[data-theme="light"] .whats-new-item-icon,
body[data-theme="light"] .learning-step-icon{background:#fffafb!important;color:#800020!important;border-color:#eee3e6!important;-webkit-text-fill-color:#800020!important}
body[data-theme="light"] .demo-graph-wrap{background:#fff!important;border-color:#e5e7eb!important}
body[data-theme="light"] .graph-ticks{fill:#4b5563!important}
body[data-theme="light"] .demo-control output{color:#800020!important;-webkit-text-fill-color:#800020!important}


/* AVEERANEX brand lockup uses the supplied wordmark in every theme. Its white plate preserves the logo's original navy lettering on dark surfaces. */
.brand-stack{display:flex;flex-direction:column;gap:3px;min-width:0}
.brand-lockup-row{display:flex;align-items:center;gap:7px;min-height:28px}
.brand-logo-plate{display:inline-flex;align-items:center;justify-content:center;padding:4px 6px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;line-height:0;flex:0 1 auto}
.brand-logo{display:block;width:min(230px,22vw);height:auto;max-height:20px;object-fit:contain}
.brand-learn-label{margin:0;padding:0;color:#f8fafc!important;-webkit-text-fill-color:#f8fafc!important;font-size:18px;line-height:1;font-weight:800;letter-spacing:.16em}
.brand-tagline{margin:0;color:#0e7490!important;-webkit-text-fill-color:#0e7490!important;font-size:10px;line-height:1.2;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
body[data-theme="light"] .brand-learn-label{color:#800020!important;-webkit-text-fill-color:#800020!important}
body:not([data-theme="light"]) .brand-tagline{color:#06b6d4!important;-webkit-text-fill-color:#06b6d4!important}

/* Make the Engineering, Management, Arts & Science circles distinct and legible on the light surface. */
body[data-theme="light"] .academic-domains .academic-circle.academic-cyan{background:radial-gradient(circle at 42% 28%,#ecfeff 0%,#cffafe 72%,#bae6fd 100%)!important;border:2px solid #0891b2!important;color:#111827!important;box-shadow:0 12px 32px rgba(8,145,178,.18),inset 0 0 0 5px rgba(255,255,255,.72)!important}
body[data-theme="light"] .academic-domains .academic-circle.academic-violet{background:radial-gradient(circle at 55% 26%,#faf5ff 0%,#ede9fe 72%,#ddd6fe 100%)!important;border:2px solid #7c3aed!important;color:#111827!important;box-shadow:0 12px 32px rgba(124,58,237,.16),inset 0 0 0 5px rgba(255,255,255,.72)!important}
body[data-theme="light"] .academic-domains .academic-circle.academic-teal{background:radial-gradient(circle at 50% 26%,#f0fdfa 0%,#ccfbf1 72%,#99f6e4 100%)!important;border:2px solid #0f766e!important;color:#111827!important;box-shadow:0 12px 32px rgba(15,118,110,.16),inset 0 0 0 5px rgba(255,255,255,.72)!important}
body[data-theme="light"] .academic-domains .academic-circle .academic-icon{background:#fff!important;border:1px solid #94a3b8!important;box-shadow:0 2px 9px rgba(15,23,42,.1)}
body[data-theme="light"] .academic-domains .academic-ai{z-index:4;background:#fff7ed!important;border:2px solid #c2410c!important;color:#7c2d12!important;-webkit-text-fill-color:#7c2d12!important;box-shadow:0 0 0 5px #fff,0 8px 24px rgba(194,65,12,.28)!important}
body[data-theme="light"] .academic-domains .academic-circle .academic-explore{color:#111827!important;-webkit-text-fill-color:#111827!important}
body[data-theme="light"] .academic-card{box-shadow:0 8px 22px rgba(15,23,42,.07)}
body[data-theme="light"] .academic-card .academic-icon{background:#ecfeff!important;border-color:#67e8f9!important}
@media(max-width:650px){.brand-logo{width:min(150px,35vw);max-height:17px}.brand-learn-label{font-size:15px;letter-spacing:.1em}.brand-tagline{font-size:8px;letter-spacing:.04em}}


/* Component contrast repairs for the white theme. Legacy learning components define
   their own dark surfaces, so give those surfaces matching readable foregrounds. */
body[data-theme="light"] #tab-courses button:not(.course-outline-launch),
body[data-theme="light"] #tab-courses [role="tab"],
body[data-theme="light"] #tab-courses .academic-course-card button{
  color:#111827!important;-webkit-text-fill-color:#111827!important;
}
body[data-theme="light"] #tab-courses .course-outline-launch,
body[data-theme="light"] #tab-courses button[class*="bg-cyan"],
body[data-theme="light"] #tab-courses button[class*="bg-teal"]{
  background:#0e7490!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
}

/* Lab cards and their form controls use a calm, light surface; plots retain a dark
   canvas so traces remain distinct, with bright axis and annotation labels. */
body[data-theme="light"] #tab-labs .lab-workbench,
body[data-theme="light"] #tab-labs .lab-legacy,
body[data-theme="light"] #tab-labs .premium-glass,
body[data-theme="light"] #tab-labs .lab-category-button{
  background:#fff!important;color:#111827!important;border-color:#cbd5e1!important;
  box-shadow:0 5px 18px rgba(15,23,42,.08)!important;
}
body[data-theme="light"] #tab-labs .lab-category-button strong,
body[data-theme="light"] #tab-labs .lab-workbench>h3,
body[data-theme="light"] #tab-labs .lab-legacy h3,
body[data-theme="light"] #tab-labs .lab-legacy h4{color:#800020!important;-webkit-text-fill-color:#800020!important}
body[data-theme="light"] #tab-labs .lab-category-button span,
body[data-theme="light"] #tab-labs .lab-category-button small,
body[data-theme="light"] #tab-labs .lab-description,
body[data-theme="light"] #tab-labs .lab-controls label,
body[data-theme="light"] #tab-labs .lab-workbench p{color:#334155!important;-webkit-text-fill-color:#334155!important}
body[data-theme="light"] #tab-labs .lab-controls input:not([type=range]),
body[data-theme="light"] #tab-labs .lab-controls select,
body[data-theme="light"] #tab-labs .lab-experiment-picker select{
  background:#fff!important;color:#111827!important;border-color:#94a3b8!important;
}
body[data-theme="light"] #tab-labs .lab-visual{
  background:#101827!important;border:1px solid #475569!important;color:#f8fafc!important;
}
body[data-theme="light"] #tab-labs .lab-visual svg text,
body[data-theme="light"] #tab-labs .lab-visual svg tspan{fill:#f8fafc!important}
body[data-theme="light"] #tab-labs .lab-explanation{
  background:#f1f5f9!important;color:#1e293b!important;border-left-color:#0e7490!important;
}
body[data-theme="light"] #tab-labs .lab-explanation h4{color:#800020!important}
body[data-theme="light"] #tab-labs .lab-guide-row{background:#eaf2f7!important}
body[data-theme="light"] #tab-labs .lab-guide-row strong{color:#0e7490!important}
body[data-theme="light"] #tab-labs .lab-guide-row span{color:#1e293b!important}
body[data-theme="light"] #tab-labs .lab-step-button{color:#1e293b!important}
body[data-theme="light"] #tab-labs .lab-step.is-current .lab-step-button{background:#e0f2fe!important;color:#0c4a6e!important}
body[data-theme="light"] #tab-labs .lab-toolbar button{
  background:#e0f2fe!important;color:#0c4a6e!important;border-color:#7dd3fc!important;
}

/* Statistics and visualization plot labels often use SVG fill attributes, which the
   normal text-color theme rule cannot reach. */
body[data-theme="light"] .viz-plot svg text,
body[data-theme="light"] .viz-plot svg tspan,
body[data-theme="light"] #tab-labs svg text,
body[data-theme="light"] #tab-labs svg tspan{fill:#f8fafc!important}
body[data-theme="light"] .viz-settings,
body[data-theme="light"] .viz-info{background:#fff!important;color:#111827!important;border-color:#cbd5e1!important}
body[data-theme="light"] .viz-settings label,
body[data-theme="light"] .viz-control label,
body[data-theme="light"] .viz-info p{color:#334155!important;-webkit-text-fill-color:#334155!important}
body[data-theme="light"] .viz-settings select{background:#fff!important;color:#111827!important;border-color:#94a3b8!important}

/* The slide viewer's toolbar, sidebar, navigation, and generated learning cards all
   become light-theme surfaces. Keep diagrams and canvases dark where their labels are bright. */
body[data-theme="light"] #slide-player-overlay,
body[data-theme="light"] #slide-player-header-bar,
body[data-theme="light"] #player-sidebar,
body[data-theme="light"] #player-sidebar-nav,
body[data-theme="light"] #slide-player-overlay main,
body[data-theme="light"] #slide-player-controls-footer{background:#f8fafc!important;color:#111827!important;border-color:#cbd5e1!important}
body[data-theme="light"] #slide-player-overlay button{
  background:#fff!important;color:#111827!important;-webkit-text-fill-color:#111827!important;
  border-color:#cbd5e1!important;box-shadow:0 1px 3px rgba(15,23,42,.08);
}
body[data-theme="light"] #slide-player-overlay button:hover{background:#e2e8f0!important}
body[data-theme="light"] #slide-player-overlay #player-btn-back-home{
  background:#0e7490!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#0e7490!important;
}
body[data-theme="light"] #slide-player-body .slide-header,
body[data-theme="light"] #slide-player-body .slide-body,
body[data-theme="light"] #slide-player-body .glass-card,
body[data-theme="light"] #slide-player-body .problem-card,
body[data-theme="light"] #slide-player-body .io-box,
body[data-theme="light"] #slide-player-body .comparison-box,
body[data-theme="light"] #slide-player-body .card,
body[data-theme="light"] #slide-player-body [class*="glass"],
body[data-theme="light"] #slide-player-body [class*="panel"]{
  background:#fff!important;color:#111827!important;border-color:#cbd5e1!important;
  box-shadow:0 8px 22px rgba(15,23,42,.09);
}
body[data-theme="light"] #slide-player-body p,
body[data-theme="light"] #slide-player-body li,
body[data-theme="light"] #slide-player-body td,
body[data-theme="light"] #slide-player-body th,
body[data-theme="light"] #slide-player-body label{color:#111827!important;-webkit-text-fill-color:#111827!important}
body[data-theme="light"] #slide-player-body h1,
body[data-theme="light"] #slide-player-body h2,
body[data-theme="light"] #slide-player-body h3,
body[data-theme="light"] #slide-player-body h4{color:#800020!important;-webkit-text-fill-color:#800020!important}
body[data-theme="light"] #slide-player-body [class*="bg-zinc"],
body[data-theme="light"] #slide-player-body [class*="bg-slate"],
body[data-theme="light"] #slide-player-body [class*="bg-black"]{background:#fff!important}

/* Case-study controls and the explorer card previously retained dark CSS backgrounds
   while inheriting near-black foregrounds from the global light-theme rule. */
body[data-theme="light"] #case-workspace,
body[data-theme="light"] #case-visual-panel,
body[data-theme="light"] #case-interactive-panel,
body[data-theme="light"] .cx-explorer{
  background:#fff!important;color:#111827!important;border-color:#cbd5e1!important;
}
body[data-theme="light"] .cx-toolbar button,
body[data-theme="light"] .cx-presets button,
body[data-theme="light"] .cx-controls button,
body[data-theme="light"] .cx-home-link{
  background:#f1f5f9!important;color:#0f172a!important;-webkit-text-fill-color:#0f172a!important;border-color:#94a3b8!important;
}
body[data-theme="light"] .cx-context,
body[data-theme="light"] .cx-explorer p,
body[data-theme="light"] .cx-notice,
body[data-theme="light"] .cx-formula,
body[data-theme="light"] .cx-controls label,
body[data-theme="light"] .cx-details{color:#334155!important;-webkit-text-fill-color:#334155!important}
body[data-theme="light"] .cx-explorer h3,
body[data-theme="light"] .cx-explorer h4,
body[data-theme="light"] .cx-toolbar h3{color:#800020!important;-webkit-text-fill-color:#800020!important}
body[data-theme="light"] .cx-diagram,
body[data-theme="light"] .cx-result,
body[data-theme="light"] .cx-details{
  background:#f1f5f9!important;color:#111827!important;border-color:#cbd5e1!important;
}
body[data-theme="light"] .cx-track{background:#cbd5e1!important}
body[data-theme="light"] .cx-control-ring{border-color:#fff!important}
body[data-theme="light"] .cx-control-ring span{background:#0f172a!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
body[data-theme="light"] .cx-category{color:#111827!important}


/* Preserve each diagram's authored label colors on the light card surfaces. The
   previous blanket white fill made dark labels disappear on white backgrounds. */

/* Course diagrams authored for dark canvases use translucent white connector and
   outline strokes. Their canvases become white in light mode, so give those marks
   a solid slate stroke while leaving colored data series untouched. */
body[data-theme="light"] #slide-player-body svg [stroke*="255,255,255"],
body[data-theme="light"] #slide-player-body svg [stroke="#fff"],
body[data-theme="light"] #slide-player-body svg [stroke="#ffffff"],
body[data-theme="light"] #slide-player-body svg [stroke="white"]{
  stroke:#64748b!important;
  stroke-opacity:1!important;
}
/* Bright lesson-series colors were designed for dark canvases. Deepen them on
   white lesson surfaces so connector paths, markers, and labels remain clear. */
body[data-theme="light"] #slide-player-body svg [stroke="#06b6d4"],
body[data-theme="light"] #slide-player-body svg [stroke="#22d3ee"],
body[data-theme="light"] #slide-player-body svg [stroke="#67e8f9"]{stroke:#0e7490!important;stroke-opacity:1!important}
body[data-theme="light"] #slide-player-body svg [fill="#06b6d4"],
body[data-theme="light"] #slide-player-body svg [fill="#22d3ee"],
body[data-theme="light"] #slide-player-body svg [fill="#67e8f9"]{fill:#0e7490!important}
body[data-theme="light"] #slide-player-body svg [stroke="#60a5fa"],
body[data-theme="light"] #slide-player-body svg [stroke="#93c5fd"]{stroke:#1d4ed8!important;stroke-opacity:1!important}
body[data-theme="light"] #slide-player-body svg [fill="#60a5fa"],
body[data-theme="light"] #slide-player-body svg [fill="#93c5fd"]{fill:#1d4ed8!important}
body[data-theme="light"] #slide-player-body svg [stroke="#10b981"],
body[data-theme="light"] #slide-player-body svg [stroke="#34d399"],
body[data-theme="light"] #slide-player-body svg [stroke="#6ee7b7"]{stroke:#047857!important;stroke-opacity:1!important}
body[data-theme="light"] #slide-player-body svg [fill="#10b981"],
body[data-theme="light"] #slide-player-body svg [fill="#34d399"],
body[data-theme="light"] #slide-player-body svg [fill="#6ee7b7"]{fill:#047857!important}
body[data-theme="light"] #slide-player-body svg [stroke="#a78bfa"],
body[data-theme="light"] #slide-player-body svg [stroke="#c4b5fd"]{stroke:#6d28d9!important;stroke-opacity:1!important}
body[data-theme="light"] #slide-player-body svg [fill="#a78bfa"],
body[data-theme="light"] #slide-player-body svg [fill="#c4b5fd"]{fill:#6d28d9!important}
body[data-theme="light"] #slide-player-body svg [stroke="#fb923c"],
body[data-theme="light"] #slide-player-body svg [stroke="#fbbf24"]{stroke:#b45309!important;stroke-opacity:1!important}
body[data-theme="light"] #slide-player-body svg [fill="#fb923c"],
body[data-theme="light"] #slide-player-body svg [fill="#fbbf24"]{fill:#b45309!important}
body[data-theme="light"] #slide-player-body svg [stroke="#f87171"]{stroke:#b91c1c!important;stroke-opacity:1!important}
body[data-theme="light"] #slide-player-body svg [fill="#f87171"]{fill:#b91c1c!important}

/* Apply light surfaces to every generated lesson card, including cards rendered
   inside nested slide layouts. */
body[data-theme="light"] #slide-player-overlay .glass-card,
body[data-theme="light"] #slide-player-overlay .slide-body [class*="card"],
body[data-theme="light"] #slide-player-overlay .slide-body [class*="panel"]{
  background:#fff!important;background-image:none!important;color:#111827!important;
  border-color:#cbd5e1!important;box-shadow:0 8px 22px rgba(15,23,42,.09)!important;
}

/* Keep generated case specialization cards readable in light mode. */
body[data-theme="light"] .cx-specialization {
  background: #fff !important;
  color: #111827 !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 5px 18px rgba(15,23,42,.08) !important;
}
body[data-theme="light"] .cx-specialization h4 {
  color: #800020 !important;
  -webkit-text-fill-color: #800020 !important;
}
body[data-theme="light"] .cx-specialization-count,
body[data-theme="light"] .cx-specialization footer {
  color: #0e7490 !important;
  -webkit-text-fill-color: #0e7490 !important;
}
