/* White/red cyberpunk skin. Dark mode remains independent. */
html[data-theme="light"]{--green:#c51e38;--muted:#75666a;--line:#e5d4d8;--text:#291a20;--bg:#f7f3f4;--panel:#fff;--panel2:#faedf0;--red:#b91c35}
html[data-theme="light"] body{background:#f7f3f4;color:#291a20}
html[data-theme="light"] .app{background:linear-gradient(#c51e3805 1px,transparent 1px),linear-gradient(90deg,#c51e3805 1px,transparent 1px),radial-gradient(ellipse at 100% 0,#edb0bf25,transparent 50%),#f7f3f4;background-size:40px 40px,40px 40px,auto,auto}
html[data-theme="light"] .sidebar,html[data-theme="light"] #app .sidebar,html[data-theme="light"] .topbar{background:#fffcfdf2;border-color:#e5d4d8;box-shadow:0 4px 24px #7d193008}
html[data-theme="light"] .panel,html[data-theme="light"] .metric,html[data-theme="light"] .admin-user-card,html[data-theme="light"] .system-card,html[data-theme="light"] .maintenance-dialog{background:linear-gradient(130deg,#fff,#fff9fa);border-color:#e2cbd1;box-shadow:0 6px 24px #7b173008;color:#291a20}
html[data-theme="light"] .metric-number,html[data-theme="light"] .chart-summary strong,html[data-theme="light"] h1,html[data-theme="light"] h2,html[data-theme="light"] h3,html[data-theme="light"] .instrument b,html[data-theme="light"] .admin-summary strong,html[data-theme="light"] .setting-row b{color:#291a20}
html[data-theme="light"] .panel h2,html[data-theme="light"] .page-heading h1{letter-spacing:.2px}
html[data-theme="light"] .nav-item{color:#79656d}
html[data-theme="light"] .nav-item.active,html[data-theme="light"] #app .sidebar .nav-item.active{background:linear-gradient(100deg,#f9dfe6,#fff3f6);border-color:#d891a2;color:#bc1d3b;box-shadow:inset 0 0 20px #f3375d05}
html[data-theme="light"] .nav-item:hover{background:#fcebf0;color:#bc1d3b}
html[data-theme="light"] .nav-item.active .nav-icon{filter:drop-shadow(0 0 6px #e92c5730)}
html[data-theme="light"] .sidebar .sidebar-profile{background:#fff;border-color:#e2cbd1;box-shadow:0 4px 16px #7b173008}
html[data-theme="light"] .sidebar .sidebar-profile #profile-name{color:#291a20}
html[data-theme="light"] .metric-label,html[data-theme="light"] .metric-foot>span:last-child,html[data-theme="light"] .metric-number small,html[data-theme="light"] .metric-number>span,html[data-theme="light"] .chart-footer,html[data-theme="light"] .panel-heading p,html[data-theme="light"] .profile small,html[data-theme="light"] .system-card p,html[data-theme="light"] .system-card small,html[data-theme="light"] .nav-key,html[data-theme="light"] .breadcrumb-root,html[data-theme="light"] .breadcrumb b,html[data-theme="light"] .metrics-sync-row,html[data-theme="light"] #metrics-sync,html[data-theme="light"] .sync-period,html[data-theme="light"] .instrument small,html[data-theme="light"] .risk-note,html[data-theme="light"] .bot-bottom,html[data-theme="light"] .setting-row p,html[data-theme="light"] .settings-panel>p,html[data-theme="light"] .admin-user-card dt,html[data-theme="light"] .admin-user-header small,html[data-theme="light"] .user-history-hint,html[data-theme="light"] .legal-footer,html[data-theme="light"] .maintenance-dialog p,html[data-theme="light"] .maintenance-dialog small{color:#79656d}
html[data-theme="light"] .theme-toggle,html[data-theme="light"] .lang,html[data-theme="light"] .periods,html[data-theme="light"] .trade-tabs button,html[data-theme="light"] .user-history-tabs button,html[data-theme="light"] .mobile-menu-toggle,html[data-theme="light"] .mobile-menu-close{background:#fff;color:#a12b45;border-color:#e0c5cd}
html[data-theme="light"] .theme-track{background:#c51e38}
html[data-theme="light"] .periods .selected,html[data-theme="light"] .trade-tabs .selected,html[data-theme="light"] .user-history-tabs .selected{background:#f9dfe6;color:#ac1733;border-color:#d891a2}
html[data-theme="light"] .button{background:linear-gradient(110deg,#d92b49,#b71232);color:#fff;box-shadow:0 4px 16px #bd16351c}
html[data-theme="light"] .button:hover{background:linear-gradient(110deg,#ec3859,#cc1d3d)}
html[data-theme="light"] .bot-stop,html[data-theme="light"] .admin-stop{background:#f9e5eb;color:#a22440;border-color:#dfb8c2;box-shadow:none}
html[data-theme="light"] .bot-stop:disabled{background:#eee5e8;color:#8c7680;border-color:#e0cfd5}
html[data-theme="light"] .risk-console{background:repeating-linear-gradient(135deg,#c51e3803 0 4px,transparent 4px 9px),#fff5f7;border-color:#e2cbd1}
html[data-theme="light"] .risk-console-top,html[data-theme="light"] .risk-console-bottom,html[data-theme="light"] .loss-limit>div>span{color:#89616c}
html[data-theme="light"] .risk-segments i{background:#ce536e}html[data-theme="light"] .risk-segments i:nth-child(n+6){background:#e6d3da}
html[data-theme="light"] .shield-icon{color:#cc5972;filter:none}
html[data-theme="light"] .bot-power{background:radial-gradient(circle,#fff,#f9e5eb);border-color:#dcb7c1;color:#a8687b}
html[data-theme="light"] .bot-power.running{color:#c51e38;box-shadow:0 0 25px #df24442a;border-color:#ce536e}
html[data-theme="light"] .chart-grid text{fill:#896875}
html[data-theme="light"] .chart-grid path{stroke:#ead8df}
html[data-theme="light"] #chart-line,html[data-theme="light"] .spark path{stroke:#c51e38}
html[data-theme="light"] #chart-dot{fill:#c51e38}
html[data-theme="light"] #area stop{stop-color:#d92b49}
html[data-theme="light"] .mini-progress{background:#ead7dd}
html[data-theme="light"] .mini-progress i,html[data-theme="light"] .win-bars i{background:#ce536e}
html[data-theme="light"] .notice{background:#fff0f4;color:#885565;border-color:#e8cbd4}
html[data-theme="light"] .settings-panel input,html[data-theme="light"] .admin-filters input,html[data-theme="light"] .admin-filters select{background:#fff;border-color:#dfc3cc;color:#291a20}
html[data-theme="light"] .status-pill,html[data-theme="light"] .demo-badge,html[data-theme="light"] .direction{background:#fae9ef;color:#a32b48;border-color:#e2bdc9}
html[data-theme="light"] td{color:#50313d}
html[data-theme="light"] td:before,html[data-theme="light"] th{color:#896875}
html[data-theme="light"] tbody tr,html[data-theme="light"] .admin-user-card details,html[data-theme="light"] .panel-heading,html[data-theme="light"] .trade-tabs,html[data-theme="light"] .admin-filters{border-color:#e5d4db!important}
html[data-theme="light"] .admin-user-actions button{border-color:#dfc3cc}
html[data-theme="light"] .admin-emergency{background:#fff0f4;border-color:#dca6b7}
html[data-theme="light"] .maintenance-toggle{background:#f5dce5;color:#a22c4a;border-color:#d8a3b4}
html[data-theme="light"] .maintenance-toggle.enabled{background:#c51e38;color:white;border-color:#a0152e}
html[data-theme="light"] .login,html[data-theme="light"] #boot{background:radial-gradient(ellipse at 75% 45%,#f2c4d055,transparent 60%),#f7f3f4}
html[data-theme="light"] .login-copy>p,html[data-theme="light"] .login-footer,html[data-theme="light"] #boot small{color:#79656d}
html[data-theme="light"] .wordmark{color:#291a20}
html[data-theme="light"] .boot-line{background:#e8d2da}
html[data-theme="light"] .brand-icon img,html[data-theme="light"] .boot-mark img,html[data-theme="light"] .login-art{filter:hue-rotate(260deg)}
html[data-theme="light"] .channel-banner{filter:hue-rotate(260deg)}
html[data-theme="light"] .channel-image-banner{background:repeating-linear-gradient(115deg,transparent 0 60px,#e5345906 60px 62px),linear-gradient(105deg,#2d101a,#190a10 65%,#3a1423);border-color:#b54b65}
html[data-theme="light"] .channel-image-banner img{filter:hue-rotate(260deg)}
html[data-theme="light"] .channel-image-banner .banner-brand{color:#fff3f6}
html[data-theme="light"] .channel-image-banner .banner-brand span{color:#ff6887}
html[data-theme="light"] .banner-telegram{color:#ff8da5;background:#ff55771a;border-color:#ee6482}
html[data-theme="light"] .text-button,html[data-theme="light"] .demo-link{color:#a22c4a}
/* Keep financial meaning explicit: profit green, loss red, independent of theme. */
html[data-theme="light"] .green,html[data-theme="light"] td.green,html[data-theme="light"] .metric-number.green{color:#28773c}
html[data-theme="light"] .red,html[data-theme="light"] td.red,html[data-theme="light"] .metric-number.red{color:#b91c35}
@media(max-width:760px){html[data-theme="light"] #app tbody tr{background:#fffafb}html[data-theme="light"] .mobile-menu-backdrop.open{background:#39152355}}
