/* Neutral surfaces remain constant; only interface accents follow the member's preference. */
.sidebar nav a .nav-beta{margin-left:auto;padding:2px 5px;border:1px solid var(--accent-edge);border-radius:4px;color:var(--accent);font-size:9px;font-weight:700;line-height:1.3}.sidebar nav a.nav-locked{opacity:.65}.sidebar nav a.nav-locked:after{margin-left:5px}
:root{--accent:#75D89E;--button:#266D48;--accent-solid:#51CB87;--accent-soft:#1F3028;--accent-edge:#456C55}
:root[data-theme=teal]{--accent:#79D4CD;--button:#216B65;--accent-solid:#47C7BC;--accent-soft:#1E2F2F;--accent-edge:#3E6C68}
:root[data-theme=blue]{--accent:#A3B6FF;--button:#3E56B4;--accent-solid:#577CFF;--accent-soft:#232A3B;--accent-edge:#4E608A}
:root[data-theme=orange]{--accent:#F1B183;--button:#975124;--accent-solid:#EB8B4B;--accent-soft:#32271F;--accent-edge:#815D43}
:root[data-theme=gold]{--accent:#E4C777;--button:#796020;--accent-solid:#D9B34D;--accent-soft:#302B1F;--accent-edge:#75663F}
:root[data-theme=red]{--accent:#F1A2AA;--button:#9D3949;--accent-solid:#E56B7C;--accent-soft:#322329;--accent-edge:#7D4852}
.brand-logo,.legacy-brand .brand-logo{display:block;width:29px;height:32px;flex-shrink:0;object-fit:contain}
.brand,.legacy-brand{color:#EEF2F3}.auth-card .brand{display:flex;gap:14px;align-items:center;letter-spacing:-.7px}.auth-card .brand .brand-logo{width:37px;height:42px}.auth-card .brand .brand-copy{font-size:29px;color:#EEF2F3;font-weight:700;line-height:1.1;margin:0}.auth-card .brand .brand-tagline{font-size:12px;font-weight:400;letter-spacing:0;color:#A2ADB9;display:block;margin-top:7px}.account-page .brand{display:flex;align-items:center;gap:12px}
a{color:var(--accent)}.primary,button.primary,button:not(.stop).primary{background:var(--button);border-color:var(--accent-edge);color:#FFF}.primary:hover:not(:disabled){background:color-mix(in srgb,var(--button) 82%,white)}
.sidebar nav a.active,.legacy-sidebar nav a.active{background:var(--accent-soft);color:var(--accent)}.sidebar nav a.active:before{background:var(--accent)}
#accountButton,.mode-pill,.time-tabs button.selected,.bot-tabs button[aria-selected=true]{background:var(--accent-soft);border-color:var(--accent-edge);color:var(--accent)}
.tabs button[aria-selected=true]{color:var(--accent);border-bottom-color:var(--accent)}.card.ticket-card{background:#1C2325;border-color:var(--accent-edge);box-shadow:0 0 0 1px color-mix(in srgb,var(--accent-solid) 8%,transparent),0 8px 28px #0003}.ticket-card>.card-heading{border-bottom-color:#34413C}.ticket-card>.card-heading h2 i,.stake-reminder{color:var(--accent)}.ticket-card .ticket-status:not([data-tone=error]):not([data-tone=warning]){border-left-color:var(--accent-edge)}
.bar-value{background:var(--accent-edge)}.bar{background:var(--accent-edge)}.digit-strip span.newest-digit{border-color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 1px var(--accent)}input[type=checkbox]{accent-color:var(--accent-solid)}.pulse{outline-color:var(--accent)}
.completion-accent{color:var(--accent);font-weight:700}.baseline-signal{display:inline-block;margin-left:4px;font-size:14px;vertical-align:middle}.baseline-signal.above{color:#65dca4}.baseline-signal.below{color:#ff7585}
.auth-card{background:#1B2225;border-color:#35433B}.auth-card .pill{background:var(--accent-soft);color:var(--accent)}.auth-card input:focus-visible,.auth-card button:focus-visible,.auth-card a:focus-visible{outline-color:var(--accent)}
.legacy-sidebar~main button:not(.secondary):not(.stop){background:var(--button);color:#FFF}.legacy-sidebar~main a{color:var(--accent)}.legacy-sidebar~main .badge,.legacy-sidebar~main .intro{background:var(--accent-soft);border-color:var(--accent-edge)}
.theme-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.theme-choice{display:flex;align-items:center;gap:9px;padding:11px;border:1px solid var(--line);background:#20262B;color:#DCE3E8}.theme-choice[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.theme-choice:before{content:'';width:14px;height:14px;flex-shrink:0;border-radius:50%;background:var(--swatch)}.theme-choice[data-theme-choice=green]{--swatch:#51CB87}.theme-choice[data-theme-choice=teal]{--swatch:#47C7BC}.theme-choice[data-theme-choice=blue]{--swatch:#577CFF}.theme-choice[data-theme-choice=orange]{--swatch:#EB8B4B}.theme-choice[data-theme-choice=gold]{--swatch:#D9B34D}.theme-choice[data-theme-choice=red]{--swatch:#E56B7C}#themeStatus{font-size:12px;color:var(--muted);min-height:18px}.theme-note{font-size:12px;color:var(--muted)}@media(max-width:420px){.theme-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}

html[data-manual-access=false] #manualTab,html[data-manual-access=false] #quoteButton,html[data-manual-access=false] #buyButton,html[data-automation-access=false] #automationTab,html[data-automation-access=false] #startAutomation{display:none!important}

/* The selected mode carries connection status; the balance needs no second Demo/Live label. */
.top-account>.account-mode{margin:0}.top-account>.account-mode .account-connected::after{content:'';display:inline-block;width:7px;height:7px;margin-left:7px;border-radius:50%;background:#4dd897;box-shadow:0 0 0 2px #4dd89733,0 0 8px #4dd897;vertical-align:middle}
.top-account>.account-mode .account-disconnected::after,.top-account>.account-mode .account-error::after{content:'';display:inline-block;width:7px;height:7px;margin-left:7px;border-radius:50%;background:#f2bd59;box-shadow:0 0 0 2px #f2bd5933,0 0 8px #f2bd59;vertical-align:middle}.top-account>.account-mode .account-error::after{background:#f46670;box-shadow:0 0 0 2px #f4667033,0 0 8px #f46670}
#topBalance[hidden],#shellBalance[hidden],#accountButton[hidden],#shellAccount[hidden]{display:none!important}
.sidebar-bottom .screen-awake-button{width:100%;justify-content:flex-start;text-align:left;white-space:normal}.sidebar-bottom .screen-awake-button[aria-pressed=true]{color:#7ddfc2;background:#18332d;border-color:#355f50}.sidebar-bottom .screen-awake-status{display:block;margin:-10px 10px 0;color:var(--muted);font-size:11px;line-height:1.4}
