/* InvestElos · shared identity. Loaded last on public, private and plan pages. */
:root{--ie-navy:#072544;--ie-emerald:#078254;--ie-accent:#62dfb3;--ie-bg:#071827;--ie-paper:#10283c;--ie-soft:#173348;--ie-ink:#eef5fa;--ie-muted:#b0c2d1;--ie-line:#2c465c;--ie-tint:#123e35;--ie-button:#087f5b;--ie-hover:#066647}
html[data-color-mode="soft"]{--ie-accent:#087553;--ie-bg:#f3f7fa;--ie-paper:#fff;--ie-soft:#eaf1f6;--ie-ink:#072544;--ie-muted:#50677b;--ie-line:#d4e0e8;--ie-tint:#e7f4ef}
/* The approved raster artwork retains its proportions; the viewport removes
   transparent margins without modifying the logo file. Fixed ratio avoids CLS. */
html:root body .ie-logo{display:block!important;position:relative;width:210px;max-width:100%;aspect-ratio:1880/340;overflow:hidden;flex:0 1 210px;min-width:0;padding:0!important;margin:0;border:0;background:transparent;line-height:0}
html:root body .ie-logo img{display:block;position:absolute;width:105.48%!important;height:auto!important;max-width:none!important;left:-2.55%;top:-67.35%;object-fit:contain;opacity:1!important}
html:root body .ie-logo img{filter:none}
html:root:not([data-color-mode="soft"]) body .ie-logo img{content:url('/assets/brand/investelos-logo-dark.png?v=72502');filter:none}
html:root body.authenticated-view .brand{display:flex;min-width:0;padding:0 4px 24px;gap:0}
html:root body.authenticated-view .brand .ie-logo{width:190px;flex-basis:190px}
html:root body .market-brand,html:root body .market-login-brand,html:root body .plans-brand{min-width:0;gap:0!important}
html:root body #app-loading .boot-brand{display:flex;justify-content:center;margin-bottom:26px}
html:root body #app-loading .boot-brand .ie-logo{width:220px;flex-basis:220px}
html:root body,html:root body.authenticated-view{--cb-bg:var(--ie-bg);--cb-paper:var(--ie-paper);--cb-text:var(--ie-ink);--cb-muted:var(--ie-muted);--cb-border:var(--ie-line);--cb-soft:var(--ie-soft);--bg:var(--ie-bg);--paper:var(--ie-paper);--ink:var(--ie-ink);--muted:var(--ie-muted);--line:var(--ie-line);--amber:var(--ie-accent);--amber-light:var(--ie-tint)}
html:root body.authenticated-view,html:root body.authenticated-view .workspace,html:root body.plans-standalone,html:root #auth.market-auth,html:root #auth.market-auth .market-login-stage{background:var(--ie-bg)!important;color:var(--ie-ink)}
html:root body.authenticated-view .sidebar,html:root body.authenticated-view .topbar{background:var(--ie-paper)!important;border-color:var(--ie-line)!important}
html:root body.authenticated-view .sidebar .nav.active{background:var(--ie-tint)!important;color:var(--ie-accent)!important;border-color:transparent!important;box-shadow:inset 3px 0 var(--ie-accent)}
html:root body.authenticated-view .btn.primary,html:root body.authenticated-view .cb-button.cb-primary,html:root #auth.market-auth .terminal-button,html:root #auth.market-auth .terminal-login-submit{background:var(--ie-button)!important;color:#fff!important;border-color:var(--ie-button)!important}
html:root body.authenticated-view .btn.primary:hover,html:root body.authenticated-view .cb-button.cb-primary:hover,html:root #auth.market-auth .terminal-button:hover{background:var(--ie-hover)!important;border-color:var(--ie-hover)!important}
html:root #auth.market-auth .market-login-card .auth-submit.market-auth-submit{background:var(--ie-button)!important;border-color:var(--ie-button)!important;color:#fff!important}
html:root #auth.market-auth .market-login-card .auth-submit.market-auth-submit:hover{background:var(--ie-hover)!important}
html:root body.authenticated-view .btn.primary-light,html:root body.authenticated-view .cb-row-button{background:var(--ie-tint)!important;color:var(--ie-accent)!important;border-color:var(--ie-line)!important}
html:root body.authenticated-view .cb-kpi-feature{background:linear-gradient(130deg,var(--ie-tint),var(--ie-paper))!important;border-color:var(--ie-line)!important;box-shadow:inset 0 3px var(--ie-accent)!important}
html:root body.authenticated-view .cb-kpi-feature :is(.cb-kpi-label,small){color:var(--ie-muted)!important}
html:root body.authenticated-view .cb-kpi-feature>strong{color:var(--ie-accent)!important}
html:root body.authenticated-view .cb-segmented button[aria-pressed="true"],html:root #auth.market-auth .terminal-ranges button[aria-pressed="true"]{background:var(--ie-button)!important;color:#fff!important}
html:root body.authenticated-view .avatar,html:root body.authenticated-view .top-avatar{background:var(--ie-tint)!important;color:var(--ie-accent)!important;border-color:var(--ie-line)!important}
html:root body.authenticated-view #app .mobile-navigation button.active,html:root body.authenticated-view #app .mobile-navigation button[aria-expanded="true"]{color:var(--ie-accent)!important;background:var(--ie-tint)!important}
html:root :is(.subscription-page,.subscription-strip){--subscription-surface:var(--ie-paper);--subscription-raised:var(--ie-soft);--subscription-border:var(--ie-line);--subscription-text:var(--ie-ink);--subscription-muted:var(--ie-muted);--subscription-accent:var(--ie-accent);--subscription-accent-soft:var(--ie-tint);--subscription-button:var(--ie-button);--subscription-button-text:#fff;--subscription-button-hover:var(--ie-hover)}
html:root #asset-research{--ar-bg:var(--ie-paper);--ar-panel:var(--ie-soft);--ar-ink:var(--ie-ink);--ar-muted:var(--ie-muted);--ar-line:var(--ie-line);--ar-accent:var(--ie-accent);--ar-accent-panel:var(--ie-tint);--ar-primary:var(--ie-button);--ar-primary-hover:var(--ie-hover);--ar-chart-1:var(--ie-accent)}
html:root #app #positions-center{--ps-paper:var(--ie-paper);--ps-soft:var(--ie-soft);--ps-text:var(--ie-ink);--ps-muted:var(--ie-muted);--ps-border:var(--ie-line);--ps-accent:var(--ie-accent);--ps-primary:var(--ie-button)}
html:root #app #income-center{--ip-paper:var(--ie-paper);--ip-soft:var(--ie-soft);--ip-ink:var(--ie-ink);--ip-muted:var(--ie-muted);--ip-line:var(--ie-line);--ip-accent:var(--ie-accent);--ip-primary:var(--ie-button);--ip-chart-1:var(--ie-accent)}
html:root :is(#app-loading,.session-status,.session-skeleton){--session-bg:var(--ie-bg);--session-paper:var(--ie-paper);--session-text:var(--ie-ink);--session-muted:var(--ie-muted);--session-line:var(--ie-line);--session-accent:var(--ie-accent)}
html:root body #app-loading.app-loading-screen{background:var(--ie-bg)!important}
html:root :is(button,a,input,select,textarea,summary):focus-visible{outline-color:var(--ie-accent)}
@media(max-width:1100px){html:root body.authenticated-view .brand .ie-logo{width:166px;flex-basis:166px}}
@media(max-width:600px){html:root body .market-brand .ie-logo{width:172px;flex-basis:172px}html:root body .plans-brand .ie-logo{width:170px;flex-basis:170px}html:root body .plans-header{padding:18px 16px;gap:12px}html:root body .plans-header nav{gap:12px}}
@media(max-width:380px){html:root body .market-brand .ie-logo,html:root body .plans-brand .ie-logo{width:145px;flex-basis:145px}}

.admin-plan-editor{display:grid;gap:16px;min-width:0}.admin-plan-editor p{margin:0;line-height:1.6;overflow-wrap:anywhere}.admin-plan-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.admin-plan-confirm{display:flex;align-items:flex-start;gap:12px;font-size:13px;line-height:1.6}.admin-plan-confirm input{width:20px!important;min-width:20px;min-height:20px!important;margin:3px 0 0;accent-color:var(--ie-button)}@media(max-width:540px){.admin-plan-fields{grid-template-columns:1fr}}
