/* Color-only palettes. Geometry, fonts, spacing and animations always come
   from the same baseline styles and interface-readability.css in both modes. */
:root {
 --mv-ink:#f1f5f9; --mv-muted:#b4c1d4; --mv-line:#526079;
 --mv-panel:#0a0a0f; --mv-input:#0f172a; --mv-action-ink:#001014;
}
html[data-theme="light"] {
 color-scheme:light; --mv-ink:#172b40; --mv-muted:#465b71; --mv-line:#9baec2;
 --mv-panel:#ffffff; --mv-input:#ffffff; --mv-action-ink:#ffffff;
 --deep-space:#edf5fb; --neon-cyan:#0e7490; --neon-purple:#7e22ce;
 --neon-pink:#be185d; --neon-white:#164e63;
}
html[data-theme="light"] {
    color-scheme: light
}
html[data-theme="light"] .stars-container {
    background: radial-gradient(ellipse at bottom, #ffffff 0%, #ffffff 100%)
}
html[data-theme="light"] .digital-rain {
    background-image: radial-gradient(circle at 18% 22%, rgba(14, 116, 144, 0.7) 0 1px, transparent 1.5px),
        radial-gradient(circle at 74% 68%, rgba(126, 34, 206, 0.55) 0 1px, transparent 1.5px)
}
html[data-theme="light"] .portal-frame {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(14, 116, 144, 0.25);
    box-shadow: 0 0 50px rgba(23, 43, 64, 0.162)
}
html[data-theme="light"] .input-icon {
    color: #172b40
}
html[data-theme="light"] .input-mobile-ultra {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(70, 91, 113, 0.18);
    color: #172b40
}
html[data-theme="light"] .input-mobile-ultra::placeholder {
    color: #172b40
}
html[data-theme="light"] .input-mobile-ultra:focus {
    box-shadow: 0 0 15px rgba(23, 43, 64, 0.018)
}
html[data-theme="light"] .role-card {
    border-color: rgba(70, 91, 113, 0.18);
    color: #172b40
}
html[data-theme="light"] .btn-mobile-ultra {
    color: #172b40
}
html[data-theme="light"] .analytics-kicker {
    color: #172b40
}
html[data-theme="light"] .analytics-value + small, html[data-theme="light"] .analytics-topic-row p, html[data-theme="light"] .analytics-compact-row p {
    color: #172b40
}
html[data-theme="light"] .analytics-topic-row, html[data-theme="light"] .analytics-compact-row {
    border-color: rgba(70, 91, 113, 0.18);
    background: rgba(23, 43, 64, 0.02)
}
html[data-theme="light"] .analytics-topic-icon {
    color: #b91c1c;
    background: rgba(190, 24, 93, 0.09)
}
html[data-theme="light"] .analytics-meter {
    background: rgba(23, 43, 64, 0.08)
}
html[data-theme="light"] .analytics-meter span {
    background: linear-gradient(90deg, #b91c1c, #854d0e)
}
html[data-theme="light"] .analytics-day-bar {
    background: linear-gradient(180deg, #0e7490, #7e22ce)
}
html[data-theme="light"] .analytics-day small {
    color: #172b40
}
html[data-theme="light"] .analytics-empty {
    color: #172b40
}
html[data-theme="light"] .analytics-table th {
    border-bottom-color: rgba(70, 91, 113, 0.18);
    color: #172b40
}
html[data-theme="light"] .analytics-table td {
    border-bottom-color: rgba(70, 91, 113, 0.18);
    color: #172b40
}
html[data-theme="light"] .analytics-table td small {
    color: #172b40
}
html[data-theme="light"] .solo-stats-link, html[data-theme="light"] .solo-back-link {
    color: #0e7490
}
html[data-theme="light"] .solo-stats-link:hover, html[data-theme="light"] .solo-stats-link:focus-visible, html[data-theme="light"] .solo-back-link:hover, html[data-theme="light"] .solo-back-link:focus-visible {
    color: #172b40
}
html[data-theme="light"] .solo-class-chip {
    border-color: rgba(14, 116, 144, 0.25);
    color: #0e7490;
    background: rgba(14, 116, 144, 0.07)
}
html[data-theme="light"] .audit-filter-grid label > span {
    color: #172b40
}
html[data-theme="light"] .audit-signal, html[data-theme="light"] .health-badge {
    border-color: rgba(4, 120, 87, 0.25);
    color: #047857;
    background: rgba(4, 120, 87, 0.08)
}
html[data-theme="light"] .audit-signal[data-outcome='pending'], html[data-theme="light"] .health-badge[data-status='warning'] {
    border-color: rgba(133, 77, 14, 0.3);
    color: #854d0e;
    background: rgba(133, 77, 14, 0.08)
}
html[data-theme="light"] .audit-signal[data-outcome='failed'], html[data-theme="light"] .health-badge[data-status='critical'] {
    border-color: rgba(190, 24, 93, 0.35);
    color: #b91c1c;
    background: rgba(190, 24, 93, 0.08)
}
html[data-theme="light"] .health-overall {
    border-color: rgba(4, 120, 87, 0.3);
    color: #047857;
    background: rgba(4, 120, 87, 0.07)
}
html[data-theme="light"] .health-overall[data-status='warning'] {
    border-color: rgba(133, 77, 14, 0.35);
    color: #854d0e;
    background: rgba(133, 77, 14, 0.07)
}
html[data-theme="light"] .health-overall[data-status='critical'] {
    border-color: rgba(190, 24, 93, 0.4);
    color: #b91c1c;
    background: rgba(190, 24, 93, 0.08)
}
html[data-theme="light"] .health-overall span, html[data-theme="light"] .health-small-stat span {
    color: #172b40
}
html[data-theme="light"] .health-card {
    border-top-color: rgba(4, 120, 87, 0.55)
}
html[data-theme="light"] .health-card[data-status='warning'] {
    border-top-color: rgba(133, 77, 14, 0.8)
}
html[data-theme="light"] .health-card[data-status='critical'] {
    border-top-color: rgba(190, 24, 93, 0.85)
}
html[data-theme="light"] .health-icon {
    color: #0e7490;
    background: rgba(14, 116, 144, 0.08)
}
html[data-theme="light"] .health-metric {
    color: #172b40
}
html[data-theme="light"] .health-small-stat {
    border-color: rgba(70, 91, 113, 0.18);
    background: rgba(23, 43, 64, 0.02)
}
html[data-theme="light"] .health-code-list {
    color: #b91c1c
}
html[data-theme="light"] .health-failure {
    border-color: rgba(190, 24, 93, 0.18);
    color: #172b40;
    background: rgba(190, 24, 93, 0.035)
}
html[data-theme="light"] .health-failure p {
    color: #172b40
}
html[data-theme="light"] .health-empty {
    color: #172b40
}
html[data-theme="light"] .health-detail-list > div {
    border-bottom-color: rgba(70, 91, 113, 0.18)
}
html[data-theme="light"] .health-detail-list dt {
    color: #172b40
}
html[data-theme="light"] .health-detail-list dd {
    color: #172b40
}
html[data-theme="light"] .learning-dashboard-card:hover, html[data-theme="light"] .learning-mode-card:hover, html[data-theme="light"] .learning-topic-card:hover, html[data-theme="light"] .learning-topic-card:focus-visible {
    border-color: rgba(14, 116, 144, 0.55)
}
html[data-theme="light"] .learning-term-number {
    border-color: rgba(14, 116, 144, 0.3);
    background: rgba(14, 116, 144, 0.08);
    color: #0e7490
}
html[data-theme="light"] .practice-hud-pill {
    border-color: rgba(70, 91, 113, 0.18);
    background: rgba(23, 43, 64, 0.04);
    color: #172b40
}
html[data-theme="light"] .practice-progress-segment {
    background: rgba(23, 43, 64, 0.08)
}
html[data-theme="light"] .practice-progress-segment.complete {
    background: rgba(14, 116, 144, 0.45)
}
html[data-theme="light"] .practice-progress-segment.current.incorrect {
    background: #b91c1c;
    box-shadow: 0 0 14px rgba(23, 43, 64, 0.099)
}
html[data-theme="light"] .practice-progress-segment.current.correct {
    background: #047857;
    box-shadow: 0 0 14px rgba(23, 43, 64, 0.099)
}
html[data-theme="light"] .practice-choice {
    border-color: rgba(70, 91, 113, 0.18);
    background: rgba(255, 255, 255, 0.78);
    color: #172b40
}
html[data-theme="light"] .practice-choice:hover, html[data-theme="light"] .practice-choice.selected {
    background: color-mix(in srgb, var(--practice-accent) 12%, rgba(255, 255, 255, 0.88))
}
html[data-theme="light"] .practice-choice-label {
    border-color: rgba(70, 91, 113, 0.18)
}
html[data-theme="light"] .practice-feedback-visible.correct {
    border-color: rgba(4, 120, 87, 0.3);
    background: rgba(4, 120, 87, 0.07)
}
html[data-theme="light"] .practice-feedback-visible.incorrect {
    border-color: rgba(185, 28, 28, 0.3);
    background: rgba(185, 28, 28, 0.07)
}
html[data-theme="light"] .number-guess-stage {
    border-color: rgba(14, 116, 144, 0.28);
    background: radial-gradient(circle at 50% 25%, rgba(126, 34, 206, 0.12), transparent 38%),
        linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.96))
}
html[data-theme="light"] .number-guess-stage::before {
    background-image: linear-gradient(rgba(14, 116, 144, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 116, 144, 0.08) 1px, transparent 1px)
}
html[data-theme="light"] .number-guess-stat {
    border-color: rgba(70, 91, 113, 0.18);
    background: rgba(23, 43, 64, 0.035)
}
html[data-theme="light"] .number-guess-stat span {
    color: #172b40
}
html[data-theme="light"] .number-guess-stat strong {
    color: #172b40
}
html[data-theme="light"] .number-guess-timer {
    border-color: rgba(14, 116, 144, 0.18);
    background: rgba(29, 78, 216, 0.05)
}
html[data-theme="light"] .number-guess-timer-track {
    background: rgba(23, 43, 64, 0.07)
}
html[data-theme="light"] .number-guess-timer-track > span {
    background: linear-gradient(90deg, #0e7490, #7e22ce);
    box-shadow: 0 0 16px rgba(23, 43, 64, 0.099)
}
html[data-theme="light"] .number-guess-timer-track.is-urgent > span {
    background: linear-gradient(90deg, #b91c1c, #b91c1c);
    box-shadow: 0 0 18px rgba(23, 43, 64, 0.122)
}
html[data-theme="light"] .number-guess-console {
    border-color: rgba(126, 34, 206, 0.18);
    background: rgba(255, 255, 255, 0.68)
}
html[data-theme="light"] .number-guess-orb {
    border-color: rgba(14, 116, 144, 0.35);
    color: #0e7490;
    background: radial-gradient(circle, rgba(14, 116, 144, 0.19), rgba(126, 34, 206, 0.07));
    box-shadow: 0 0 34px rgba(23, 43, 64, 0.025)
}
html[data-theme="light"] .number-guess-feedback {
    border-color: rgba(70, 91, 113, 0.18);
    color: #172b40;
    background: rgba(23, 43, 64, 0.05)
}
html[data-theme="light"] .number-guess-feedback[data-tone='low'] {
    border-color: rgba(14, 116, 144, 0.3);
    color: #0e7490;
    background: rgba(14, 116, 144, 0.07)
}
html[data-theme="light"] .number-guess-feedback[data-tone='high'] {
    border-color: rgba(185, 28, 28, 0.3);
    color: #b91c1c;
    background: rgba(185, 28, 28, 0.07)
}
html[data-theme="light"] .number-guess-feedback[data-tone='correct'] {
    border-color: rgba(4, 120, 87, 0.35);
    color: #047857;
    background: rgba(4, 120, 87, 0.08)
}
html[data-theme="light"] .number-guess-feedback[data-tone='finished'] {
    border-color: rgba(133, 77, 14, 0.3);
    color: #854d0e;
    background: rgba(133, 77, 14, 0.06)
}
html[data-theme="light"] .number-guess-input {
    border-color: rgba(14, 116, 144, 0.35);
    color: #172b40;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: inset 0 0 22px rgba(23, 43, 64, 0.007)
}
html[data-theme="light"] .number-guess-input:focus {
    border-color: #0e7490;
    box-shadow: 0 0 0 3px rgba(23, 43, 64, 0.022), inset 0 0 22px rgba(23, 43, 64, 0.011)
}
html[data-theme="light"] .number-guess-stepper {
    border-color: rgba(70, 91, 113, 0.18);
    color: #0e7490;
    background: rgba(126, 34, 206, 0.08)
}
html[data-theme="light"] .number-guess-stepper:hover:not(:disabled), html[data-theme="light"] .number-guess-stepper:focus-visible {
    border-color: rgba(126, 34, 206, 0.55);
    color: #172b40
}
html[data-theme="light"] .number-guess-stage kbd {
    border-color: rgba(70, 91, 113, 0.18);
    color: #172b40;
    background: rgba(23, 43, 64, 0.05)
}
html[data-theme="light"] .number-guess-rank {
    border-color: rgba(70, 91, 113, 0.18);
    background: rgba(23, 43, 64, 0.025)
}
html[data-theme="light"] .number-guess-rank.is-current {
    border-color: rgba(14, 116, 144, 0.35);
    background: rgba(14, 116, 144, 0.07)
}
html[data-theme="light"] .number-guess-rank-number {
    color: #172b40
}
html[data-theme="light"] .number-guess-rank[data-rank='1'] .number-guess-rank-number {
    color: #854d0e
}
html[data-theme="light"] .number-guess-rank[data-rank='2'] .number-guess-rank-number {
    color: #172b40
}
html[data-theme="light"] .number-guess-rank[data-rank='3'] .number-guess-rank-number {
    color: #b91c1c
}
html[data-theme="light"] .number-guess-rank strong {
    color: #172b40
}
html[data-theme="light"] .number-guess-rank small {
    color: #172b40
}
html[data-theme="light"] .number-guess-rank-score {
    color: #0e7490 !important
}
html[data-theme="light"] .number-guess-board-empty {
    color: #172b40
}
html[data-theme="light"] .nav-link {
    color: #172b40
}
html[data-theme="light"] .nav-link.active {
    color: #0e7490;
    background: rgba(14, 116, 144, 0.08);
    border-color: rgba(14, 116, 144, 0.2)
}
html[data-theme="light"] .modal-overlay {
    background: rgba(255, 255, 255, 0.5)
}
html[data-theme="light"] .btn-rect-primary {
    background: #0e7490;
    color: #172b40
}
html[data-theme="light"] .btn-rect-primary:hover {
    background: rgba(23, 43, 64, 0.06);
    box-shadow: 0 0 20px rgba(23, 43, 64, 0.072)
}
html[data-theme="light"] .btn-rect-secondary {
    border-color: rgba(70, 91, 113, 0.2);
    color: #172b40
}
html[data-theme="light"] .btn-rect-danger {
    background: #b91c1c;
    color: #172b40
}
html[data-theme="light"] .modal-cancel {
    color: #172b40
}
html[data-theme="light"] .modal-cancel:hover, html[data-theme="light"] .modal-cancel:focus-visible {
    color: #172b40
}
html[data-theme="light"] .input-icon {
    color: #172b40
}
html[data-theme="light"] .input-mobile-ultra {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(70, 91, 113, 0.18);
    color: #172b40
}
html[data-theme="light"] .input-mobile-ultra:focus {
    border-color: #0e7490;
    box-shadow: 0 0 10px rgba(23, 43, 64, 0.018)
}
html[data-theme="light"] input:-webkit-autofill, html[data-theme="light"] input:-webkit-autofill:hover, html[data-theme="light"] input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px rgba(23, 43, 64, 0.153) inset !important;
    -webkit-text-fill-color: #172b40 !important;
    caret-color: #172b40;
    border-color: rgba(70, 91, 113, 0.18) !important
}
html[data-theme="light"] .input-field {
    border-color: rgba(70, 91, 113, 0.18) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    background-color: #ffffff !important;
    color: #172b40 !important;
    -webkit-text-fill-color: #172b40;
    color-scheme: light
}
html[data-theme="light"] .input-field::placeholder {
    color: #172b40
}
html[data-theme="light"] .input-field:focus {
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(23, 43, 64, 0.014), 0 0 16px rgba(23, 43, 64, 0.022)
}
html[data-theme="light"] .input-field option, html[data-theme="light"] .input-mobile-ultra option {
    background: #ffffff !important;
    color: #172b40 !important
}
html[data-theme="light"] input[type="date"], html[data-theme="light"] input[type="datetime-local"], html[data-theme="light"] input[type="month"], html[data-theme="light"] input[type="time"] {
    color-scheme: light !important;
    background-color: #ffffff !important;
    color: #172b40 !important;
    -webkit-text-fill-color: #172b40
}
html[data-theme="light"] input[type="date"].temporal-input-empty, html[data-theme="light"] input[type="datetime-local"].temporal-input-empty, html[data-theme="light"] input[type="month"].temporal-input-empty, html[data-theme="light"] input[type="time"].temporal-input-empty {
    color: #172b40 !important;
    -webkit-text-fill-color: #172b40 !important
}
html[data-theme="light"] .input-mobile-ultra, html[data-theme="light"] select.input-field, html[data-theme="light"] textarea.input-field, html[data-theme="light"] input.input-field {
    background-color: #ffffff !important;
    color: #172b40 !important;
    -webkit-text-fill-color: #172b40
}
html[data-theme="light"] select.input-field, html[data-theme="light"] select.input-mobile-ultra {
    color-scheme: light
}
html[data-theme="light"] input::placeholder, html[data-theme="light"] textarea::placeholder, html[data-theme="light"] .input-field::placeholder, html[data-theme="light"] .input-mobile-ultra::placeholder {
    color: #172b40 !important;
    -webkit-text-fill-color: #172b40 !important
}
html[data-theme="light"] select.input-field:required:invalid, html[data-theme="light"] select.input-mobile-ultra:required:invalid {
    color: #172b40 !important;
    -webkit-text-fill-color: #172b40 !important
}
html[data-theme="light"] .back-to-top {
    border-color: rgba(14, 116, 144, 0.45);
    background: rgba(255, 255, 255, 0.94);
    color: #0e7490;
    box-shadow: 0 0 24px rgba(23, 43, 64, 0.036)
}
html[data-theme="light"] .back-to-top:hover, html[data-theme="light"] .back-to-top:focus-visible {
    border-color: #0e7490;
    color: #172b40
}
html[data-theme="light"] .notification-group-count {
    border-color: rgba(14, 116, 144, 0.25);
    background: rgba(14, 116, 144, 0.08);
    color: #0e7490
}
html[data-theme="light"] #mathverse-navigation-progress {
    background: linear-gradient(90deg, #0e7490, #7e22ce, #be185d);
    box-shadow: 0 0 14px rgba(23, 43, 64, 0.135)
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    html[data-theme="light"] .portal-frame, html[data-theme="light"] .dashboard-sidebar, html[data-theme="light"] .mobile-dashboard-header, html[data-theme="light"] .notification-menu, html[data-theme="light"] .modal-overlay {
        background-color: #ffffff !important
    }
}
@media (prefers-contrast: more) {
    html[data-theme="light"] .text-slate-500, html[data-theme="light"] .text-slate-600 {
        color: #172b40 !important
    }
}
html[data-theme="light"] .arcade-hub-hero {
    border-color: rgba(190, 24, 93, 0.3);
    background: radial-gradient(circle at 86% 20%, rgba(190, 24, 93, 0.16), transparent 32%),
        radial-gradient(circle at 12% 90%, rgba(14, 116, 144, 0.12), transparent 36%),
        rgba(255, 255, 255, 0.94)
}
html[data-theme="light"] .arcade-hub-hero::after {
    background-image: linear-gradient(rgba(23, 43, 64, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 43, 64, 0.07) 1px, transparent 1px)
}
html[data-theme="light"] .arcade-grade-chip {
    border-color: rgba(133, 77, 14, 0.25);
    background: rgba(133, 77, 14, 0.06)
}
html[data-theme="light"] .arcade-grade-chip small {
    color: #172b40
}
html[data-theme="light"] .arcade-notice-icon {
    border-color: rgba(133, 77, 14, 0.3);
    color: #854d0e;
    background: rgba(133, 77, 14, 0.08)
}
html[data-theme="light"] .arcade-game-card {
    background: linear-gradient(155deg, rgba(var(--arcade-accent-rgb), 0.075), rgba(255, 255, 255, 0.96) 44%)
}
html[data-theme="light"] .arcade-game-icon {
}
html[data-theme="light"] .arcade-launch-icon {
    color: #172b40
}
html[data-theme="light"] .arcade-locked-label {
    color: #172b40
}
html[data-theme="light"] .arcade-mini-stats {
    border-top-color: rgba(70, 91, 113, 0.18)
}
html[data-theme="light"] .arcade-mini-stats small {
    color: #172b40
}
html[data-theme="light"] .arcade-mini-stats strong {
    color: #172b40
}
html[data-theme="light"] .arcade-badge {
    border-color: rgba(70, 91, 113, 0.18);
    color: #172b40;
    background: rgba(23, 43, 64, 0.018)
}
html[data-theme="light"] .arcade-badge.is-unlocked {
    border-color: rgba(126, 34, 206, 0.28);
    color: #172b40;
    background: rgba(126, 34, 206, 0.055)
}
html[data-theme="light"] .arcade-badge-icon {
    color: #172b40;
    background: rgba(23, 43, 64, 0.08)
}
html[data-theme="light"] .arcade-badge.is-unlocked .arcade-badge-icon {
    color: #854d0e;
    background: rgba(133, 77, 14, 0.1);
    box-shadow: 0 0 18px rgba(23, 43, 64, 0.014)
}
html[data-theme="light"] .arcade-badge small {
    color: #172b40
}
html[data-theme="light"] .arcade-badge-state {
    color: #172b40
}
html[data-theme="light"] .arcade-badge.is-unlocked .arcade-badge-state {
    color: #047857
}
html[data-theme="light"] .arcade-play-stage {
    background: radial-gradient(circle at 50% 24%, rgba(var(--arcade-accent-rgb), 0.12), transparent 36%),
        linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.96))
}
html[data-theme="light"] .arcade-question-console {
    background: rgba(255, 255, 255, 0.72)
}
html[data-theme="light"] .arcade-question-prompt {
    color: #172b40
}
html[data-theme="light"] .arcade-answer-input {
    color: #172b40;
    background: rgba(255, 255, 255, 0.94)
}
html[data-theme="light"] .arcade-choice-button {
    border-color: rgba(70, 91, 113, 0.18);
    color: #172b40;
    background: rgba(23, 43, 64, 0.035)
}
html[data-theme="light"] .arcade-choice-button:hover:not(:disabled), html[data-theme="light"] .arcade-choice-button:focus-visible, html[data-theme="light"] .arcade-choice-button.is-selected {
    color: #172b40
}
html[data-theme="light"] #math-arcade-game .number-guess-feedback[data-tone='incorrect'] {
    border-color: rgba(185, 28, 28, 0.3);
    color: #b91c1c;
    background: rgba(185, 28, 28, 0.07)
}

/* Translate color utilities without changing their layout or shape. */
html[data-theme="light"] .app-body [class~="!bg-cyan-600"] { background-color: #0e7490 !important; }
html[data-theme="light"] .app-body [class~="!bg-green-500"] { background-color: #047857 !important; }
html[data-theme="light"] .app-body [class~="!bg-green-600"] { background-color: #047857 !important; }
html[data-theme="light"] .app-body [class~="!bg-orange-600"] { background-color: #9a3412 !important; }
html[data-theme="light"] .app-body [class~="!bg-purple-600"] { background-color: #7e22ce !important; }
html[data-theme="light"] .app-body [class~="!bg-red-500"] { background-color: #b91c1c !important; }
html[data-theme="light"] .app-body [class~="!bg-red-600"] { background-color: #b91c1c !important; }
html[data-theme="light"] .app-body [class~="!bg-slate-600"] { background-color: #ffffff !important; }
html[data-theme="light"] .app-body [class~="!bg-white/5"] { background-color: rgba(23, 43, 64, 0.05) !important; }
html[data-theme="light"] .app-body [class~="!bg-yellow-500"] { background-color: #854d0e !important; }
html[data-theme="light"] .app-body [class~="!border-blue-500/30"] { border-color: rgba(29, 78, 216, 0.3) !important; }
html[data-theme="light"] .app-body [class~="!border-cyan-500/30"] { border-color: rgba(14, 116, 144, 0.3) !important; }
html[data-theme="light"] .app-body [class~="!border-green-500/30"] { border-color: rgba(4, 120, 87, 0.3) !important; }
html[data-theme="light"] .app-body [class~="!border-green-500/40"] { border-color: rgba(4, 120, 87, 0.4) !important; }
html[data-theme="light"] .app-body [class~="!border-purple-500/30"] { border-color: rgba(126, 34, 206, 0.3) !important; }
html[data-theme="light"] .app-body [class~="!border-red-500/20"] { border-color: rgba(185, 28, 28, 0.2) !important; }
html[data-theme="light"] .app-body [class~="!border-red-500/30"] { border-color: rgba(185, 28, 28, 0.3) !important; }
html[data-theme="light"] .app-body [class~="!border-red-500/40"] { border-color: rgba(185, 28, 28, 0.4) !important; }
html[data-theme="light"] .app-body [class~="!border-yellow-500/30"] { border-color: rgba(133, 77, 14, 0.3) !important; }
html[data-theme="light"] .app-body [class~="!border-yellow-500/40"] { border-color: rgba(133, 77, 14, 0.4) !important; }
html[data-theme="light"] .app-body [class~="!text-black"] { color: #172b40 !important; }
html[data-theme="light"] .app-body [class~="!text-red-500"] { color: #b91c1c !important; }
html[data-theme="light"] .app-body [class~="!text-white"] { color: #172b40 !important; }
html[data-theme="light"] .app-body [class~="bg-amber-400/10"] { background-color: rgba(146, 64, 14, 0.1) !important; }
html[data-theme="light"] .app-body [class~="bg-amber-500/10"] { background-color: rgba(146, 64, 14, 0.1) !important; }
html[data-theme="light"] .app-body [class~="bg-black"] { background-color: #ffffff !important; }
html[data-theme="light"] .app-body [class~="bg-black/20"] { background-color: rgba(255, 255, 255, 0.2) !important; }
html[data-theme="light"] .app-body [class~="bg-black/30"] { background-color: rgba(255, 255, 255, 0.3) !important; }
html[data-theme="light"] .app-body [class~="bg-black/40"] { background-color: rgba(255, 255, 255, 0.4) !important; }
html[data-theme="light"] .app-body [class~="bg-black/60"] { background-color: rgba(255, 255, 255, 0.6) !important; }
html[data-theme="light"] .app-body [class~="bg-black/70"] { background-color: rgba(255, 255, 255, 0.7) !important; }
html[data-theme="light"] .app-body [class~="bg-black/80"] { background-color: rgba(255, 255, 255, 0.8) !important; }
html[data-theme="light"] .app-body [class~="bg-blue-500/10"] { background-color: rgba(29, 78, 216, 0.1) !important; }
html[data-theme="light"] .app-body [class~="bg-cyan-400"] { background-color: #0e7490 !important; }
html[data-theme="light"] .app-body [class~="bg-cyan-400/10"] { background-color: rgba(14, 116, 144, 0.1) !important; }
html[data-theme="light"] .app-body [class~="bg-cyan-400/5"] { background-color: rgba(14, 116, 144, 0.05) !important; }
html[data-theme="light"] .app-body [class~="bg-cyan-400/[0.04]"] { background-color: rgba(14, 116, 144, 0.04) !important; }
html[data-theme="light"] .app-body [class~="bg-cyan-500"] { background-color: #0e7490 !important; }
html[data-theme="light"] .app-body [class~="bg-cyan-500/10"] { background-color: rgba(14, 116, 144, 0.1) !important; }
html[data-theme="light"] .app-body [class~="bg-cyan-500/15"] { background-color: rgba(14, 116, 144, 0.15) !important; }
html[data-theme="light"] .app-body [class~="bg-cyan-500/5"] { background-color: rgba(14, 116, 144, 0.05) !important; }
html[data-theme="light"] .app-body [class~="bg-emerald-500/5"] { background-color: rgba(4, 120, 87, 0.05) !important; }
html[data-theme="light"] .app-body [class~="bg-gray-100"] { background-color: #ffffff !important; }
html[data-theme="light"] .app-body [class~="bg-gray-200"] { background-color: #ffffff !important; }
html[data-theme="light"] .app-body [class~="bg-gray-700"] { background-color: #ffffff !important; }
html[data-theme="light"] .app-body [class~="bg-gray-800"] { background-color: #ffffff !important; }
html[data-theme="light"] .app-body [class~="bg-gray-900"] { background-color: #ffffff !important; }
html[data-theme="light"] .app-body [class~="bg-green-400/10"] { background-color: rgba(4, 120, 87, 0.1) !important; }
html[data-theme="light"] .app-body [class~="bg-green-500/10"] { background-color: rgba(4, 120, 87, 0.1) !important; }
html[data-theme="light"] .app-body [class~="bg-green-500/15"] { background-color: rgba(4, 120, 87, 0.15) !important; }
html[data-theme="light"] .app-body [class~="bg-green-600"] { background-color: #047857 !important; }
html[data-theme="light"] .app-body [class~="bg-orange-400"] { background-color: #9a3412 !important; }
html[data-theme="light"] .app-body [class~="bg-orange-400/10"] { background-color: rgba(154, 52, 18, 0.1) !important; }
html[data-theme="light"] .app-body [class~="bg-orange-500/10"] { background-color: rgba(154, 52, 18, 0.1) !important; }
html[data-theme="light"] .app-body [class~="bg-orange-500/15"] { background-color: rgba(154, 52, 18, 0.15) !important; }
html[data-theme="light"] .app-body [class~="bg-pink-500/10"] { background-color: rgba(190, 24, 93, 0.1) !important; }
html[data-theme="light"] .app-body [class~="bg-purple-500/10"] { background-color: rgba(126, 34, 206, 0.1) !important; }
html[data-theme="light"] .app-body [class~="bg-purple-500/15"] { background-color: rgba(126, 34, 206, 0.15) !important; }
html[data-theme="light"] .app-body [class~="bg-purple-500/5"] { background-color: rgba(126, 34, 206, 0.05) !important; }
html[data-theme="light"] .app-body [class~="bg-red-400/10"] { background-color: rgba(185, 28, 28, 0.1) !important; }
html[data-theme="light"] .app-body [class~="bg-red-500"] { background-color: #b91c1c !important; }
html[data-theme="light"] .app-body [class~="bg-red-500/10"] { background-color: rgba(185, 28, 28, 0.1) !important; }
html[data-theme="light"] .app-body [class~="bg-red-500/15"] { background-color: rgba(185, 28, 28, 0.15) !important; }
html[data-theme="light"] .app-body [class~="bg-red-500/5"] { background-color: rgba(185, 28, 28, 0.05) !important; }
html[data-theme="light"] .app-body [class~="bg-slate-400/10"] { background-color: rgba(255, 255, 255, 0.1) !important; }
html[data-theme="light"] .app-body [class~="bg-slate-500/10"] { background-color: rgba(255, 255, 255, 0.1) !important; }
html[data-theme="light"] .app-body [class~="bg-slate-900"] { background-color: #ffffff !important; }
html[data-theme="light"] .app-body [class~="bg-slate-950/95"] { background-color: rgba(255, 255, 255, 0.95) !important; }
html[data-theme="light"] .app-body [class~="bg-white"] { background-color: #ffffff !important; }
html[data-theme="light"] .app-body [class~="bg-white/5"] { background-color: rgba(23, 43, 64, 0.05) !important; }
html[data-theme="light"] .app-body [class~="bg-white/[0.025]"] { background-color: rgba(23, 43, 64, 0.025) !important; }
html[data-theme="light"] .app-body [class~="bg-white/[0.02]"] { background-color: rgba(23, 43, 64, 0.02) !important; }
html[data-theme="light"] .app-body [class~="bg-yellow-400"] { background-color: #854d0e !important; }
html[data-theme="light"] .app-body [class~="bg-yellow-500/10"] { background-color: rgba(133, 77, 14, 0.1) !important; }
html[data-theme="light"] .app-body [class~="bg-yellow-500/5"] { background-color: rgba(133, 77, 14, 0.05) !important; }
html[data-theme="light"] .app-body [class~="border-amber-400/30"] { border-color: rgba(146, 64, 14, 0.3) !important; }
html[data-theme="light"] .app-body [class~="border-amber-500/20"] { border-color: rgba(146, 64, 14, 0.2) !important; }
html[data-theme="light"] .app-body [class~="border-amber-500/40"] { border-color: rgba(146, 64, 14, 0.4) !important; }
html[data-theme="light"] .app-body [class~="border-black"] { border-color: #7890a8 !important; }
html[data-theme="light"] .app-body [class~="border-blue-300"] { border-color: #1d4ed8 !important; }
html[data-theme="light"] .app-body [class~="border-blue-500"] { border-color: #1d4ed8 !important; }
html[data-theme="light"] .app-body [class~="border-blue-500/20"] { border-color: rgba(29, 78, 216, 0.2) !important; }
html[data-theme="light"] .app-body [class~="border-blue-500/30"] { border-color: rgba(29, 78, 216, 0.3) !important; }
html[data-theme="light"] .app-body [class~="border-blue-700"] { border-color: #1d4ed8 !important; }
html[data-theme="light"] .app-body [class~="border-blue-800"] { border-color: #1d4ed8 !important; }
html[data-theme="light"] .app-body [class~="border-cyan-400/20"] { border-color: rgba(14, 116, 144, 0.2) !important; }
html[data-theme="light"] .app-body [class~="border-cyan-400/25"] { border-color: rgba(14, 116, 144, 0.25) !important; }
html[data-theme="light"] .app-body [class~="border-cyan-400/30"] { border-color: rgba(14, 116, 144, 0.3) !important; }
html[data-theme="light"] .app-body [class~="border-cyan-400/40"] { border-color: rgba(14, 116, 144, 0.4) !important; }
html[data-theme="light"] .app-body [class~="border-cyan-400/60"] { border-color: rgba(14, 116, 144, 0.6) !important; }
html[data-theme="light"] .app-body [class~="border-cyan-500"] { border-color: #0e7490 !important; }
html[data-theme="light"] .app-body [class~="border-cyan-500/20"] { border-color: rgba(14, 116, 144, 0.2) !important; }
html[data-theme="light"] .app-body [class~="border-cyan-500/30"] { border-color: rgba(14, 116, 144, 0.3) !important; }
html[data-theme="light"] .app-body [class~="border-cyan-500/40"] { border-color: rgba(14, 116, 144, 0.4) !important; }
html[data-theme="light"] .app-body [class~="border-emerald-500"] { border-color: #047857 !important; }
html[data-theme="light"] .app-body [class~="border-emerald-500/20"] { border-color: rgba(4, 120, 87, 0.2) !important; }
html[data-theme="light"] .app-body [class~="border-gray-200"] { border-color: #7890a8 !important; }
html[data-theme="light"] .app-body [class~="border-gray-300"] { border-color: #7890a8 !important; }
html[data-theme="light"] .app-body [class~="border-gray-400"] { border-color: #7890a8 !important; }
html[data-theme="light"] .app-body [class~="border-gray-600"] { border-color: #7890a8 !important; }
html[data-theme="light"] .app-body [class~="border-green-400/30"] { border-color: rgba(4, 120, 87, 0.3) !important; }
html[data-theme="light"] .app-body [class~="border-green-400/40"] { border-color: rgba(4, 120, 87, 0.4) !important; }
html[data-theme="light"] .app-body [class~="border-green-400/50"] { border-color: rgba(4, 120, 87, 0.5) !important; }
html[data-theme="light"] .app-body [class~="border-green-500"] { border-color: #047857 !important; }
html[data-theme="light"] .app-body [class~="border-green-500/20"] { border-color: rgba(4, 120, 87, 0.2) !important; }
html[data-theme="light"] .app-body [class~="border-green-500/30"] { border-color: rgba(4, 120, 87, 0.3) !important; }
html[data-theme="light"] .app-body [class~="border-green-500/40"] { border-color: rgba(4, 120, 87, 0.4) !important; }
html[data-theme="light"] .app-body [class~="border-green-500/50"] { border-color: rgba(4, 120, 87, 0.5) !important; }
html[data-theme="light"] .app-body [class~="border-green-500/60"] { border-color: rgba(4, 120, 87, 0.6) !important; }
html[data-theme="light"] .app-body [class~="border-orange-400/30"] { border-color: rgba(154, 52, 18, 0.3) !important; }
html[data-theme="light"] .app-body [class~="border-orange-500"] { border-color: #9a3412 !important; }
html[data-theme="light"] .app-body [class~="border-orange-500/20"] { border-color: rgba(154, 52, 18, 0.2) !important; }
html[data-theme="light"] .app-body [class~="border-orange-500/30"] { border-color: rgba(154, 52, 18, 0.3) !important; }
html[data-theme="light"] .app-body [class~="border-orange-500/60"] { border-color: rgba(154, 52, 18, 0.6) !important; }
html[data-theme="light"] .app-body [class~="border-pink-500"] { border-color: #be185d !important; }
html[data-theme="light"] .app-body [class~="border-pink-500/30"] { border-color: rgba(190, 24, 93, 0.3) !important; }
html[data-theme="light"] .app-body [class~="border-pink-500/40"] { border-color: rgba(190, 24, 93, 0.4) !important; }
html[data-theme="light"] .app-body [class~="border-purple-500"] { border-color: #7e22ce !important; }
html[data-theme="light"] .app-body [class~="border-purple-500/20"] { border-color: rgba(126, 34, 206, 0.2) !important; }
html[data-theme="light"] .app-body [class~="border-purple-500/30"] { border-color: rgba(126, 34, 206, 0.3) !important; }
html[data-theme="light"] .app-body [class~="border-purple-500/40"] { border-color: rgba(126, 34, 206, 0.4) !important; }
html[data-theme="light"] .app-body [class~="border-red-400/30"] { border-color: rgba(185, 28, 28, 0.3) !important; }
html[data-theme="light"] .app-body [class~="border-red-400/40"] { border-color: rgba(185, 28, 28, 0.4) !important; }
html[data-theme="light"] .app-body [class~="border-red-500"] { border-color: #b91c1c !important; }
html[data-theme="light"] .app-body [class~="border-red-500/10"] { border-color: rgba(185, 28, 28, 0.18) !important; }
html[data-theme="light"] .app-body [class~="border-red-500/20"] { border-color: rgba(185, 28, 28, 0.2) !important; }
html[data-theme="light"] .app-body [class~="border-red-500/30"] { border-color: rgba(185, 28, 28, 0.3) !important; }
html[data-theme="light"] .app-body [class~="border-red-500/40"] { border-color: rgba(185, 28, 28, 0.4) !important; }
html[data-theme="light"] .app-body [class~="border-red-500/50"] { border-color: rgba(185, 28, 28, 0.5) !important; }
html[data-theme="light"] .app-body [class~="border-slate-400/30"] { border-color: rgba(120, 144, 168, 0.3) !important; }
html[data-theme="light"] .app-body [class~="border-slate-500"] { border-color: #7890a8 !important; }
html[data-theme="light"] .app-body [class~="border-slate-500/40"] { border-color: rgba(120, 144, 168, 0.4) !important; }
html[data-theme="light"] .app-body [class~="border-slate-500/50"] { border-color: rgba(120, 144, 168, 0.5) !important; }
html[data-theme="light"] .app-body [class~="border-slate-500/60"] { border-color: rgba(120, 144, 168, 0.6) !important; }
html[data-theme="light"] .app-body [class~="border-slate-600/40"] { border-color: rgba(120, 144, 168, 0.4) !important; }
html[data-theme="light"] .app-body [class~="border-white"] { border-color: #7890a8 !important; }
html[data-theme="light"] .app-body [class~="border-white/10"] { border-color: rgba(120, 144, 168, 0.18) !important; }
html[data-theme="light"] .app-body [class~="border-white/15"] { border-color: rgba(120, 144, 168, 0.18) !important; }
html[data-theme="light"] .app-body [class~="border-white/20"] { border-color: rgba(120, 144, 168, 0.2) !important; }
html[data-theme="light"] .app-body [class~="border-white/5"] { border-color: rgba(120, 144, 168, 0.18) !important; }
html[data-theme="light"] .app-body [class~="border-yellow-500"] { border-color: #854d0e !important; }
html[data-theme="light"] .app-body [class~="border-yellow-500/20"] { border-color: rgba(133, 77, 14, 0.2) !important; }
html[data-theme="light"] .app-body [class~="border-yellow-500/30"] { border-color: rgba(133, 77, 14, 0.3) !important; }
html[data-theme="light"] .app-body [class~="border-yellow-500/40"] { border-color: rgba(133, 77, 14, 0.4) !important; }
html[data-theme="light"] .app-body [class~="from-cyan-400"] { --tw-gradient-from: #0e7490 !important; }
html[data-theme="light"] .app-body [class~="hover:!bg-red-500/15"]:hover { background-color: rgba(185, 28, 28, 0.15) !important; }
html[data-theme="light"] .app-body [class~="hover:!text-blue-400"]:hover { color: #1d4ed8 !important; }
html[data-theme="light"] .app-body [class~="hover:!text-cyan-400"]:hover { color: #0e7490 !important; }
html[data-theme="light"] .app-body [class~="hover:!text-purple-400"]:hover { color: #7e22ce !important; }
html[data-theme="light"] .app-body [class~="hover:!text-red-400"]:hover { color: #b91c1c !important; }
html[data-theme="light"] .app-body [class~="hover:!text-yellow-400"]:hover { color: #854d0e !important; }
html[data-theme="light"] .app-body [class~="hover:bg-black"]:hover { background-color: #ffffff !important; }
html[data-theme="light"] .app-body [class~="hover:bg-cyan-300"]:hover { background-color: #0e7490 !important; }
html[data-theme="light"] .app-body [class~="hover:bg-cyan-500"]:hover { background-color: #0e7490 !important; }
html[data-theme="light"] .app-body [class~="hover:bg-green-500"]:hover { background-color: #047857 !important; }
html[data-theme="light"] .app-body [class~="hover:bg-red-500/10"]:hover { background-color: rgba(185, 28, 28, 0.1) !important; }
html[data-theme="light"] .app-body [class~="hover:bg-white"]:hover { background-color: #ffffff !important; }
html[data-theme="light"] .app-body [class~="hover:bg-white/10"]:hover { background-color: rgba(23, 43, 64, 0.1) !important; }
html[data-theme="light"] .app-body [class~="hover:bg-white/5"]:hover { background-color: rgba(23, 43, 64, 0.05) !important; }
html[data-theme="light"] .app-body [class~="hover:bg-white/[0.03]"]:hover { background-color: rgba(23, 43, 64, 0.03) !important; }
html[data-theme="light"] .app-body [class~="hover:border-black"]:hover { border-color: #7890a8 !important; }
html[data-theme="light"] .app-body [class~="hover:border-blue-500/50"]:hover { border-color: rgba(29, 78, 216, 0.5) !important; }
html[data-theme="light"] .app-body [class~="hover:border-cyan-400/40"]:hover { border-color: rgba(14, 116, 144, 0.4) !important; }
html[data-theme="light"] .app-body [class~="hover:border-cyan-400/50"]:hover { border-color: rgba(14, 116, 144, 0.5) !important; }
html[data-theme="light"] .app-body [class~="hover:border-cyan-400/60"]:hover { border-color: rgba(14, 116, 144, 0.6) !important; }
html[data-theme="light"] .app-body [class~="hover:border-cyan-500/30"]:hover { border-color: rgba(14, 116, 144, 0.3) !important; }
html[data-theme="light"] .app-body [class~="hover:border-orange-400"]:hover { border-color: #9a3412 !important; }
html[data-theme="light"] .app-body [class~="hover:border-orange-500/30"]:hover { border-color: rgba(154, 52, 18, 0.3) !important; }
html[data-theme="light"] .app-body [class~="hover:border-purple-500/50"]:hover { border-color: rgba(126, 34, 206, 0.5) !important; }
html[data-theme="light"] .app-body [class~="hover:border-red-400"]:hover { border-color: #b91c1c !important; }
html[data-theme="light"] .app-body [class~="hover:border-white"]:hover { border-color: #7890a8 !important; }
html[data-theme="light"] .app-body [class~="hover:border-white/20"]:hover { border-color: rgba(120, 144, 168, 0.2) !important; }
html[data-theme="light"] .app-body [class~="hover:border-yellow-500/40"]:hover { border-color: rgba(133, 77, 14, 0.4) !important; }
html[data-theme="light"] .app-body [class~="hover:text-black"]:hover { color: #172b40 !important; }
html[data-theme="light"] .app-body [class~="hover:text-cyan-300"]:hover { color: #0e7490 !important; }
html[data-theme="light"] .app-body [class~="hover:text-red-500"]:hover { color: #b91c1c !important; }
html[data-theme="light"] .app-body [class~="hover:text-white"]:hover { color: #172b40 !important; }
html[data-theme="light"] .app-body [class~="text-amber-200"] { color: #92400e !important; }
html[data-theme="light"] .app-body [class~="text-amber-300"] { color: #92400e !important; }
html[data-theme="light"] .app-body [class~="text-amber-400"] { color: #92400e !important; }
html[data-theme="light"] .app-body [class~="text-black"] { color: #172b40 !important; }
html[data-theme="light"] .app-body [class~="text-blue-300"] { color: #1d4ed8 !important; }
html[data-theme="light"] .app-body [class~="text-blue-400"] { color: #1d4ed8 !important; }
html[data-theme="light"] .app-body [class~="text-cyan-200"] { color: #0e7490 !important; }
html[data-theme="light"] .app-body [class~="text-cyan-300"] { color: #0e7490 !important; }
html[data-theme="light"] .app-body [class~="text-cyan-400"] { color: #0e7490 !important; }
html[data-theme="light"] .app-body [class~="text-cyan-500"] { color: #0e7490 !important; }
html[data-theme="light"] .app-body [class~="text-cyan-500/40"] { color: rgba(14, 116, 144, 0.4) !important; }
html[data-theme="light"] .app-body [class~="text-cyan-500/80"] { color: rgba(14, 116, 144, 0.8) !important; }
html[data-theme="light"] .app-body [class~="text-emerald-400"] { color: #047857 !important; }
html[data-theme="light"] .app-body [class~="text-gray-200"] { color: #172b40 !important; }
html[data-theme="light"] .app-body [class~="text-gray-300"] { color: #172b40 !important; }
html[data-theme="light"] .app-body [class~="text-gray-400"] { color: #465b71 !important; }
html[data-theme="light"] .app-body [class~="text-gray-500"] { color: #465b71 !important; }
html[data-theme="light"] .app-body [class~="text-gray-600"] { color: #465b71 !important; }
html[data-theme="light"] .app-body [class~="text-gray-700"] { color: #465b71 !important; }
html[data-theme="light"] .app-body [class~="text-gray-800"] { color: #465b71 !important; }
html[data-theme="light"] .app-body [class~="text-gray-900"] { color: #465b71 !important; }
html[data-theme="light"] .app-body [class~="text-green-300"] { color: #047857 !important; }
html[data-theme="light"] .app-body [class~="text-green-400"] { color: #047857 !important; }
html[data-theme="light"] .app-body [class~="text-green-500"] { color: #047857 !important; }
html[data-theme="light"] .app-body [class~="text-orange-300"] { color: #9a3412 !important; }
html[data-theme="light"] .app-body [class~="text-orange-400"] { color: #9a3412 !important; }
html[data-theme="light"] .app-body [class~="text-pink-300"] { color: #be185d !important; }
html[data-theme="light"] .app-body [class~="text-pink-400"] { color: #be185d !important; }
html[data-theme="light"] .app-body [class~="text-purple-300"] { color: #7e22ce !important; }
html[data-theme="light"] .app-body [class~="text-purple-400"] { color: #7e22ce !important; }
html[data-theme="light"] .app-body [class~="text-purple-500"] { color: #7e22ce !important; }
html[data-theme="light"] .app-body [class~="text-purple-500/40"] { color: rgba(126, 34, 206, 0.4) !important; }
html[data-theme="light"] .app-body [class~="text-red-200"] { color: #b91c1c !important; }
html[data-theme="light"] .app-body [class~="text-red-300"] { color: #b91c1c !important; }
html[data-theme="light"] .app-body [class~="text-red-400"] { color: #b91c1c !important; }
html[data-theme="light"] .app-body [class~="text-red-500"] { color: #b91c1c !important; }
html[data-theme="light"] .app-body [class~="text-red-500/60"] { color: rgba(185, 28, 28, 0.6) !important; }
html[data-theme="light"] .app-body [class~="text-red-600"] { color: #b91c1c !important; }
html[data-theme="light"] .app-body [class~="text-slate-200"] { color: #172b40 !important; }
html[data-theme="light"] .app-body [class~="text-slate-300"] { color: #172b40 !important; }
html[data-theme="light"] .app-body [class~="text-slate-400"] { color: #465b71 !important; }
html[data-theme="light"] .app-body [class~="text-slate-500"] { color: #465b71 !important; }
html[data-theme="light"] .app-body [class~="text-slate-600"] { color: #465b71 !important; }
html[data-theme="light"] .app-body [class~="text-slate-700"] { color: #465b71 !important; }
html[data-theme="light"] .app-body [class~="text-slate-950"] { color: #465b71 !important; }
html[data-theme="light"] .app-body [class~="text-violet-400"] { color: #6d28d9 !important; }
html[data-theme="light"] .app-body [class~="text-white"] { color: #172b40 !important; }
html[data-theme="light"] .app-body [class~="text-yellow-200"] { color: #854d0e !important; }
html[data-theme="light"] .app-body [class~="text-yellow-300"] { color: #854d0e !important; }
html[data-theme="light"] .app-body [class~="text-yellow-400"] { color: #854d0e !important; }
html[data-theme="light"] .app-body [class~="text-yellow-400/80"] { color: rgba(133, 77, 14, 0.8) !important; }
html[data-theme="light"] .app-body [class~="text-yellow-500"] { color: #854d0e !important; }
html[data-theme="light"] .app-body [class~="to-pink-500"] { --tw-gradient-to: #be185d !important; }
html[data-theme="light"] .app-body [class~="via-purple-500"] { --tw-gradient-via: #7e22ce !important; }
/* Palette exceptions for layered overlays and high-contrast actions. */
html[data-theme="light"] .particle:nth-child(odd) { color: var(--neon-cyan) !important; }
html[data-theme="light"] .particle:nth-child(even) { color: var(--neon-purple) !important; }
html[data-theme="light"] .app-body :is([class~="hover:bg-cyan-300"], [class~="hover:bg-cyan-500"], [class~="hover:bg-green-500"]):hover { color: #ffffff !important; }
html[data-theme="light"] .app-body input[type="file"]::file-selector-button { background-color: #0e7490; color: #ffffff; }
html[data-theme="light"] body.app-body { background-color: #edf5fb !important; color: var(--mv-ink); }
html[data-theme="light"] .stars-container { background: radial-gradient(ellipse at bottom, #dce8f5 0%, #f7faff 100%); }
html[data-theme="light"] .app-body :is(.modal-overlay, #forgotModal, #sidebar-overlay) { background: rgba(17, 31, 51, .45) !important; }
html[data-theme="light"] .app-body :is(.dashboard-sidebar, .mobile-dashboard-header, .profile-menu, .notification-menu) { background-color: rgba(255, 255, 255, .96) !important; }
html[data-theme="light"] .app-body :is(.input-field, .input-mobile-ultra, .arcade-answer-input, .number-guess-input) { background-color: var(--mv-input) !important; border-color: var(--mv-line) !important; color: var(--mv-ink) !important; -webkit-text-fill-color: var(--mv-ink); color-scheme: light; }
html[data-theme="light"] .app-body :is(.input-field, .input-mobile-ultra) option { background-color: #ffffff !important; color: var(--mv-ink) !important; }
html[data-theme="light"] .app-body :is(input[type="date"], input[type="datetime-local"], input[type="time"], input[type="month"]) { color-scheme: light !important; background-color: var(--mv-input) !important; color: var(--mv-ink) !important; -webkit-text-fill-color: var(--mv-ink); }
html[data-theme="light"] .app-body :is(input[type="date"], input[type="datetime-local"], input[type="time"], input[type="month"])::-webkit-calendar-picker-indicator { filter: none !important; }
html[data-theme="light"] .app-body input:-webkit-autofill, html[data-theme="light"] .app-body input:-webkit-autofill:hover, html[data-theme="light"] .app-body input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important; -webkit-text-fill-color: var(--mv-ink) !important; caret-color: var(--mv-ink); border-color: var(--mv-line) !important; }
html[data-theme="light"] .app-body :is(.btn-mobile-ultra, .btn-rect-primary, .btn-rect-danger) { color: var(--mv-action-ink) !important; }
html[data-theme="light"] .app-body .btn-rect-primary:hover:not([class*="bg-"]) { background-color: #e0f2fe; color: #172b40 !important; }
html[data-theme="light"] .app-body :is([class~="bg-cyan-300"], [class~="bg-cyan-400"], [class~="bg-cyan-500"], [class~="bg-cyan-600"], [class~="bg-red-500"], [class~="bg-red-600"], [class~="!bg-red-600"], [class~="bg-green-500"], [class~="!bg-green-500"], [class~="bg-green-600"], [class~="bg-purple-600"], [class~="bg-orange-400"], [class~="bg-orange-600"], [class~="bg-yellow-400"], [class~="bg-yellow-500"], [class~="!bg-yellow-500"]) { color: #ffffff !important; }
html[data-theme="light"] .app-body :is(.btn-mobile-ultra, .btn-rect-primary, .btn-rect-danger) :is(i, span) { color: inherit !important; }
html[data-theme="light"] .app-body :is(.practice-choice-label, .arcade-card-icon, .arcade-card-eyebrow, .arcade-question-prompt, .number-guess-stat strong, .number-guess-rank-name) { color: var(--mv-ink); }
html[data-theme="light"] .app-body .practice-choice.selected { color: var(--mv-ink); background-color: #e0f2fe; border-color: #0e7490; }
html[data-theme="light"] .app-body :is(.number-guess-orb, .health-icon, .analytics-topic-icon) { color: #0e7490; }
@media (forced-colors: active) {
    html[data-theme="light"] .app-body :is(button, .portal-frame, .input-field) { forced-color-adjust: auto; }
}
html[data-theme="light"] :is(.arcade-game-card, #math-arcade-game) { --arcade-accent: #0e7490; --arcade-accent-rgb: 14, 116, 144; }
html[data-theme="light"] :is(.arcade-game-card, #math-arcade-game)[data-accent="purple"] { --arcade-accent: #7e22ce; --arcade-accent-rgb: 126, 34, 206; }
html[data-theme="light"] :is(.arcade-game-card, #math-arcade-game)[data-accent="green"] { --arcade-accent: #047857; --arcade-accent-rgb: 4, 120, 87; }
html[data-theme="light"] :is(.arcade-game-card, #math-arcade-game)[data-accent="orange"] { --arcade-accent: #9a3412; --arcade-accent-rgb: 154, 52, 18; }
html[data-theme="light"] :is(.arcade-game-card, #math-arcade-game)[data-accent="pink"] { --arcade-accent: #be185d; --arcade-accent-rgb: 190, 24, 93; }

/*
 * Light surfaces need a deliberate hover contrast. The old white primary
 * hover became nearly indistinguishable from its light-mode panel, which hid
 * confirmation and save actions. These retain every control's existing
 * shape and motion while changing only palette values.
 */
html[data-theme="light"] .app-body .btn-rect-primary:hover:not([class*="bg-"]) { background-color: #075985 !important; color: #ffffff !important; box-shadow: 0 0 20px rgba(14, 116, 144, 0.38); }
html[data-theme="light"] .app-body .btn-mobile-ultra:hover { background-image: linear-gradient(135deg, #082f49, #0c4a6e, #0e7490); color: #ffffff !important; box-shadow: 0 0 20px rgba(14, 116, 144, 0.38); }
html[data-theme="light"] .app-body .btn-rect-secondary:hover { background-color: #d9eff9; border-color: #0e7490; color: #0c4a6e !important; box-shadow: 0 0 16px rgba(14, 116, 144, 0.22); }
html[data-theme="light"] .app-body .btn-rect-danger:hover { background-color: #991b1b; color: #ffffff !important; box-shadow: 0 0 16px rgba(185, 28, 28, 0.28); }
html[data-theme="light"] .app-body .modal-cancel:hover { background-color: #d9eff9; color: #0c4a6e !important; }

/* Important Tailwind backgrounds deliberately win over the base button
 * color. Give those colored actions an equally visible hover state instead
 * of allowing their light-mode hover to disappear behind the panel. */
html[data-theme="light"] .app-body .btn-rect-primary[class*="bg-cyan"]:hover { background-color: #155e75 !important; color: #ffffff !important; }
html[data-theme="light"] .app-body .btn-rect-primary[class*="bg-green"]:hover { background-color: #065f46 !important; color: #ffffff !important; }
html[data-theme="light"] .app-body .btn-rect-primary[class*="bg-orange"]:hover { background-color: #9a3412 !important; color: #ffffff !important; }
html[data-theme="light"] .app-body .btn-rect-primary[class*="bg-purple"]:hover { background-color: #581c87 !important; color: #ffffff !important; }
html[data-theme="light"] .app-body .btn-rect-primary[class*="bg-red"]:hover { background-color: #991b1b !important; color: #ffffff !important; }
html[data-theme="light"] .app-body .btn-rect-primary[class*="bg-slate"]:hover { background-color: #334155 !important; color: #ffffff !important; }
html[data-theme="light"] .app-body .btn-rect-primary[class*="bg-yellow"]:hover { background-color: #713f12 !important; color: #ffffff !important; }
html[data-theme="light"] .app-body .btn-rect-secondary[class*="hover:!bg-red"]:hover { background-color: #fee2e2 !important; color: #991b1b !important; }

/* Report visuals deliberately retain the original dark-mode data colors in
 * both themes. This avoids a second light-only chart palette, while keeping
 * the data marks easy to recognise on a light dashboard. */
html[data-theme="light"] .analytics-meter span { background: linear-gradient(90deg, #fb7185, #facc15); }
html[data-theme="light"] .analytics-day-bar { background: linear-gradient(180deg, #22d3ee, #7c3aed); }

/* The base (dark) picker uses black text on cyan. Only the light-mode
 * override needs a different foreground for contrast. */
html[data-theme="light"] .app-body .app-release-file-input::file-selector-button {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background-color: #0e7490 !important;
}

html[data-theme="light"] .app-body .app-release-file-input::-webkit-file-upload-button {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background-color: #0e7490 !important;
}
