:root[data-theme="light"]{color-scheme:light;--bg:#f0f4f5;--panel:#fff;--line:#d4dee1;--subtle:#e7eeed;--text:#18282e;--muted:#52666e;--green:#5d8050;--positive:#146b51;--red:#b4344a;--amber:#835a16}

[data-theme="light"] :is(.sidebar,.topbar,.header-account-menu,.modal,.auth-google-dialog,.policy-dialog,.trade-panel,.order-panel,.ticket-panel,.sim-project,.copy-follow-card,.binance-account-card,.api-control-card,.api-routing-card,.profile-card){background:var(--panel);border-color:var(--line);color:var(--text)}
[data-theme="light"] :is(.panel,.table-wrap,.production-content,.workspace){border-color:var(--line);color:var(--text)}
[data-theme="light"] :is(.header-user-trigger,.nav-item,.sim-tabs button,.tabs button,.icon-button,.text-button){color:var(--muted)}
[data-theme="light"] :is(.nav-item:hover,.nav-item.active,.header-account-menu button:hover,.icon-button:hover,.tabs button.active,.sim-tabs button.active){background:#e6eee4;color:#294333}
[data-theme="light"] :is(input,textarea,select,.settings-row select,.parameter-fields input){background:#fff;border-color:#bdccd1;color:var(--text)}
[data-theme="light"] :is(input,textarea)::placeholder{color:#627780}
[data-theme="light"] :is(.button.outline,.button.ghost,.button.soft,.experience){background:#edf2f2;border-color:#c9d6da;color:#2a424a}
[data-theme="light"] :is(.button.outline,.button.ghost,.button.soft,.experience):hover{background:#dfe9e9;border-color:#a6b9bf}
[data-theme="light"] .button.primary{background:#bbd9aa;border-color:#a6c995;color:#203827}
[data-theme="light"] .button.primary:hover{background:#acd197}
[data-theme="light"] :is(th,.notice,.badge.subtle,.auth-tabs,.header-user-trigger:hover){background:#eaf0f1;border-color:var(--line);color:var(--muted)}
[data-theme="light"] :is(td,.settings-row,.modal>header,.modal>footer,.sim-tabs,.table-wrap){border-color:var(--line)}
[data-theme="light"] tbody tr:hover{background:#edf2f3}
[data-theme="light"] :is(.field,.field>input,.field>select,.field>textarea,.empty>strong,.auth-box label){color:var(--text)}
[data-theme="light"] :is(.badge.green,.auth-tabs>button.active){background:#dfeee6;color:#266148}
[data-theme="light"] .badge.red{background:#f9e4e8;color:#9f3043}
[data-theme="light"] .badge.amber{background:#f4ebd8;color:#745319}
[data-theme="light"] :is(.error,.field-feedback.error){color:var(--red)}
[data-theme="light"] :is(.settings-gear img,.auth-settings-trigger img,.settings-menu-icon,.header-account-menu img.icon){filter:none}
[data-theme="light"] .auth.auth-horizon .auth-form{background:#f7faf9;color:var(--text);border-color:var(--line)}
[data-theme="light"] .auth-horizon .auth-form :is(h2,label,.password-control input){color:var(--text)}
[data-theme="light"] .auth-horizon .auth-form :is(input,.password-control,.auth-tabs){background:#fff;border-color:var(--line);color:var(--text)}
[data-theme="light"] .auth-horizon .auth-form :is(.auth-legal,.auth-note,.auth-tabs button,.auth-connection-value,.remember-options,.auth-box>p){color:var(--muted)}
[data-theme="light"] .auth-horizon .auth-tabs button.active{background:#e4eee1;color:#294832}
[data-theme="light"] .auth-horizon .auth-submit{background:#bdd9ab;color:#203827}
[data-theme="light"] :is(.settings-desktop-connector,.settings-row){border-color:var(--line)}
[data-theme="light"] :is(.settings-desktop-connector p,.settings-version,.settings-row .auth-connection-value){color:var(--muted)}
[data-theme="light"] .settings-connector-actions input{background:#fff;border-color:var(--line)}
[data-theme="light"] .app-settings-dialog::backdrop{background:#142a3b68}
[data-theme="light"] :is(.order-ticket,.restored-trading-grid .tv-panel,.follow-copy-project,.lead-owner-card,.project-detail>.panel,.sim-detail-analytics .sim-style-panel,.copy-subscribe-modal,.lead-config-modal,.api-console .api-account-card,.folo-profile-hero){background:#fff;border-color:var(--line);color:var(--text)}
[data-theme="light"] :is(.order-ticket .ticket-heading h2,.follow-copy-project h2,.lead-owner-card h2,.project-profile h2,.folo-profile-hero h2,.api-console .api-account-card strong){color:var(--text)}
[data-theme="light"] :is(.order-ticket .period-options>button,.order-ticket select option,.project-detail .sim-detail-periods,.copy-subscribe-modal .copy-account-option,.api-console .api-account-card select){background:#edf3f2;border-color:#cad7d9;color:#304b51}
[data-theme="light"] :is(.order-ticket .period-options>button.active,.copy-subscribe-modal .copy-account-option:has(input:checked),.project-detail .sim-detail-periods button.active){background:#dcebdd;border-color:#adc3a7;color:#284331}
[data-theme="light"] :is(.project-detail .project-followers>header,.project-detail .project-trades>header,.project-detail .project-followers th,.project-detail .project-trades th,.copy-subscribe-modal>footer,.lead-config-modal>footer){background:#edf2f4;border-color:var(--line);color:var(--text)}
[data-theme="light"] .project-detail{
 --project-surface:#fff;--project-plot:#f3f6f8;--project-rule:#d6dee4;
 --project-text:#202e37;--project-muted:#4c616d;
 --project-grid:#cbd5dc;--project-zero:#7a8b96;
 --project-gain:#167558;--project-loss:#b4384d;
}
[data-theme="light"] .accounts-workspace .managed-account{background:#fff;border-color:#d6dce1}
[data-theme="light"] .accounts-workspace :is(.managed-heading h1,.managed-identity h2,.managed-funds strong,.managed-session strong){color:#222c36}
[data-theme="light"] .accounts-workspace :is(.managed-online-summary,.managed-email,.managed-funds>span,.managed-funds .managed-currency,.managed-session-label){color:#53616e}
[data-theme="light"] .accounts-workspace .managed-egress{color:#53616e;--egress-warning-text:#744700;--egress-warning-bg:#fff2d6;--egress-warning-border:#cda35a}
[data-theme="light"] .accounts-workspace .managed-account-meta{color:#53616e!important}
[data-theme="light"] .accounts-workspace :is(.managed-life-track,.managed-funds){border-color:#dce2e7}
[data-theme="light"] .accounts-workspace .managed-life-track{background:#e9e4d8}
[data-theme="light"] .accounts-workspace .managed-funds .text-button{color:#785708}
[data-theme="light"] .accounts-workspace .managed-presence.good{color:var(--positive)}
[data-theme="light"] .accounts-workspace .managed-presence.warning{color:var(--amber)}
[data-theme="light"] .accounts-workspace .managed-presence.bad{color:var(--red)}
[data-theme="light"] .accounts-workspace .button.primary{background:#f0b90b;border-color:#d6a415;color:#262116}
