/* Optional light theme. The reference dark theme remains the default. */
html.light-theme, html.light-theme body {
  --bg-app:#f5f7fb;--bg-app-2:#fff;--bg-surface:#fff;--bg-surface-rgb:255,255,255;--bg-elevated:#fff;--bg-elevated-2:#f8fafc;--bg-control:#fff;--bg-hover:rgba(37,99,235,.06);--border-subtle:rgba(15,23,42,.12);--border-strong:rgba(37,99,235,.24);--border-focus:rgba(37,99,235,.48);--text-primary:#111827;--text-secondary:#4b5563;--text-disabled:#9ca3af;--brand:#2563eb;--brand-hover:#1d4ed8;--brand-cyan:#0284c7;--brand-purple:#7c3aed;--brand-soft:rgba(37,99,235,.08);--brand-gradient:linear-gradient(90deg,#2563eb,#0ea5e9);--panel-gradient:linear-gradient(155deg,#fff,#f8fafc);--panel-gradient-strong:linear-gradient(135deg,#fff,#f8fafc);--bg-secondary:#f8fafc;--bg-inset:#f1f5f9;--border:var(--border-subtle);--accent:var(--brand-cyan);--text-muted:var(--text-secondary);--text-aux:var(--text-secondary);--text-tertiary:var(--text-disabled);--shadow-card:0 10px 28px rgba(15,23,42,.06);--shadow-pop:0 18px 50px rgba(15,23,42,.16);background:#f5f7fb!important;color:#111827!important
}
html.light-theme .app-shell{background:#f5f7fb!important}html.light-theme .sidebar{background:#fff!important;border-right:1px solid rgba(15,23,42,.1)!important;box-shadow:12px 0 30px rgba(15,23,42,.05)!important}html.light-theme .sidebar-brand .name,html.light-theme .sidebar .name,html.light-theme .sidebar-label{color:#111827!important}html.light-theme .nav-item{color:#4b5563!important}html.light-theme .nav-item:hover{background:rgba(37,99,235,.06)!important;color:#1f2937!important}html.light-theme .nav-item.active{background:linear-gradient(90deg,rgba(37,99,235,.12),rgba(14,165,233,.06))!important;color:#111827!important}html.light-theme .sidebar-nav-parent{background:linear-gradient(105deg,rgba(37,99,235,.09),rgba(14,165,233,.04))!important;border-color:rgba(37,99,235,.15)!important;color:#1f2937!important}html.light-theme .sidebar-footer,html.light-theme .sidebar-section+ .sidebar-section{border-color:rgba(15,23,42,.1)!important}html.light-theme .topbar{background:rgba(255,255,255,.96)!important;border-bottom:1px solid rgba(15,23,42,.1)!important;color:#111827!important}html.light-theme .crumb .current,html.light-theme .crumb span,html.light-theme .topbar-right{color:#111827!important}html.light-theme .content{color:#111827!important}html.light-theme .card,html.light-theme .el-card{background:#fff!important;border-color:rgba(15,23,42,.12)!important;box-shadow:var(--shadow-card)!important}html.light-theme .card-title,html.light-theme .page-title,html.light-theme .kpi-value,html.light-theme .kpi-label{color:#111827!important}html.light-theme .text-micro,html.light-theme .kpi-sub,html.light-theme .page-sub,html.light-theme .td-aux,html.light-theme .desc{color:#64748b!important}html.light-theme .btn-secondary,html.light-theme .btn-ghost{background:#fff!important;color:#1f2937!important;border-color:rgba(15,23,42,.16)!important}html.light-theme .tbl{color:#111827!important}html.light-theme .tbl th{color:#64748b!important;background:#f8fafc!important}html.light-theme .tbl td{border-color:rgba(15,23,42,.09)!important}html.light-theme .login-brand{background:#fff!important;border-right-color:rgba(15,23,42,.1)!important}html.light-theme .login-form-side{background:#f5f7fb!important}html.light-theme .login-card{background:#fff!important;border-color:rgba(15,23,42,.12)!important;box-shadow:0 24px 60px rgba(15,23,42,.1)!important;color:#111827!important}html.light-theme .login-card h2,html.light-theme .login-card label{color:#111827!important}html.light-theme .login-card .sub,html.light-theme .login-foot,html.light-theme .brand-tag,html.light-theme .brand-feat{color:#64748b!important}html.light-theme .field{background:#fff!important;color:#111827!important;border-color:rgba(15,23,42,.16)!important}html.light-theme .field::placeholder{color:#9ca3af!important}html.light-theme .live-pill{background:rgba(37,99,235,.08)!important;color:#2563eb!important}
#goodapple-theme-toggle{height:30px;padding:0 10px;margin-right:10px;border:1px solid rgba(139,178,214,.25);border-radius:9px;background:rgba(15,31,49,.78);color:#cbe7f4;font:500 12px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}#goodapple-theme-toggle:hover{border-color:rgba(55,214,255,.5);color:#fff}html.light-theme #goodapple-theme-toggle{background:#fff;color:#1f2937;border-color:rgba(15,23,42,.16)}html.light-theme #goodapple-theme-toggle:hover{color:#2563eb;border-color:rgba(37,99,235,.35)}
