:root{--ui-bg:#0c080b;--ui-surface:#160c11;--ui-raised:#201017;--ui-text:#f6edf0;--ui-muted:#b49ba5;--ui-border:#ffffff0d;--ui-accent:#c32642;--ui-accent-soft:#38121e;--ui-link:#f08a9d;--ui-positive:#41d3a4;--ui-positive-soft:#10281f;--ui-negative:#ff7289;--ui-negative-soft:#32141e;--ui-navy:#10090e;--ui-radius:9px;--ui-shadow:0 8px 28px #00000020;--ui-sidebar-width:216px;--ui-space-1:4px;--ui-space-2:8px;--ui-space-3:12px;--ui-space-4:16px;--ui-space-6:24px;--ui-space-8:32px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color-scheme:dark}
body.platform-page{margin:0;background:var(--ui-bg);color:var(--ui-text)}
alita-sidebar{font:14px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#ead6df;display:block}
alita-sidebar *{box-sizing:border-box}alita-sidebar a{text-decoration:none}alita-sidebar .platform-sidebar{position:fixed;inset:0 auto 0 0;width:var(--ui-sidebar-width);z-index:40;background:var(--ui-navy);display:flex;flex-direction:column;padding:34px 16px 22px;border:0;border-radius:0}
alita-sidebar .platform-brand{display:flex;gap:11px;align-items:center;padding:0 12px;color:white;font-size:25px;font-weight:650;letter-spacing:-.8px}alita-sidebar .platform-brand-mark{width:33px;height:33px;display:grid;place-items:center;background:var(--ui-surface);border-radius:11px;color:var(--ui-navy);font-weight:750;font-size:26px}alita-sidebar .platform-brand small{display:block;color:#b0919e;font-size:8px;letter-spacing:1.8px;margin-top:4px}alita-sidebar .platform-nav-label{font-size:10px;letter-spacing:1.5px;color:#b0919e;padding:34px 14px 10px;margin:0}alita-sidebar nav{display:grid;gap:6px}alita-sidebar nav a{display:flex;align-items:center;gap:12px;color:#ead6df;padding:12px 14px;border-radius:6px;font-size:13px;border:0;line-height:1.4}alita-sidebar nav a:hover{background:#ffffff0c}alita-sidebar nav a[aria-current]{background:var(--ui-accent-soft);color:white}alita-sidebar .platform-nav-icon{width:20px;text-align:center;font-size:18px;color:#d2a8b9}alita-sidebar .platform-sidebar-footer{margin-top:auto;padding:24px 14px 0;font-size:12px;color:#ead6df}alita-sidebar .platform-sidebar-footer small{display:block;color:#b0919e;margin:6px 0 20px;font-size:10px}alita-sidebar .platform-lock{color:#c9d5f0;background:transparent;border:1px solid #ffffff28;border-radius:6px;padding:10px 12px;font:inherit;font-size:11px;cursor:pointer;width:100%}alita-sidebar .platform-mobile-bar,alita-sidebar .platform-nav-backdrop{display:none}
.platform-page>.app-shell>.live-room,.platform-page>main{margin-left:var(--ui-sidebar-width);max-width:none;padding:40px 36px;min-width:0;box-sizing:border-box}
.platform-page .ui-data-list-scroll{overflow:auto;max-width:100%}.ui-data-list{width:100%;border-collapse:separate;border-spacing:0 8px;font:13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ui-text)}.ui-data-list th{background:var(--ui-surface);padding:15px 18px;text-align:left;color:var(--ui-muted);font-size:11px;font-weight:500;white-space:nowrap;border:0}.ui-data-list td{background:var(--ui-surface);padding:17px 18px;vertical-align:middle;border-top:1px solid var(--ui-border);border-bottom:1px solid var(--ui-border);white-space:nowrap}.ui-data-list td:first-child,.ui-data-list th:first-child{border-radius:7px 0 0 7px}.ui-data-list td:last-child,.ui-data-list th:last-child{border-radius:0 7px 7px 0}.ui-data-list tbody tr:hover td{background:var(--ui-raised)}.ui-empty-state{background:var(--ui-surface);border:1px dashed var(--ui-border);border-radius:var(--ui-radius);text-align:center;padding:72px 24px;margin-top:12px}.ui-empty-state h2{font-size:19px;font-weight:600;color:var(--ui-text)}.ui-empty-state p{color:var(--ui-muted);font-size:13px}.ui-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:20px}.ui-details dt{font-size:11px;color:var(--ui-muted)}.ui-details dd{margin:7px 0 0;color:var(--ui-text);font-size:13px;overflow-wrap:anywhere}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
.platform-page :focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px}
/* Control Room uses the shared navigation and themed chart surfaces. */
.platform-overview>main{margin-left:var(--ui-sidebar-width);max-width:1500px}.platform-overview #analysis-panel{left:var(--ui-sidebar-width)}.platform-overview .room-header h1{color:var(--ui-text)}.platform-overview .room-header .eyebrow,.platform-overview .room-heading p{color:var(--ui-muted)}.platform-overview .room-header{background:var(--ui-bg)}
.platform-research h1,.platform-research h2{color:var(--ui-text)}.platform-research section{background:var(--ui-surface);border-color:var(--ui-border);box-shadow:var(--ui-shadow)}.platform-research p,.platform-research label,.platform-research .intro,.platform-research .eyebrow,.platform-research #settings{color:var(--ui-muted)}.platform-research button,.platform-research input,.platform-research select{background:var(--ui-surface);color:var(--ui-text);border-color:#d9dfea}.platform-research .card{background:var(--ui-bg);color:var(--ui-text)}.platform-research .card small,.platform-research th{color:var(--ui-muted)}.platform-research td,.platform-research th{border-color:var(--ui-border)}.platform-research #incremental-card{background:var(--ui-positive-soft)}.platform-research .table-scroll{max-width:100%}
@media(max-width:900px){alita-sidebar .platform-mobile-bar{height:56px;position:fixed;inset:0 0 auto;z-index:45;display:flex;align-items:center;justify-content:space-between;padding:0 18px;background:var(--ui-navy)}alita-sidebar .platform-mobile-brand{color:white;font-size:23px;font-weight:650}alita-sidebar .platform-mobile-brand span{font-size:10px;letter-spacing:1px;margin-left:9px;color:#d2a8b9}alita-sidebar .platform-menu-toggle{border:1px solid #ffffff30;background:transparent;color:white;border-radius:6px;padding:8px 12px;min-height:40px;font:18px system-ui;cursor:pointer}alita-sidebar .platform-sidebar{top:56px;transform:translateX(-100%);transition:transform .18s ease;z-index:44}alita-sidebar[open] .platform-sidebar{transform:translateX(0)}alita-sidebar[open] .platform-nav-backdrop{display:block;position:fixed;inset:56px 0 0;background:#08040899;border:0;z-index:43;border-radius:0}.platform-page>.app-shell>.live-room,.platform-page>main{margin-left:0;padding:82px 18px 26px}.platform-overview>aside.sidebar{left:0;top:56px;transform:translateX(-100%);z-index:42}.platform-overview>aside.sidebar.is-open{transform:translateX(0)}.platform-overview #analysis-panel{left:0}.platform-overview .room-header{top:56px}.platform-overview .menu-toggle{display:block}.platform-overview .room-header h1{font-size:20px}}
@media(prefers-reduced-motion:reduce){alita-sidebar .platform-sidebar{transition:none}}
/* Reusable feature building blocks; layout-specific rules stay in feature CSS. */
.ui-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.ui-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:10px}.ui-button{font:inherit;font-size:12px;font-weight:500;min-height:40px;padding:10px 17px;border:1px solid transparent;border-radius:6px;background:var(--ui-accent);color:#fff;cursor:pointer}.ui-button.secondary{background:var(--ui-surface);color:var(--ui-muted);border-color:var(--ui-border)}.ui-button:disabled{opacity:.45;cursor:default}.ui-status{display:inline-block;white-space:nowrap;font-size:10px;padding:5px 9px;border-radius:5px;color:#7f8b9c;background:var(--ui-raised)}.ui-status[data-status=live],.ui-status[data-status=connected]{background:var(--ui-positive-soft);color:var(--ui-positive)}.ui-dialog{box-sizing:border-box;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-surface);color:var(--ui-text);padding:28px;width:min(640px,calc(100vw - 32px));max-height:90dvh;overflow:auto;box-shadow:0 22px 70px #00000050}.ui-dialog::backdrop{background:#080408bb;backdrop-filter:blur(3px)}.ui-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ui-form label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:500;color:var(--ui-muted);min-width:0}.ui-form input,.ui-form select,.ui-form textarea{box-sizing:border-box;font:inherit;font-size:14px;min-height:42px;width:100%;padding:10px 12px;background:var(--ui-surface);color:var(--ui-text);border:1px solid var(--ui-border);border-radius:6px;min-width:0}
@media(max-width:650px){.ui-form{grid-template-columns:1fr}.ui-form input,.ui-form select,.ui-form textarea{font-size:16px;min-height:44px}.ui-button{min-height:44px}.ui-dialog{padding:20px;max-height:88dvh}.ui-list-toolbar{align-items:stretch;flex-direction:column;gap:12px}}

@media(max-width:900px){.platform-overview>main{margin-left:0}.platform-overview #analysis-panel{left:0}}

.strategy-reference{display:block;font-size:10px;font-weight:600;letter-spacing:.8px;color:var(--ui-muted);font-variant-numeric:tabular-nums;margin:0 0 6px}.room-heading .strategy-reference{font-size:11px;margin-top:8px;color:var(--ui-muted)}

/* Opening sequence in the shared blood-red palette. */
.alita-intro{position:fixed;inset:0;box-sizing:border-box;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;overflow:hidden;color:#f1fff8;background:radial-gradient(ellipse at 50% 35%,#10382a 0%,#0d1813 45%,#080f0c 85%);font-family:Arial,Helvetica,sans-serif;opacity:1;transition:opacity .55s ease,filter .55s ease}
.alita-intro::backdrop{background:#080f0c}.alita-intro canvas,.alita-intro-vignette{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.alita-intro-vignette{background:repeating-linear-gradient(0deg,transparent,transparent 3px,#00000012 4px);box-shadow:inset 0 0 150px #0006}
.alita-intro-top,.alita-intro-bottom{position:absolute;left:6%;right:6%;display:flex;align-items:center;justify-content:space-between;gap:24px}.alita-intro-top{top:6%;font-size:10px;letter-spacing:.22em;color:#a3bfb1}.alita-intro-top i{display:inline-block;width:5px;height:5px;background:#41d3a4;border-radius:50%;margin-right:10px;box-shadow:0 0 12px #41d3a4}
.alita-intro-copy{position:absolute;top:calc(51% - 75px);left:0;width:100%;text-align:center;pointer-events:none}.alita-intro-copy h1{font-size:clamp(68px,14vw,148px);line-height:1;margin:0;font-weight:800;letter-spacing:.13em;padding-left:.13em;color:#f1fff8;opacity:0;animation:alita-word 4.3s ease forwards;text-shadow:0 0 48px #41d3a435}.alita-intro-kicker{margin:0 0 25px;color:#a9e3c4;font-size:9px;letter-spacing:.3em;opacity:0;animation:alita-detail 4.3s ease forwards}.alita-intro-subtitle{font-size:clamp(12px,2vw,15px);letter-spacing:.12em;color:#acc6b9;margin:28px 20px 0;opacity:0;animation:alita-detail 4.3s ease .15s forwards}
.alita-intro-bottom{bottom:7%}.alita-intro-caption{font-size:9px;letter-spacing:.22em;color:#8ca599}.alita-intro-track{height:1px;width:clamp(120px,24vw,280px);background:#ffffff20;margin-top:17px;overflow:hidden}.alita-intro-track i{display:block;width:100%;height:100%;background:#65dfb0;transform-origin:left;animation:alita-progress 4.3s linear forwards}.alita-intro-bottom button{min-height:44px;border:1px solid #ffffff25;background:#ffffff05;border-radius:30px;padding:0 21px;color:#c7dcd1;font:12px Arial;cursor:pointer}.alita-intro-bottom button:hover{background:#ffffff12;border-color:#65dfb0}.alita-intro-bottom button:focus-visible{outline:2px solid #94efc1;outline-offset:5px}.alita-intro-bottom button span{margin-left:20px}.alita-intro-leaving{opacity:0;filter:blur(7px);pointer-events:none}
@keyframes alita-word{0%,32%{opacity:0;filter:blur(10px);transform:scale(1.035)}56%,100%{opacity:1;filter:blur(0);transform:scale(1)}}@keyframes alita-detail{0%,45%{opacity:0;transform:translateY(7px)}65%,100%{opacity:1;transform:translateY(0)}}@keyframes alita-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media(max-width:600px){.alita-intro-top>span:last-child{display:none}.alita-intro-copy{top:calc(51% - 40px)}.alita-intro-kicker{font-size:7px;letter-spacing:.2em;margin-bottom:20px}.alita-intro-subtitle{letter-spacing:.04em;margin-top:22px}.alita-intro-bottom button{padding:0 14px}.alita-intro-caption{font-size:7px}}
@media(prefers-reduced-motion:reduce){.alita-intro,.alita-intro *{animation:none!important;transition:none!important}.alita-intro-copy h1,.alita-intro-kicker,.alita-intro-subtitle{opacity:1}.alita-intro-track i{transform:none}}

/* Blood-red brand: subdued surfaces and edges; market direction keeps its meaning. */
html{background:var(--ui-bg);scrollbar-color:#552334 var(--ui-bg)}
body.platform-page{background:radial-gradient(ellipse at 65% 0%,#2b0c1538,transparent 55%),var(--ui-bg)}
alita-sidebar .platform-sidebar{border-right:1px solid #ffffff06}alita-sidebar .platform-brand-mark{background:var(--ui-accent-soft);color:#ff8b9d;border:1px solid #b6243a38}alita-sidebar nav a[aria-current]{background:var(--ui-accent-soft);color:#fff0f4;box-shadow:inset 2px 0 var(--ui-accent)}alita-sidebar nav a[aria-current] .platform-nav-icon{color:#ff8599}
.platform-page input,.platform-page select,.platform-page textarea{accent-color:var(--ui-accent)}.platform-page input::placeholder,.platform-page textarea::placeholder{color:#947b87}.platform-page button:hover:not(:disabled){filter:brightness(1.12)}.platform-page .ui-button.secondary{color:var(--ui-muted)}
.platform-page .positive,.platform-page .long,.platform-page .pnl-positive{color:var(--ui-positive)}.platform-page .negative,.platform-page .short,.platform-page .pnl-negative{color:var(--ui-negative)}
.platform-page .card-cover strong{color:var(--ui-text)}.platform-page .wallet-chart-empty,.platform-page .trade-duration{color:var(--ui-muted)}.platform-page .demo-pill{background:var(--ui-raised);color:var(--ui-muted);border-color:var(--ui-border)}
.platform-page .ui-status{background:var(--ui-raised);color:var(--ui-muted)}.platform-page .ui-status[data-status=live],.platform-page .ui-status[data-status=connected]{background:var(--ui-positive-soft);color:var(--ui-positive)}
.platform-page .ui-dialog::backdrop,.platform-page dialog:not(.alita-intro)::backdrop{background:#080408bb;backdrop-filter:blur(6px)}.platform-page .ui-data-list tr:hover td{background:var(--ui-raised)}

.platform-page main a:not([class]){color:var(--ui-link)}

/* Shared top navigation. Keep the custom element name for existing page integrations. */
:root{--ui-sidebar-width:0px;--ui-topbar-height:80px}
alita-sidebar{position:sticky;top:0;z-index:45;background:#10090eee;backdrop-filter:blur(16px);border-bottom:1px solid #ffffff06}
alita-sidebar .platform-topbar{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:28px;max-width:1500px;margin:0 auto;padding:17px 36px;min-height:var(--ui-topbar-height);border:0;background:none;color:var(--ui-text)}
alita-sidebar .platform-brand{padding:0;font-size:23px;flex-shrink:0}alita-sidebar .platform-brand small{font-size:7px;letter-spacing:1.6px}alita-sidebar nav{display:flex;gap:6px;align-items:center}alita-sidebar nav a{min-height:44px;padding:11px 18px;gap:9px}alita-sidebar nav a[aria-current]{box-shadow:inset 0 -2px var(--ui-accent);background:#38121e88}alita-sidebar .platform-lock{width:auto;flex-shrink:0;color:var(--ui-muted);border-color:var(--ui-border);min-height:40px;padding:10px 14px}
.platform-page>main,.platform-page>.app-shell>.live-room,.platform-overview>main{margin-left:0;margin-right:auto;padding:36px;max-width:1500px;margin-inline:auto}.platform-overview #analysis-panel{left:0;top:var(--ui-topbar-height)}.platform-overview .room-header{top:var(--ui-topbar-height)}
@media(max-width:900px){alita-sidebar .platform-topbar{padding:14px 18px;gap:12px;flex-wrap:wrap}alita-sidebar .platform-topbar nav{order:3;width:100%;justify-content:center;gap:4px}alita-sidebar nav a{justify-content:center;padding:10px 14px;flex:1;font-size:12px;gap:6px}alita-sidebar .platform-nav-icon{font-size:15px;width:16px}.platform-page>main,.platform-page>.app-shell>.live-room,.platform-overview>main{padding:28px 18px;margin-left:0}.platform-page.account-detail-page>.app-shell>.live-room{padding-top:24px}:root{--ui-topbar-height:126px}}
@media(max-width:380px){alita-sidebar nav a{padding:10px 7px;font-size:11px}alita-sidebar .platform-nav-icon{display:none}}

@media(max-width:900px){alita-sidebar .platform-topbar nav{min-width:0}alita-sidebar nav a{padding:10px 8px;min-width:0;gap:5px}}

/* All workspace destinations, including locking, live in one compact menu. */
:root{--ui-topbar-height:80px}
alita-sidebar .platform-topbar{flex-wrap:nowrap;position:relative}
alita-sidebar .platform-menu{position:relative;margin:0;padding:0;border:0;background:none;box-shadow:none;flex-shrink:0}
alita-sidebar .platform-burger{display:grid;place-items:center;width:44px;height:44px;box-sizing:border-box;padding:0;border:1px solid #ffffff10;border-radius:10px;background:#ffffff03;color:#ead6df;cursor:pointer;list-style:none}
alita-sidebar .platform-burger::-webkit-details-marker{display:none}alita-sidebar .platform-burger::marker{content:''}alita-sidebar .platform-burger:focus-visible{outline:2px solid var(--ui-link);outline-offset:3px}alita-sidebar .platform-menu[open] .platform-burger{background:var(--ui-accent-soft);color:#ffb5c3}
alita-sidebar .platform-menu-panel{position:absolute;top:calc(100% + 12px);right:0;z-index:50;box-sizing:border-box;width:240px;max-width:calc(100vw - 36px);padding:10px;background:#1a0d14;border:1px solid #ffffff0d;border-radius:14px;box-shadow:0 16px 50px #0008}
alita-sidebar .platform-menu-panel nav{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;width:100%;gap:4px}
alita-sidebar .platform-menu-panel nav a{justify-content:flex-start;flex:none;padding:12px 14px;font-size:13px;gap:12px;min-height:44px}
alita-sidebar .platform-menu-panel .platform-nav-icon{display:inline-block;width:20px;font-size:17px}
alita-sidebar .platform-menu-panel .platform-lock{display:block;width:100%;text-align:left;margin-top:10px;padding:12px 14px;border:0;border-top:1px solid #ffffff10;border-radius:0;color:#f08a9d;min-height:44px}
@media(max-width:900px){:root{--ui-topbar-height:72px}alita-sidebar .platform-topbar{min-height:72px;padding:14px 18px}}

/* Shared focus theme across the workspace. */
:root{--ui-bg:#0c0d0f;--ui-surface:#151619;--ui-raised:#1b1d21;--ui-text:#f4f4f6;--ui-muted:#9698a7;--ui-border:#ffffff0c;--ui-accent:#d34c69;--ui-accent-soft:#2a161e;--ui-link:#f18aa3;--ui-navy:#0c0d0f;--ui-radius:12px}
body.platform-page{background:var(--ui-bg)}
alita-sidebar{background:#0c0d0f;border-bottom:1px solid #ffffff0a}
alita-sidebar .platform-topbar{max-width:1680px;padding:18px 48px;gap:24px}
alita-sidebar .platform-brand{color:#f06c85;font-size:15px;letter-spacing:.2em;font-weight:600;white-space:nowrap}
alita-sidebar .platform-menu-panel{background:#16171b;border-color:#ffffff12}
alita-sidebar .platform-burger{background:#ffffff02;color:#b8b8c4}
alita-sidebar .focus-navigation{display:flex;flex-direction:row;justify-content:center;gap:22px;margin-left:auto}
alita-sidebar .focus-navigation a{color:#9093a3;font-size:14px;border-radius:0;background:none;padding:18px 4px;min-height:44px}
alita-sidebar .focus-navigation a[aria-current]{color:#f4f4f6;box-shadow:inset 0 -3px #f16b8b}
.platform-page>main,.platform-page>.app-shell>.live-room{max-width:1680px;padding:44px 48px 64px}
.platform-page .ui-page-heading h1{font-size:clamp(30px,3.4vw,44px);font-weight:600;letter-spacing:-.04em}
.platform-page .ui-empty-state{background:linear-gradient(135deg,#191a1d,#121315);border-style:solid;border-radius:16px}
.platform-page .ui-data-list td{border-color:#ffffff09}
@media(max-width:900px){alita-sidebar .platform-topbar{padding:14px 24px;flex-wrap:wrap;gap:12px}alita-sidebar .platform-brand{font-size:12px;letter-spacing:.16em;flex-shrink:1}alita-sidebar .focus-navigation{order:3;width:100%;margin:0;gap:20px}alita-sidebar .focus-navigation a{flex:0 0 auto;min-width:max-content;padding:10px 4px}.platform-page>main,.platform-page>.app-shell>.live-room{padding:30px 24px 44px}}
@media(max-width:380px){alita-sidebar .platform-topbar{padding-inline:16px}alita-sidebar .platform-brand{font-size:11px;letter-spacing:.12em}.platform-page>main,.platform-page>.app-shell>.live-room{padding-inline:16px}}

/* Shared phone treatment, matching the wallet's blood-red card. */
@media(max-width:700px){
 body.platform-page:not(.platform-home){--ui-accent:#a20c28;--ui-accent-soft:#390e1c;--ui-link:#f39aaf;--ui-radius:14px}
 .platform-page:not(.platform-home) alita-sidebar{display:block;position:relative;background:linear-gradient(125deg,#a20c28,#80091f 55%,#510819);border:0;border-radius:0 0 20px 20px;box-shadow:0 12px 32px #39061030;backdrop-filter:none}
 .platform-page:not(.platform-home) alita-sidebar .platform-topbar{padding:40px 20px 20px;margin:0;min-height:0;gap:16px;background:none}
 .platform-page:not(.platform-home) alita-sidebar .platform-brand{color:#fff;font-size:12px;letter-spacing:.16em}
 .platform-page:not(.platform-home) alita-sidebar .platform-burger{color:#fff;background:#9b102b;border-color:#ffffff30}
 .platform-page:not(.platform-home) alita-sidebar .platform-menu[open] .platform-burger{background:#b51938;color:#fff}
 .platform-page:not(.platform-home) alita-sidebar .focus-navigation{justify-content:flex-start;gap:22px;margin:0;padding-top:2px}
 .platform-page:not(.platform-home) alita-sidebar .focus-navigation a{font-size:13px;color:#efbec8;background:none}
 .platform-page:not(.platform-home) alita-sidebar .focus-navigation a[aria-current]{color:#fff;box-shadow:inset 0 -2px #fff}
 .platform-page:not(.platform-home) alita-sidebar .platform-menu-panel{background:#850b24;border-color:#ffffff26;box-shadow:0 16px 40px #35030d66}
 .platform-page:not(.platform-home) alita-sidebar .platform-menu-panel nav a{color:#fff}
 .platform-page:not(.platform-home) alita-sidebar .platform-menu-panel nav a:hover,
 .platform-page:not(.platform-home) alita-sidebar .platform-menu-panel nav a[aria-current]{background:#ac1734;color:#fff;box-shadow:none}
 .platform-page:not(.platform-home) alita-sidebar .platform-nav-icon{color:#ffd6df}
 .platform-page:not(.platform-home) alita-sidebar .platform-menu-panel .platform-lock{color:#fff;border-color:#ffffff30}
 .platform-page:not(.platform-home)>main,
 .platform-page:not(.platform-home)>.app-shell>.live-room{padding:28px 20px 40px;min-width:0}
 .platform-page:not(.platform-home) .ui-page-heading{align-items:flex-start;flex-wrap:wrap;gap:16px;margin-bottom:24px}
 .platform-page:not(.platform-home) .ui-page-heading h1{font-size:28px;letter-spacing:-.04em;margin:8px 0 10px}
 .platform-page:not(.platform-home) .ui-page-heading p{font-size:13px;line-height:1.6}
 .platform-page:not(.platform-home) .ui-page-heading .eyebrow{font-size:10px;letter-spacing:.12em;color:#c18e9c}
 .platform-page:not(.platform-home) .ui-button{min-height:44px;border-radius:8px;padding:12px 18px}
 .platform-page:not(.platform-home) :is(.settings-card,.begin-panel,.activity-panel){padding:20px;margin:20px 0;border-radius:14px;border-color:#ffffff0b;background:#151619;min-width:0}
 .platform-page:not(.platform-home) :is(.settings-card,.begin-panel,.activity-panel) h2{font-size:19px;letter-spacing:-.02em}
 .platform-page:not(.platform-home) :is(.settings-card,.begin-panel,.activity-panel) p{font-size:13px;line-height:1.6}
 .platform-page:not(.platform-home) .create-option{flex-direction:column;align-items:stretch;gap:18px;padding:18px;margin-top:18px;border-radius:10px}
 .platform-page:not(.platform-home) .create-option h3{font-size:17px}
 .platform-page:not(.platform-home) .ui-list-toolbar{flex-wrap:wrap;gap:14px}
 .platform-page:not(.platform-home) .ui-list-toolbar label{width:100%;min-width:0}
 .platform-page:not(.platform-home) .ui-list-toolbar input{box-sizing:border-box;width:100%;min-height:44px;border-radius:8px}
 .platform-page:not(.platform-home) .ui-dialog{padding:22px 18px;border-radius:20px;width:calc(100vw - 24px)}
 .platform-page:not(.platform-home) .ui-form{grid-template-columns:minmax(0,1fr)}
 .platform-page:not(.platform-home) .ui-form :is(input,select,textarea){min-height:44px;border-radius:8px}
 .platform-page.platform-accounts .accounts-wallet-summary,
 .platform-page.account-detail-page .account-focus-layout .account-wallet-hero,
 .platform-page.market-detail-page .market-focus-layout .market-price-hero{padding:24px;gap:14px;background:linear-gradient(125deg,#a20c28,#80091f 55%,#510819);border:0;border-radius:0 0 20px 20px;color:#fff}
 .platform-page.platform-accounts .accounts-wallet-summary::before{color:#f6cbd3;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
 .platform-page.platform-accounts .accounts-wallet-summary>small,
 .platform-page.platform-accounts .accounts-wallet-equivalents,
 .platform-page.account-detail-page .account-wallet-hero .wallet-equivalents,
 .platform-page.market-detail-page .market-focus-price-label,
 .platform-page.market-detail-page .market-focus-price-note{color:#f6cbd3}
 .platform-page.platform-accounts .accounts-wallet-summary #accounts-wallet-change{color:#fff1f4}
 .platform-page.platform-accounts .accounts-wallet-summary #accounts-wallet-change.positive{color:#baf1d8}
 .platform-page.platform-accounts .accounts-wallet-summary #accounts-wallet-change.negative{color:#ffdbb9}
 .platform-page.platform-accounts .account-summary-card{border-radius:14px;border-color:#ffffff0b;overflow:hidden}
 .platform-page.platform-accounts .account-summary-body{padding:20px}
 .platform-page.platform-accounts .account-summary-actions :is(a,button){min-height:44px;display:inline-flex;align-items:center}
 .platform-page.account-detail-page .account-wallet-hero>strong,
 .platform-page.market-detail-page .market-focus-layout .market-price-hero>strong{font-size:clamp(28px,9vw,46px);overflow-wrap:anywhere}
}

/* Wallet summary: deep red debit-card finish. */
.platform-page.platform-home .home-market-layout>.home-wallet,
.platform-page.platform-home main.home-market-layout>.welcome-wallet-summary,
.platform-page.account-detail-page .account-focus-layout .account-wallet-hero,
.platform-page.platform-accounts .accounts-wallet-summary{
 background:radial-gradient(ellipse at 100% 0%,#ffb29340,transparent 65%),linear-gradient(135deg,#ff5865 0%,#f34458 55%,#df354f 100%);
 border:1px solid #ffb2bc28;border-radius:20px;box-shadow:0 12px 32px #25071024;color:#fff5f7;
}
.platform-page.platform-home .home-market-layout .home-wallet-label,
.platform-page.platform-home .welcome-wallet-summary>span,
.platform-page.account-detail-page .account-focus-wallet-label{color:#f3c9d1}
.platform-page.platform-home .home-market-layout .home-wallet-equivalents,
.platform-page.account-detail-page .account-focus-layout .wallet-equivalents,
.platform-page.platform-home .welcome-wallet-summary .welcome-wallet-metrics{border-color:#ffd2da30;color:#ffe5eb}
.platform-page.platform-home .home-market-layout .home-wallet-equivalents>span,
.platform-page.account-detail-page .account-focus-layout .wallet-equivalents>span{color:#ffe5eb}
.platform-page.platform-home .home-market-layout #home-wallet-note,
.platform-page.platform-home .welcome-wallet-summary small,
.platform-page.platform-home .welcome-wallet-metrics span,
.platform-page.platform-accounts #accounts-wallet-note{color:#edc3ce}
.platform-page.platform-home .home-wallet-account-link,
.platform-page.platform-home .welcome-wallet-summary #login-open,
.platform-page.account-detail-page .account-focus-layout .account-manage-link{color:#fff0f5!important}
.platform-page.platform-home .home-wallet-amount>span,
.platform-page.account-detail-page .account-focus-layout .account-wallet-hero>strong::after{color:#f3c9d1}

.platform-page.platform-home .home-market-layout>.home-wallet .positive,
.platform-page.account-detail-page .account-focus-layout .account-wallet-hero>span.positive,
.platform-page.platform-home .welcome-wallet-summary [data-direction=up]{color:#fff5f7}

/* Black typography on the coral wallet cards. */
.platform-page.platform-home .home-market-layout>.home-wallet,
.platform-page.platform-home main.home-market-layout>.welcome-wallet-summary,
.platform-page.account-detail-page .account-focus-layout .account-wallet-hero,
.platform-page.platform-accounts .accounts-wallet-summary,
.platform-page.platform-home .home-market-layout>.home-wallet *,
.platform-page.platform-home main.home-market-layout>.welcome-wallet-summary *,
.platform-page.account-detail-page .account-focus-layout .account-wallet-hero *,
.platform-page.platform-accounts .accounts-wallet-summary *{color:#111111!important;text-shadow:none!important}
.platform-page.platform-home .home-wallet-amount>span,
.platform-page.account-detail-page .account-focus-layout .account-wallet-hero>strong::after{color:#111111!important}

/* White typography with clear contrast on the coral wallet cards. */
.platform-page.platform-home .home-market-layout>.home-wallet,
.platform-page.platform-home main.home-market-layout>.welcome-wallet-summary,
.platform-page.account-detail-page .account-focus-layout .account-wallet-hero,
.platform-page.platform-accounts .accounts-wallet-summary,
.platform-page.platform-home .home-market-layout>.home-wallet *,
.platform-page.platform-home main.home-market-layout>.welcome-wallet-summary *,
.platform-page.account-detail-page .account-focus-layout .account-wallet-hero *,
.platform-page.platform-accounts .accounts-wallet-summary *{color:#ffffff!important;text-shadow:none!important}
.platform-page.platform-home .home-wallet-amount>span,
.platform-page.account-detail-page .account-focus-layout .account-wallet-hero>strong::after{color:#ffffff!important}

/* Slightly tighter spacing in the coral wallet summaries. */
.platform-page.platform-home .home-market-layout>.home-wallet,
.platform-page.platform-home main.home-market-layout>.welcome-wallet-summary,
.platform-page.account-detail-page .account-focus-layout .account-wallet-hero,
.platform-page.platform-accounts .accounts-wallet-summary{padding:24px;gap:16px}
.platform-page.platform-home .home-market-layout .home-wallet-equivalents,
.platform-page.account-detail-page .account-focus-layout .wallet-equivalents,
.platform-page.platform-home .welcome-wallet-summary .welcome-wallet-metrics{padding-block:18px;gap:12px;margin-top:0}
@media(max-width:700px){
 .platform-page.platform-home .home-market-layout>.home-wallet,
 .platform-page.platform-home main.home-market-layout>.welcome-wallet-summary,
 .platform-page.account-detail-page .account-focus-layout .account-wallet-hero,
 .platform-page.platform-accounts .accounts-wallet-summary{padding:20px;gap:12px}
 .platform-page.platform-home .home-market-layout .home-wallet-equivalents,
 .platform-page.account-detail-page .account-focus-layout .wallet-equivalents,
 .platform-page.platform-home .welcome-wallet-summary .welcome-wallet-metrics{padding-block:14px;gap:10px}
}

/* A single top navigation row across workspace screens. */
body.platform-page alita-sidebar .platform-topbar{display:flex;align-items:center;flex-wrap:nowrap;gap:16px}
body.platform-page alita-sidebar .focus-navigation{order:0;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;width:auto;margin:0 0 0 28px;gap:22px;flex:1;min-width:0}
body.platform-page alita-sidebar .focus-navigation a{flex:0 0 auto;white-space:nowrap}
body.platform-page alita-sidebar .platform-menu{margin-left:auto;flex:0 0 auto}
@media(max-width:900px){
 body.platform-page alita-sidebar .platform-topbar{padding:12px 16px;gap:10px;min-height:68px}
 body.platform-page alita-sidebar .platform-brand{font-size:11px;letter-spacing:.12em;flex:0 0 auto}
 body.platform-page alita-sidebar .focus-navigation{order:0;width:auto;margin:0;gap:10px;flex:1;justify-content:center}
 body.platform-page alita-sidebar .focus-navigation a{font-size:11px;padding:12px 0;min-width:0;min-height:44px}
 body.platform-page alita-sidebar .home-focus-live{display:none}
}
@media(max-width:400px){body.platform-page alita-sidebar .platform-topbar{padding-inline:10px;gap:7px}body.platform-page alita-sidebar .platform-brand{font-size:10px;letter-spacing:.08em}body.platform-page alita-sidebar .focus-navigation{gap:7px}body.platform-page alita-sidebar .focus-navigation a{font-size:10px}}

.alita-chart-window-toolbar{display:flex;justify-content:flex-end;align-items:center;min-height:34px;margin-bottom:8px;flex:0 0 auto;order:-1}
.alita-chart-expand,.alita-chart-fullscreen-toolbar button{font:12px inherit;color:#c4b5cb;background:#ffffff05;border:1px solid #ffffff16;border-radius:7px;padding:7px 12px;min-height:36px;cursor:pointer}
.alita-chart-expand:focus-visible,.alita-chart-fullscreen-toolbar button:focus-visible{outline:2px solid #f18aa3;outline-offset:3px}
body.alita-chart-focus-open{overflow:hidden}
.alita-chart-fullscreen-dialog{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:16px 24px;border:0;border-radius:0;background:#0c0d0f;color:#f4f4f6;box-sizing:border-box;overflow:auto}
.alita-chart-fullscreen-dialog::backdrop{background:#0c0d0f}
.alita-chart-fullscreen-content{display:flex;flex-direction:column;width:100%;height:100%;min-height:0}
.alita-chart-fullscreen-toolbar{display:flex;justify-content:flex-end;flex:0 0 auto;margin-bottom:8px}
.alita-chart-fullscreen-dialog .alita-chart-expanded{flex:1;display:flex!important;flex-direction:column;min-width:0;min-height:0;width:100%!important;height:auto!important;max-height:none;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;align-self:stretch!important;position:relative}
.alita-chart-fullscreen-dialog .alita-chart-window-toolbar{display:none}
.alita-chart-fullscreen-dialog .alita-chart-expanded>svg{flex:1;width:100%;min-height:180px;max-height:calc(100dvh - 210px)}
.alita-chart-fullscreen-dialog .alita-chart-expanded>.tradingview-widget-container{flex:1;min-height:240px;height:100%!important}
.alita-chart-fullscreen-dialog .alita-chart-expanded .wallet-history-scroll svg{height:max(280px,calc(100dvh - 220px))!important}
.alita-chart-fullscreen-dialog .alita-chart-expanded .alita-chart-intervals{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.alita-chart-fullscreen-dialog .alita-chart-expanded .alita-chart-intervals button{min-height:40px}
@media(max-width:700px){.alita-chart-expand{min-height:44px}.alita-chart-fullscreen-dialog{padding:12px}.alita-chart-fullscreen-toolbar button{min-height:44px}}

body.platform-page .public-topbar{gap:16px;flex-wrap:nowrap}
.public-focus-nav{display:flex;align-items:center;gap:22px;flex:1;margin-left:28px}
.public-focus-nav a{font-size:13px;font-weight:400;letter-spacing:0;color:#9698a7;text-decoration:none;min-height:44px;display:flex;align-items:center;white-space:nowrap}
.public-focus-nav a[aria-current]{color:#f4f4f6;box-shadow:inset 0 -2px #f18aa3}
@media(max-width:900px){body.platform-page .public-topbar{padding:12px 16px;font-size:11px;letter-spacing:.12em;gap:10px}.public-focus-nav{margin:0;justify-content:center;gap:10px}.public-focus-nav a{font-size:11px}.public-topbar .public-live{display:none}}
@media(max-width:400px){body.platform-page .public-topbar{padding-inline:10px;font-size:10px;gap:7px}.public-focus-nav{gap:7px}.public-focus-nav a{font-size:10px}}
@media(max-width:360px){body.platform-page alita-sidebar .platform-topbar{padding-inline:8px;gap:5px}body.platform-page alita-sidebar .platform-brand{font-size:9px;letter-spacing:.04em;max-width:90px}body.platform-page alita-sidebar .focus-navigation{gap:5px;margin-left:0;min-width:0}body.platform-page alita-sidebar .focus-navigation a{font-size:9px;padding-inline:0}body.platform-page alita-sidebar .platform-menu{margin-left:0}}
.platform-page.account-detail-page .account-focus-layout .account-chart-card{overflow:hidden;max-width:100%}
@media(max-width:900px){body.platform-page alita-sidebar .platform-topbar .focus-navigation{margin:0;gap:10px;padding-top:0;width:auto;min-width:0;justify-content:center}body.platform-page alita-sidebar .platform-topbar .focus-navigation a{font-size:11px;padding:12px 0;min-width:0}}
@media(max-width:400px){body.platform-page alita-sidebar .platform-topbar .focus-navigation{gap:7px}body.platform-page alita-sidebar .platform-topbar .focus-navigation a{font-size:10px}}
@media(max-width:360px){body.platform-page alita-sidebar .platform-topbar .focus-navigation{gap:5px}body.platform-page alita-sidebar .platform-topbar .focus-navigation a{font-size:9px}}

/* Touch-friendly phone/tablet shell and chart controls. */
@media(pointer:coarse){
 .alita-chart-intervals button,.alita-chart-expand,.alita-chart-fullscreen-toolbar button,.platform-burger,.ui-button,.row-action{min-height:44px!important}
 .focus-navigation a,.public-focus-nav a{min-height:44px}
 .alita-chart-fullscreen-dialog{padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
}
@media(min-width:701px) and (max-width:1100px){
 body.platform-page>main,body.platform-page>.app-shell>.live-room{padding:28px 24px 44px}
 body.platform-page alita-sidebar .platform-topbar{padding-inline:24px}
 body.platform-page alita-sidebar .platform-topbar .focus-navigation a{font-size:13px}
 .ui-dialog,dialog{max-width:calc(100vw - 48px)}
}
@media(orientation:landscape) and (max-height:600px){
 .alita-chart-fullscreen-dialog .alita-chart-expanded>svg{max-height:none;min-height:140px}
 .alita-chart-fullscreen-dialog .alita-chart-expanded .alita-chart-intervals{margin:4px 0}
 .alita-chart-fullscreen-dialog .alita-chart-expanded h2,.alita-chart-fullscreen-dialog .alita-chart-expanded h3{font-size:20px;margin-block:0}
}

/* Account wallet colour overrides the shared coral finish. */
.platform-page.account-detail-page .account-focus-layout .account-wallet-hero{background:#080808}

/* Match the public login wallet card to the black account cards. */
.platform-page.platform-home main.home-market-layout>.welcome-wallet-summary{background:#080808}

/* Full six-hour wallet dial sits beside the existing public summary card. */
body.platform-page.platform-home main.home-market-layout.has-wallet-dial>.welcome-wallet-summary{grid-column:1;grid-row:2;align-self:start}
body.platform-page.platform-home main.home-market-layout.has-wallet-dial>.welcome-wallet-dial{grid-column:2;grid-row:2;align-self:start;min-width:0;padding:12px 0 20px}
.welcome-wallet-dial h2{font-size:22px;letter-spacing:-.03em;margin:0 0 12px}.welcome-wallet-dial h2>span{font-size:12px;font-weight:400;color:#9698a7;margin-left:12px;letter-spacing:0}
.wallet-dial-art{max-width:600px;margin:auto}.wallet-dial-art svg{display:block;width:100%;height:auto}.wallet-dial-art g[role=button]{cursor:pointer;outline:none}.wallet-dial-art g[role=button]:focus-visible circle:last-child{stroke:#fff;stroke-width:3}
.welcome-wallet-dial p{font-size:11px;color:#9698a7;line-height:1.7;text-align:center;margin:8px 0}.wallet-dial-detail{min-height:38px}.wallet-dial-key{display:flex;gap:18px;justify-content:center}.wallet-dial-key span:nth-child(1){color:#41d3a4}.wallet-dial-key span:nth-child(2){color:#ff7289}
body.platform-page.platform-home main.home-market-layout.has-wallet-dial .alita-movement{grid-column:1/-1;grid-row:3}
body.platform-page.platform-home main.home-market-layout.has-wallet-dial .alita-tracked-heading{grid-column:1/-1;grid-row:4}
body.platform-page.platform-home main.home-market-layout.has-wallet-dial .alita-market-grid{grid-column:1/-1;grid-row:5}
body.platform-page.platform-home main.home-market-layout.has-wallet-dial .public-actions{grid-row:6}
@media(max-width:700px){
 body.platform-page.platform-home main.home-market-layout.has-wallet-dial>.welcome-wallet-dial{grid-column:1;grid-row:3}
 body.platform-page.platform-home main.home-market-layout.has-wallet-dial .alita-movement{grid-row:4}
 body.platform-page.platform-home main.home-market-layout.has-wallet-dial .alita-tracked-heading{grid-row:5}
 body.platform-page.platform-home main.home-market-layout.has-wallet-dial .alita-market-grid{grid-row:6}
 body.platform-page.platform-home main.home-market-layout.has-wallet-dial .public-actions{grid-row:7}
}

/* Align tracked market movement directly below the circular wallet chart. */
@media(min-width:701px){
 body.platform-page.platform-home main.home-market-layout.has-wallet-dial .alita-movement{grid-column:2;grid-row:3}
}

/* Wallet range scale: sampled daily low, current position, and daily high. */
.platform-page.platform-home .welcome-wallet-range{margin:8px 0 2px;width:100%}
.platform-page.platform-home .wallet-range-labels{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#9698a7}
.platform-page.platform-home .wallet-range-labels>span:last-child{text-align:right}
.platform-page.platform-home .wallet-range-labels b{display:block;font-size:13px;color:#f4f4f6;font-weight:600;margin-top:4px;font-variant-numeric:tabular-nums}
.wallet-range-track{position:relative;height:5px;margin:15px 6px 0;border-radius:8px;background:linear-gradient(90deg,#70535e,#9b8da0,#b9d8cd)}
.wallet-range-track i{position:absolute;top:50%;width:11px;height:11px;border-radius:50%;background:#fff;border:2px solid #080808;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #ffffff60}
.platform-page.platform-home .welcome-wallet-range small{margin-top:9px;font-size:10px;color:#9698a7}

/* Smooth live wallet range updates with a restrained marker pulse. */
.wallet-range-track i{
 transition:left 1.2s cubic-bezier(.22,.61,.36,1);
}
.wallet-range-track i::after{
 content:'';position:absolute;inset:-5px;border:1px solid #ffffff80;
 border-radius:50%;pointer-events:none;animation:wallet-range-pulse 2.4s ease-out infinite;
}
@keyframes wallet-range-pulse{0%{transform:scale(.65);opacity:.6}80%,100%{transform:scale(1.5);opacity:0}}
@media(prefers-reduced-motion:reduce){.wallet-range-track i{transition:none}.wallet-range-track i::after{animation:none;display:none}}

/* Public trading performance and market movement use separate grid rows. */
body.platform-page.platform-home main.home-market-layout.has-public-performance>.public-wallet-performance{grid-column:2;grid-row:2;min-width:0;overflow:hidden;align-self:start}
body.platform-page.platform-home main.home-market-layout.has-public-performance .alita-movement{grid-column:2;grid-row:3}
body.platform-page.platform-home main.home-market-layout.has-public-performance .alita-tracked-heading{grid-column:2;grid-row:4}
body.platform-page.platform-home main.home-market-layout.has-public-performance .alita-market-grid{grid-column:2;grid-row:5}
body.platform-page.platform-home main.home-market-layout.has-public-performance .public-actions{grid-row:6}
.public-wallet-performance .home-wallet-performance-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:18px 0 12px}
.public-wallet-performance h2{font-size:24px;letter-spacing:-.03em;margin:0}
.public-wallet-performance .home-wallet-performance-controls{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.public-wallet-performance button{background:#ffffff04;color:#d8d7dd;border:1px solid #ffffff12;border-radius:6px;cursor:pointer}
.public-wallet-performance button[aria-pressed=true]{background:#8b435533;border-color:#a4566b88}
.public-wallet-performance svg{background:transparent!important;border:0!important;border-radius:0!important}
.public-wallet-performance .account-chart-legend{font-size:11px;color:#9698a7;line-height:1.7}
.public-wallet-performance .wallet-candle-in-progress{filter:drop-shadow(0 0 4px currentColor)}
@media(max-width:700px){
 body.platform-page.platform-home main.home-market-layout.has-public-performance>.public-wallet-performance{grid-column:1;grid-row:3}
 body.platform-page.platform-home main.home-market-layout.has-public-performance .alita-movement{grid-column:1;grid-row:4}
 body.platform-page.platform-home main.home-market-layout.has-public-performance .alita-tracked-heading{grid-column:1;grid-row:5}
 body.platform-page.platform-home main.home-market-layout.has-public-performance .alita-market-grid{grid-column:1;grid-row:6}
 body.platform-page.platform-home main.home-market-layout.has-public-performance .public-actions{grid-row:7}
}

/* Editorial overview. UI-only: the original live data consumers remain mounted. */
body.platform-page.platform-home.editorial-overview{background:#0c0d0f;color:#f4f1f4}
body.platform-page.platform-home.editorial-overview>main.editorial-main{display:block!important;width:100%;max-width:none;margin:0;padding:0!important}
body.editorial-overview .editorial-main>:not(.ed-hero):not(.ed-dark){display:none!important}
body.editorial-overview .ed-inner{width:100%;max-width:960px;margin:0 auto;padding-inline:28px;box-sizing:border-box}
body.editorial-overview .public-topbar{background:#fffaf8;border:0;color:#a82c47;padding:24px max(28px,calc((100vw - 904px)/2));box-sizing:border-box;font-size:13px}
body.editorial-overview .public-focus-nav a{color:#655e65}
body.editorial-overview .public-focus-nav a[aria-current]{color:#171419;box-shadow:inset 0 -2px #b64a65}
body.editorial-overview .public-topbar .public-live{color:#6b626b}
body.editorial-overview .public-topbar .public-live[data-live=true]{color:#18735e}
body.editorial-overview>alita-sidebar{display:block;background:#fffaf8;color:#171419}
body.editorial-overview alita-sidebar .platform-topbar{max-width:960px;background:transparent;padding-inline:28px}
body.editorial-overview alita-sidebar .platform-brand{color:#a82c47}
body.editorial-overview alita-sidebar .focus-navigation a{color:#655e65}
body.editorial-overview alita-sidebar .focus-navigation a[aria-current]{color:#171419}
body.editorial-overview .ed-hero{background:radial-gradient(ellipse at 80% 0%,#f58e8a88,transparent 47%),#fffdfb;color:#171419;padding:40px 0 0;margin:0;overflow:visible}
body.editorial-overview .ed-hero-grid{display:grid;grid-template-columns:270px minmax(0,1fr);gap:65px;align-items:start;padding-top:22px}
body.editorial-overview .ed-intro>p{font-size:15px;line-height:1.8;color:#242027;margin:0}
body.editorial-overview .ed-account-note{font-size:12px;color:#6c636d;border-bottom:1px solid #ddd2d7;padding-bottom:17px;margin:34px 0 24px;line-height:1.6}
body.editorial-overview .ed-range-labels{display:flex;justify-content:space-between;gap:16px;color:#766b75;font-size:12px}
body.editorial-overview .ed-range-labels>span:last-child{text-align:right}
body.editorial-overview .ed-range-labels b{display:block;color:#242027;font-weight:600;font-size:13px;margin-top:5px;white-space:nowrap}
body.editorial-overview .ed-range-track{margin-top:16px;background:linear-gradient(90deg,#b58d9d,#91aba2);height:4px}
body.editorial-overview .ed-range-track i{background:#2d252e;border-color:#fffdfb;box-shadow:0 0 0 1px #a59aa3}
body.editorial-overview .ed-range-track i::after{border-color:#6f4e6680}
body.editorial-overview .ed-intro>small{display:block;font-size:11px;color:#756b75;line-height:1.6;margin-top:12px}
body.editorial-overview .ed-account-action{margin-top:20px}
body.editorial-overview .ed-account-action #login-open,body.editorial-overview .ed-account-link{font-size:13px;color:#a82c47;text-decoration:none;background:none;padding:8px 0;min-height:40px;border:0;display:inline-flex;align-items:center;font-family:inherit;cursor:pointer}
body.editorial-overview .ed-value{text-align:right;min-width:0}
body.editorial-overview .ed-value>span{font-size:14px;color:#756675}
body.editorial-overview .ed-value>strong{display:block;font-size:clamp(46px,6vw,76px);font-weight:650;letter-spacing:-.065em;line-height:1.12;margin:10px 0 20px;color:#121014;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
body.editorial-overview .ed-value-caption{display:flex;justify-content:space-between;border-bottom:1px solid #d9c3cc;padding-bottom:20px;font-size:12px;color:#756675;gap:16px}
body.editorial-overview .ed-value h1{font-size:44px;letter-spacing:-.045em;line-height:1.12;font-weight:550;margin:28px 0 0;color:#171419}
body.editorial-overview .ed-value h1 em{font-style:normal;color:#ba3658}
body.editorial-overview .ed-metric-cards{position:relative;z-index:1;margin-left:335px;margin-top:4px;transform:translateY(52px);display:grid;grid-template-columns:1fr 1.15fr 1.4fr;gap:12px}
body.editorial-overview .ed-metric{display:flex;flex-direction:column;gap:10px;padding:21px 17px;border-radius:9px;min-height:190px;min-width:0;box-shadow:0 12px 30px #1710160c}
body.editorial-overview .ed-metric>span{font-size:12px}
body.editorial-overview .ed-metric>strong{font-size:clamp(17px,2vw,24px);font-weight:600;letter-spacing:-.035em;line-height:1.45;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
body.editorial-overview .ed-metric>small{font-size:11px;line-height:1.5;margin-top:auto;opacity:.85}
body.editorial-overview .ed-metric-light{background:#eee2e9;color:#29202a}
body.editorial-overview .ed-metric-pink{background:linear-gradient(145deg,#ae2d55,#dc839f);color:#fff7fb}
body.editorial-overview .ed-metric-dark{background:linear-gradient(145deg,#312535,#17131b);color:#f7ecf5}
body.editorial-overview .ed-dark{background:radial-gradient(ellipse at 0 15%,#51242224,transparent 30%),#0c0d0f;padding:120px 0 30px}
body.editorial-overview .ed-statement{margin-left:260px;margin-bottom:62px;max-width:550px}
body.editorial-overview .ed-statement>span{font-size:11px;letter-spacing:.13em;color:#d887a3}
body.editorial-overview .ed-statement h2{font-size:44px;line-height:1.1;letter-spacing:-.04em;font-weight:500;margin:20px 0;color:#f7f1f6}
body.editorial-overview .ed-statement p{font-size:14px;line-height:1.8;color:#b4a9b8;margin:0;max-width:430px}
body.editorial-overview .ed-chapter{border-top:1px solid #302731;padding:28px 0 42px;margin:0 0 30px}
body.editorial-overview .ed-chapter-heading{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;align-items:baseline;margin-bottom:27px}
body.editorial-overview .ed-chapter-heading h2{font-size:25px;line-height:1.2;letter-spacing:-.03em;font-weight:550;margin:0}
body.editorial-overview .ed-chapter-heading>span{font-size:11px;color:#b0a5b6}
body.editorial-overview .ed-chapter-heading>span:last-child{text-align:right}
body.editorial-overview .ed-chapter-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:40px;align-items:start}
body.editorial-overview .ed-chart{min-width:0;border-radius:10px;background:#111116;padding:18px 13px;overflow:hidden;color:#f0e9f1}
body.editorial-overview .ed-reason h3{font-size:23px;line-height:1.3;letter-spacing:-.025em;font-weight:500;color:#f7f1f6;margin:0 0 18px}
body.editorial-overview .ed-reason p{font-size:13px;line-height:1.9;color:#b9aebf;margin:0 0 22px}
body.editorial-overview .ed-fact{border-left:2px solid #bd7c9b;padding-left:13px;font-size:12px;line-height:1.8;color:#e6d9e8;margin-top:25px}
body.editorial-overview .ed-chart .home-wallet-performance,body.editorial-overview .ed-chart .alita-movement{width:100%;margin:0;padding:0;border:0;max-height:none;background:transparent;position:relative}
body.editorial-overview .ed-chart .home-wallet-performance-heading{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin:12px 0}
body.editorial-overview .ed-chart .home-wallet-performance-heading>h2{display:none}
body.editorial-overview .ed-chart .home-wallet-performance-controls{display:flex;flex-wrap:wrap;gap:5px;align-items:center}
body.editorial-overview .ed-chart .alita-chart-window-toolbar{position:static!important;margin:0 0 12px;justify-content:flex-end}
body.editorial-overview .ed-chart .alita-movement h3{font-size:17px;letter-spacing:-.02em;margin:0 0 8px}
body.editorial-overview .ed-chart .account-chart-legend{font-size:11px;line-height:1.7;color:#aca0b3}
body.editorial-overview .ed-chart svg{display:block;width:100%}
body.editorial-overview .ed-drawdown-chart text,body.editorial-overview .ed-trades-chart text{fill:#b7aabd;font-family:inherit;font-size:11px}
body.editorial-overview .ed-drawdown-chart,body.editorial-overview .ed-trades-chart{font-size:13px;line-height:1.8;color:#aca0b3;min-height:180px}
body.editorial-overview .ed-assets{border-top:1px solid #302731;margin-top:20px;padding-top:28px}
body.editorial-overview .ed-assets .alita-tracked-heading{font-size:24px;margin:0 0 25px}
body.editorial-overview .ed-assets .alita-market-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;width:100%}
body.editorial-overview .ed-assets .alita-market-card{padding:0!important;border:0!important}
body.editorial-overview .ed-footer{border-top:1px solid #302731;padding-top:20px;margin-top:42px;font-size:11px;color:#9e90a7}
@media(max-width:850px){body.editorial-overview .ed-hero-grid{grid-template-columns:210px minmax(0,1fr);gap:35px}body.editorial-overview .ed-metric-cards{margin-left:245px;gap:9px}body.editorial-overview .ed-metric{padding:17px 12px}body.editorial-overview .ed-value h1{font-size:36px}body.editorial-overview .ed-chapter-grid{gap:25px;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}body.editorial-overview .ed-chapter-heading h2{font-size:22px}body.editorial-overview .ed-statement{margin-left:190px}body.editorial-overview .ed-assets .alita-market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){body.editorial-overview .ed-hero-grid{grid-template-columns:1fr;gap:25px;padding-top:0}body.editorial-overview .ed-inner{padding-inline:22px}body.editorial-overview .ed-intro>p{font-size:14px}body.editorial-overview .ed-value{text-align:left;grid-row:1}body.editorial-overview .ed-value h1{display:none}body.editorial-overview .ed-value>strong{font-size:57px}body.editorial-overview .ed-account-note{margin:20px 0}body.editorial-overview .ed-intro>p{display:none}body.editorial-overview .ed-metric-cards{margin-left:0;margin-top:-5px;gap:8px;transform:translateY(35px)}body.editorial-overview .ed-metric{min-height:170px;padding:15px 10px}body.editorial-overview .ed-metric>strong{font-size:16px}body.editorial-overview .ed-metric>span{font-size:11px}body.editorial-overview .ed-dark{padding-top:85px}body.editorial-overview .ed-statement{margin-left:0;margin-bottom:40px}body.editorial-overview .ed-statement h2{font-size:36px}body.editorial-overview .ed-chapter-grid{grid-template-columns:1fr;gap:26px}body.editorial-overview .ed-chapter-heading{grid-template-columns:1fr auto;gap:14px}body.editorial-overview .ed-chapter-heading>span:nth-child(2){display:none}body.editorial-overview .ed-chart{padding:16px 10px}body.editorial-overview .ed-assets .alita-market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.editorial-overview .public-topbar{padding-inline:22px}body.editorial-overview .public-topbar .public-live{display:none}}
@media(max-width:370px){body.editorial-overview .ed-value>strong{font-size:48px}body.editorial-overview .ed-metric-cards{grid-template-columns:1fr}body.editorial-overview .ed-metric{min-height:100px;gap:6px}body.editorial-overview .ed-metric>strong{font-size:22px}body.editorial-overview .ed-assets .alita-market-grid{grid-template-columns:1fr}}

/* Content-aware metric widths, with one currency label beside account value. */
body.editorial-overview .ed-metric-cards{display:flex;flex-wrap:wrap;align-items:stretch}
body.editorial-overview .ed-metric{flex:1 1 145px;min-width:min(100%,145px)}
body.editorial-overview .ed-metric>strong{font-size:clamp(17px,2vw,24px);overflow-wrap:normal}
@media(max-width:650px){body.editorial-overview .ed-metric{flex-basis:130px;min-height:145px}}
@media(max-width:370px){body.editorial-overview .ed-metric{flex-basis:100%;min-height:100px}}

body.editorial-overview .ed-metric>strong .ed-metric-percent{display:block;font-size:.5em;font-weight:500;letter-spacing:0;line-height:1.6;margin-top:5px}

body.editorial-overview .ed-account-action #login-open{
 display:inline-flex;align-items:center;justify-content:center;gap:8px;
 min-height:44px;padding:11px 20px;margin:0;
 background:#242027;color:#fff7fb;border:1px solid #242027;
 border-radius:8px;font-size:13px;font-weight:600;line-height:1.4;
 text-decoration:none;transition:background .18s,border-color .18s;
}
body.editorial-overview .ed-account-action #login-open:hover{background:#41313e;border-color:#41313e}
body.editorial-overview .ed-account-action #login-open:focus-visible{outline:2px solid #b44768;outline-offset:3px}
@media(prefers-reduced-motion:reduce){body.editorial-overview .ed-account-action #login-open{transition:none}}

/* One full-width account-value area: description left, balance right, shared divider. */
body.editorial-overview .ed-hero-grid>.ed-value{grid-column:1/-1;grid-row:1;display:grid;grid-template-columns:270px minmax(0,1fr);column-gap:65px;text-align:right}
body.editorial-overview .ed-hero-description{grid-column:1;grid-row:1/span 2;text-align:left;font-size:15px;line-height:1.8;color:#242027;margin:0;align-self:start}
body.editorial-overview .ed-value>span{grid-column:2;grid-row:1}
body.editorial-overview .ed-value>strong{grid-column:2;grid-row:2}
body.editorial-overview .ed-value-caption{grid-column:1/-1;grid-row:3;margin-top:8px}
body.editorial-overview .ed-hero-grid>.ed-intro{grid-column:1;grid-row:2}
body.editorial-overview .ed-account-note{margin-top:0}
body.editorial-overview .ed-hero-grid>.ed-tagline{grid-column:2;grid-row:2;text-align:right;font-size:44px;letter-spacing:-.045em;line-height:1.12;font-weight:550;margin:0;color:#171419}
body.editorial-overview .ed-tagline em{font-style:normal;color:#ba3658}
body.editorial-overview .ed-hero-grid{row-gap:28px}
@media(max-width:850px){body.editorial-overview .ed-hero-grid>.ed-value{grid-template-columns:210px minmax(0,1fr);column-gap:35px}body.editorial-overview .ed-hero-grid>.ed-tagline{font-size:36px}}
@media(max-width:650px){body.editorial-overview .ed-hero-grid>.ed-value{grid-template-columns:minmax(0,1fr);text-align:left;gap:0}body.editorial-overview .ed-hero-description{grid-column:1;grid-row:1;margin-bottom:22px;font-size:14px}body.editorial-overview .ed-value>span{grid-column:1;grid-row:2}body.editorial-overview .ed-value>strong{grid-column:1;grid-row:3}body.editorial-overview .ed-value-caption{grid-column:1;grid-row:4}body.editorial-overview .ed-hero-grid>.ed-tagline{display:none}body.editorial-overview .ed-hero-grid>.ed-intro{grid-column:1;grid-row:2}}

body.editorial-overview .ed-account-note{display:none}

/* Full-width wallet range immediately above the performance chapter. */
body.editorial-overview .ed-full-range{width:100%;margin:0 0 30px;padding:22px 0 8px}
body.editorial-overview .ed-full-range .ed-range-labels{color:#b8acbf}
body.editorial-overview .ed-full-range .ed-range-labels b{color:#f3edf5}
body.editorial-overview .ed-full-range .ed-range-track{margin-top:20px}
body.editorial-overview .ed-full-range .ed-range-track i{background:#f4edf5;border-color:#111016;box-shadow:0 0 0 1px #a58eab}
body.editorial-overview .ed-full-range .ed-range-track i::after{border-color:#ead9f080}
body.editorial-overview .ed-full-range>[data-ed-range-note]{display:block;color:#b8acbf;font-size:11px;line-height:1.6;margin-top:14px}

/* Move the section introduction into the hero's vacated left-hand space. */
body.editorial-overview .ed-intro .ed-statement{margin:0 0 24px;max-width:none}
body.editorial-overview .ed-intro .ed-statement>span{color:#a44363;font-size:10px;letter-spacing:.1em}
body.editorial-overview .ed-intro .ed-statement h2{color:#201822;font-size:32px;line-height:1.12;margin:14px 0 18px}
body.editorial-overview .ed-intro .ed-statement p{color:#736776;font-size:13px;line-height:1.8;max-width:none}
body.editorial-overview .ed-dark{padding-top:90px}
@media(max-width:650px){body.editorial-overview .ed-intro .ed-statement h2{font-size:30px}body.editorial-overview .ed-dark{padding-top:65px}}

body.editorial-overview .ed-performance-chapter .ed-chapter-grid{grid-template-columns:minmax(0,1fr);gap:24px}
body.editorial-overview .ed-performance-chapter .ed-reason{max-width:720px}
body.editorial-overview .ed-performance-chapter .ed-reason h3{font-size:20px;margin-bottom:12px}
body.editorial-overview .ed-performance-chapter .ed-reason p{margin-bottom:0}

body.editorial-overview .ed-chapter .ed-chapter-grid{grid-template-columns:minmax(0,1fr);gap:24px}
body.editorial-overview .ed-chapter .ed-reason{max-width:720px}
body.editorial-overview .ed-chapter .ed-reason h3{font-size:20px;margin-bottom:12px}
body.editorial-overview .ed-chapter .ed-reason p{margin-bottom:0}

body.editorial-overview .ed-btc-ticker{margin-top:30px;padding:20px 0 0;border-top:1px solid #ddced8;color:#29202b}
body.editorial-overview .ed-btc-ticker>span{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:11px;letter-spacing:.12em;color:#785e76}
body.editorial-overview .ed-btc-ticker>span small{font-size:11px;letter-spacing:0;color:#857482}
body.editorial-overview .ed-btc-ticker>strong{display:block;font-size:36px;line-height:1.2;letter-spacing:-.045em;font-weight:600;margin:10px 0 8px;font-variant-numeric:tabular-nums}
body.editorial-overview .ed-btc-ticker>[data-btc-status]{display:block;font-size:11px;color:#857482}

/* Light Bitcoin quote card in the white hero. */
body.editorial-overview .ed-btc-ticker{margin-top:26px;padding:21px 19px;background:#ffffffb8;border:1px solid #e7dce4;border-radius:12px;color:#231d26}
body.editorial-overview .ed-btc-heading{display:flex;align-items:center;gap:10px;font-size:14px;color:#231d26}
body.editorial-overview .ed-btc-logo{display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;border-radius:50%;background:#f7931a;color:#fff;font-size:25px;font-weight:600;line-height:1}
body.editorial-overview .ed-btc-heading>small{font-size:10px;letter-spacing:.1em;color:#887c8b;white-space:nowrap}
body.editorial-overview .ed-btc-ticker>strong{font-size:clamp(22px,2.2vw,30px);letter-spacing:-.035em;margin:16px 0 14px;white-space:nowrap}
body.editorial-overview .ed-btc-change{font-size:12px;line-height:1.6;color:#665b69}
body.editorial-overview .ed-btc-change[data-direction=up]{color:#167b63}
body.editorial-overview .ed-btc-change[data-direction=down]{color:#a23e60}
body.editorial-overview .ed-btc-ticker>[hidden]{display:none}

/* Bitcoin occupies the open space beside the performance cards. */
body.editorial-overview .ed-metric-row{display:grid;grid-template-columns:270px minmax(0,1fr);gap:65px;align-items:start;margin-top:4px;transform:translateY(52px);position:relative;z-index:1}
body.editorial-overview .ed-metric-row .ed-metric-cards{margin:0;transform:none}
body.editorial-overview .ed-metric-row .ed-btc-ticker{margin:0;box-sizing:border-box;width:100%}
@media(max-width:850px){body.editorial-overview .ed-metric-row{grid-template-columns:210px minmax(0,1fr);gap:35px}}
@media(max-width:650px){body.editorial-overview .ed-metric-row{grid-template-columns:minmax(0,1fr);gap:18px;transform:translateY(35px)}body.editorial-overview .ed-metric-row .ed-btc-ticker{max-width:none}}

body.editorial-overview .ed-metric-row .ed-btc-ticker{border:0}

/* Align the Bitcoin quote with the hero text and full-width range below. */
body.editorial-overview .ed-metric-row .ed-btc-ticker{padding-left:0;padding-right:0;background:transparent;border-radius:0}

body.editorial-overview .ed-value-caption [data-ed-day-percent][data-direction=up]{color:#167b63}
body.editorial-overview .ed-value-caption [data-ed-day-percent][data-direction=down]{color:#b33455}
body.editorial-overview .ed-value-caption [data-ed-day-percent][data-direction=flat]{color:#756675}

body.editorial-overview .ed-value-caption [data-ed-day-percent]{color:#171419}

/* Hide the drawdown chapter from the editorial overview. */
body.editorial-overview .ed-chapter:has(.ed-drawdown-chart){display:none}

body.editorial-overview .ed-assets{display:none}

/* Market detail pages share the editorial white hero and full-width dark chart. */
body.platform-page.editorial-market{background:#0c0d0f;color:#f4f1f4}
body.platform-page.editorial-market>main{max-width:none!important;width:100%;padding:0!important;margin:0}
body.editorial-market .market-editorial-inner{max-width:960px;margin:auto;padding-inline:28px;box-sizing:border-box}
body.editorial-market>alita-sidebar{display:block;background:#fffaf8}
body.editorial-market alita-sidebar .platform-topbar{max-width:960px;padding-inline:28px;background:transparent}
body.editorial-market alita-sidebar .platform-brand{color:#a82c47}
body.editorial-market alita-sidebar .focus-navigation a{color:#665b68}
body.editorial-market .market-editorial-hero{background:radial-gradient(ellipse at 80% 0%,#f58e8a88,transparent 47%),#fffdfb;color:#211a23;padding:25px 0 45px;margin:0}
body.editorial-market .market-editorial-hero .market-back{display:inline-block;color:#8d5069;font-size:12px;margin-bottom:30px}
body.editorial-market .market-editorial-hero-row{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,1.7fr);gap:50px;align-items:start}
body.editorial-market .market-editorial-intro .market-heading{display:block;margin:0}
body.editorial-market .market-heading h1{font-size:28px;color:#211a23;line-height:1.2;margin:12px 0 18px;letter-spacing:-.035em}
body.editorial-market .market-heading .eyebrow{color:#96778c;font-size:11px;letter-spacing:.1em}
body.editorial-market .market-feed-status{display:inline-block;margin:0 0 15px;background:#eee3e9;color:#786674;border:0}
body.editorial-market .market-feed-status.live{background:#e5f1eb;color:#1c765f}
body.editorial-market .market-editorial-intro>p{font-size:14px;color:#796a78;line-height:1.8;margin:7px 0 0}
body.platform-page.editorial-market .market-price-hero{display:flex;flex-direction:column;align-items:stretch;text-align:right;width:100%;background:none;border:0;border-radius:0;padding:0;margin:0;gap:12px;min-height:0}
body.editorial-market .market-price-hero .market-focus-price-label{order:0;color:#84707e;font-size:14px}
body.editorial-market .market-price-hero>strong:nth-of-type(2){order:1;font-size:clamp(40px,6vw,76px)!important;font-weight:650;line-height:1.15;letter-spacing:-.065em;color:#151217;overflow-wrap:anywhere}
body.editorial-market .market-price-hero>strong:nth-of-type(2)::after{content:none}
body.editorial-market .market-price-hero .market-focus-price-note{order:2;text-align:left;font-size:12px;color:#84707e;border-bottom:1px solid #dcc5cf;padding:10px 0 19px}
body.editorial-market .market-price-hero>strong:nth-of-type(1){order:3;font-size:14px!important;letter-spacing:0;font-weight:500;color:#211a23;text-align:right;line-height:1.6}
body.editorial-market .market-price-hero>strong:nth-of-type(1)::after{content:none}
body.editorial-market .market-price-hero .market-focus-account-link{order:4;color:#a43e60;font-size:12px;align-self:flex-end;min-height:35px;margin:0}
body.editorial-market .market-editorial-dark{padding:50px 0 40px;background:#0c0d0f}
body.editorial-market .market-editorial-chart-heading{display:flex;justify-content:space-between;gap:20px;align-items:baseline;margin-bottom:22px}
body.editorial-market .market-editorial-chart-heading h2{font-size:25px;letter-spacing:-.03em;margin:0}
body.editorial-market .market-editorial-chart-heading>span{font-size:12px;color:#aa9eb0}
body.platform-page.editorial-market .market-focus-layout{display:block;max-width:100%;margin:0}
body.platform-page.editorial-market .market-focus-layout .market-chart-panel{display:block;width:100%;height:var(--market-chart-height,440px);min-height:340px;margin:0;background:#111116;border:0;border-radius:10px;padding:15px;box-sizing:border-box;overflow:hidden}
body.editorial-market .tradingview-widget-container{height:100%;width:100%}
body.editorial-market .tradingview-widget-container__widget{min-height:260px}
body.editorial-market .tradingview-widget-copyright{font-size:10px;line-height:24px;color:#897991}
body.editorial-market .tradingview-widget-copyright a{color:#b998ad}
body.platform-page.editorial-market .market-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-block:1px solid #302731;margin:28px 0 35px;padding:20px 0}
body.editorial-market .market-stat{padding:0 18px;border:0;border-right:1px solid #302731;border-radius:0;background:none;gap:9px}
body.editorial-market .market-stat:first-child{padding-left:0}
body.editorial-market .market-stat:last-child{border-right:0}
body.editorial-market .market-stat strong{font-size:21px;color:#f1e8f3}
body.editorial-market .market-stat>span{font-size:11px;color:#aa9eb0}
body.editorial-market .market-token-sidebar{margin-bottom:40px}
body.editorial-market .market-trends{border:0;border-top:1px solid #302731;border-radius:0;padding:28px 0;margin:0;background:none}
@media(max-width:650px){body.editorial-market .market-editorial-inner{padding-inline:22px}body.editorial-market .market-editorial-hero-row{grid-template-columns:minmax(0,1fr);gap:28px}body.editorial-market .market-price-hero{text-align:left}body.editorial-market .market-price-hero>strong:nth-of-type(2){font-size:53px!important}body.platform-page.editorial-market .market-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 0}body.editorial-market .market-stat:nth-child(3){padding-left:0}body.editorial-market .market-stat:nth-child(2){border-right:0}body.editorial-market .market-editorial-chart-heading{flex-wrap:wrap;gap:8px}}

/* Light editorial headers use a clean underline for the active page. */
body.editorial-market alita-sidebar .focus-navigation a,
body.editorial-overview alita-sidebar .focus-navigation a{background:transparent;border-radius:0}
body.editorial-market alita-sidebar .focus-navigation a[aria-current],
body.editorial-overview alita-sidebar .focus-navigation a[aria-current]{background:transparent;color:#211a23;box-shadow:inset 0 -2px #b64a65}
body.editorial-market alita-sidebar .focus-navigation a:hover,
body.editorial-overview alita-sidebar .focus-navigation a:hover{background:transparent;color:#a43e60}

/* Keep the editorial header identical on Overview and Market pages. */
body.editorial-overview .public-topbar,
body.editorial-overview alita-sidebar .platform-topbar,
body.editorial-market alita-sidebar .platform-topbar{
 box-sizing:border-box;min-height:84px;height:84px;display:flex;align-items:center;
 gap:28px;flex-wrap:nowrap;padding-top:0;padding-bottom:0;
}
body.editorial-overview .public-topbar{padding-inline:max(28px,calc((100vw - 904px)/2))}
body.editorial-overview alita-sidebar .platform-topbar,
body.editorial-market alita-sidebar .platform-topbar{width:100%;max-width:960px;margin:auto;padding-inline:28px}
body.editorial-overview .public-topbar>span:first-child,
body.editorial-overview alita-sidebar .platform-brand,
body.editorial-market alita-sidebar .platform-brand{
 font-size:13px;font-weight:600;letter-spacing:.2em;line-height:1.4;white-space:nowrap;
}
body.editorial-overview .public-focus-nav,
body.editorial-overview alita-sidebar .focus-navigation,
body.editorial-market alita-sidebar .focus-navigation{
 display:flex;align-items:center;justify-content:flex-start;gap:22px;flex:1;
 width:auto;margin:0 0 0 28px;padding:0;
}
body.editorial-overview .public-focus-nav a,
body.editorial-overview alita-sidebar .focus-navigation a,
body.editorial-market alita-sidebar .focus-navigation a{
 box-sizing:border-box;display:flex;align-items:center;min-height:44px;
 padding:12px 0;margin:0;font-size:13px;font-weight:400;letter-spacing:0;line-height:1.4;
}
@media(max-width:650px){
 body.editorial-overview .public-topbar,
 body.editorial-overview alita-sidebar .platform-topbar,
 body.editorial-market alita-sidebar .platform-topbar{height:72px;min-height:72px;gap:14px;padding-inline:22px}
 body.editorial-overview .public-topbar>span:first-child,
 body.editorial-overview alita-sidebar .platform-brand,
 body.editorial-market alita-sidebar .platform-brand{font-size:11px;letter-spacing:.12em}
 body.editorial-overview .public-focus-nav,
 body.editorial-overview alita-sidebar .focus-navigation,
 body.editorial-market alita-sidebar .focus-navigation{gap:12px;margin-left:0}
 body.editorial-overview .public-focus-nav a,
 body.editorial-overview alita-sidebar .focus-navigation a,
 body.editorial-market alita-sidebar .focus-navigation a{font-size:11px}
}

/* Keep the editorial header identical on Overview and Market pages. */
body.editorial-overview .public-topbar,
body.editorial-overview alita-sidebar .platform-topbar,
body:is(.editorial-accounts,.editorial-strategies) alita-sidebar .platform-topbar{
 box-sizing:border-box;min-height:84px;height:84px;display:flex;align-items:center;
 gap:28px;flex-wrap:nowrap;padding-top:0;padding-bottom:0;
}
body.editorial-overview .public-topbar{padding-inline:max(28px,calc((100vw - 904px)/2))}
body.editorial-overview alita-sidebar .platform-topbar,
body:is(.editorial-accounts,.editorial-strategies) alita-sidebar .platform-topbar{width:100%;max-width:960px;margin:auto;padding-inline:28px}
body.editorial-overview .public-topbar>span:first-child,
body.editorial-overview alita-sidebar .platform-brand,
body:is(.editorial-accounts,.editorial-strategies) alita-sidebar .platform-brand{
 font-size:13px;font-weight:600;letter-spacing:.2em;line-height:1.4;white-space:nowrap;
}
body.editorial-overview .public-focus-nav,
body.editorial-overview alita-sidebar .focus-navigation,
body:is(.editorial-accounts,.editorial-strategies) alita-sidebar .focus-navigation{
 display:flex;align-items:center;justify-content:flex-start;gap:22px;flex:1;
 width:auto;margin:0 0 0 28px;padding:0;
}
body.editorial-overview .public-focus-nav a,
body.editorial-overview alita-sidebar .focus-navigation a,
body:is(.editorial-accounts,.editorial-strategies) alita-sidebar .focus-navigation a{
 box-sizing:border-box;display:flex;align-items:center;min-height:44px;
 padding:12px 0;margin:0;font-size:13px;font-weight:400;letter-spacing:0;line-height:1.4;
}
@media(max-width:650px){
 body.editorial-overview .public-topbar,
 body.editorial-overview alita-sidebar .platform-topbar,
 body:is(.editorial-accounts,.editorial-strategies) alita-sidebar .platform-topbar{height:72px;min-height:72px;gap:14px;padding-inline:22px}
 body.editorial-overview .public-topbar>span:first-child,
 body.editorial-overview alita-sidebar .platform-brand,
 body:is(.editorial-accounts,.editorial-strategies) alita-sidebar .platform-brand{font-size:11px;letter-spacing:.12em}
 body.editorial-overview .public-focus-nav,
 body.editorial-overview alita-sidebar .focus-navigation,
 body:is(.editorial-accounts,.editorial-strategies) alita-sidebar .focus-navigation{gap:12px;margin-left:0}
 body.editorial-overview .public-focus-nav a,
 body.editorial-overview alita-sidebar .focus-navigation a,
 body:is(.editorial-accounts,.editorial-strategies) alita-sidebar .focus-navigation a{font-size:11px}
}

/* Accounts adopt the same light hero and dark workspace. */
body.platform-page.editorial-accounts{background:#0c0d0f;color:#f4f1f4}
body.platform-page.editorial-accounts>.app-shell{display:block}
body.platform-page.editorial-accounts .live-room{width:100%;max-width:none;margin:0;padding:0}
body:is(.editorial-accounts,.editorial-strategies) alita-sidebar{display:block;background:#fffaf8}
body:is(.editorial-accounts,.editorial-strategies) alita-sidebar .platform-topbar{background:transparent}
body:is(.editorial-accounts,.editorial-strategies) alita-sidebar .platform-brand{color:#a82c47}
body:is(.editorial-accounts,.editorial-strategies) alita-sidebar .focus-navigation a{color:#665b68;background:transparent}
body:is(.editorial-accounts,.editorial-strategies) alita-sidebar .focus-navigation a[aria-current]{color:#211a23;background:transparent;box-shadow:inset 0 -2px #b64a65}
body.editorial-accounts .accounts-editorial-hero{background:radial-gradient(ellipse at 80% 0%,#f58e8a88,transparent 47%),#fffdfb;color:#211a23;padding:42px 0 35px}
body.editorial-accounts .accounts-editorial-inner{max-width:960px;margin:auto;padding-inline:28px}
body.platform-page.editorial-accounts .accounts-wallet-summary{display:flex;align-items:flex-end;text-align:right;margin:0 0 38px;padding:0;background:none;border:0;border-radius:0;box-shadow:none;gap:14px;max-width:none}
body.editorial-accounts .accounts-wallet-summary::before{content:'Total Account Value';color:#84707e;font-size:14px}
body.editorial-accounts .accounts-wallet-summary #accounts-wallet-total{order:1;color:#151217!important;font-size:clamp(40px,6vw,76px);line-height:1.15;letter-spacing:-.065em;text-shadow:none}
body.editorial-accounts .accounts-wallet-summary #accounts-wallet-change{order:2;color:#665b68!important;font-size:14px}
body.editorial-accounts .accounts-wallet-equivalents{order:3;justify-content:flex-end;color:#84707e!important;font-size:12px;gap:20px}
body.editorial-accounts .accounts-wallet-summary>small{order:4;color:#84707e!important;font-size:11px}
body.editorial-accounts .page-heading{margin:0;padding-top:24px;border-top:1px solid #ddc8d3;align-items:center}
body.editorial-accounts .page-heading h1{color:#211a23;font-size:30px;letter-spacing:-.04em}
body.editorial-accounts .page-heading p{color:#7d6d7d}
body.editorial-accounts .page-heading .eyebrow{color:#a15d7d}
body.editorial-accounts #add-account{background:#28212b;color:#fff5fb;border-color:#28212b;border-radius:8px;min-height:44px;font-size:13px}
body.editorial-accounts #notice,body.editorial-accounts #workspace,body.editorial-accounts #account-overview{max-width:904px;margin-inline:auto}
body.editorial-accounts #notice{padding-top:28px}
body.editorial-accounts #workspace{padding-bottom:40px}
body.editorial-accounts.account-detail-page .accounts-editorial-hero{display:none}
body.editorial-accounts.account-detail-page #account-overview{padding-top:30px}
body.platform-page.editorial-accounts.account-detail-page .account-focus-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:32px}
body.platform-page.editorial-accounts.account-detail-page .account-focus-layout .account-wallet-hero{background:radial-gradient(ellipse at 100% 0%,#f6c4d0,transparent 65%),#fffdfb;box-shadow:none;border:0;padding:30px;border-radius:14px}
body.platform-page.editorial-accounts.account-detail-page .account-focus-layout .account-wallet-hero,
body.platform-page.editorial-accounts.account-detail-page .account-focus-layout .account-wallet-hero *,
body.platform-page.editorial-accounts.account-detail-page .account-focus-layout .account-wallet-hero>strong::after{color:#211a23!important}
body.editorial-accounts .account-chart-card{min-width:0;width:100%;padding:0;background:none;border:0}
@media(max-width:960px){body.editorial-accounts #notice,body.editorial-accounts #workspace,body.editorial-accounts #account-overview{margin-inline:28px}}
@media(max-width:650px){body.editorial-accounts .accounts-editorial-inner{padding-inline:22px}body.editorial-accounts .accounts-editorial-hero{padding-top:30px}body.editorial-accounts #notice,body.editorial-accounts #workspace,body.editorial-accounts #account-overview{margin-inline:22px}body.editorial-accounts .page-heading{gap:18px;flex-wrap:wrap}body.editorial-accounts .accounts-wallet-summary #accounts-wallet-total{font-size:53px}}

body.editorial-accounts .account-recorded-performance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 24px;margin:20px 0;padding:19px 0;border-block:1px solid #302731}
body.editorial-accounts .account-recorded-performance dt{font-size:11px;color:#a99cb0;margin-bottom:6px}
body.editorial-accounts .account-recorded-performance dd{font-size:16px;font-weight:600;letter-spacing:-.02em;color:#f2e9f5;margin:0;font-variant-numeric:tabular-nums}
body.editorial-accounts .account-performance-scope{display:block;font-size:11px;color:#a99cb0;line-height:1.6;margin-bottom:15px}
body.editorial-accounts .account-summary-meta{font-size:13px;color:#cc9bb2}
body.editorial-accounts .account-summary-meta::before{content:'Strategy · ';color:#a99cb0}
@media(max-width:650px){body.editorial-accounts .account-recorded-performance{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}

body.editorial-accounts .account-ledger-panels{grid-column:1/-1;width:100%;min-width:0;margin-top:18px}
body.editorial-accounts .account-list-active-trade,body.editorial-accounts .account-list-trade-history{background:#141418;border:1px solid #2b252e;border-radius:12px;padding:22px;margin-top:15px;position:relative}
body.editorial-accounts .account-list-active-trade{border-left:4px solid #d87b9f}
body.editorial-accounts .account-ledger-panels h3{font-size:18px;margin:0 0 20px;color:#f1e8f5}
body.editorial-accounts .account-list-trade-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:22px}
body.editorial-accounts .account-list-trade-metrics small,body.editorial-accounts .account-list-active-profit small{display:block;color:#ab9db1;font-size:11px;margin-bottom:7px}
body.editorial-accounts .account-list-trade-metrics strong{font-size:14px;font-weight:600;color:#f1e8f5;overflow-wrap:anywhere}
body.editorial-accounts .account-list-active-profit{margin:0 0 20px;text-align:right}
body.editorial-accounts .account-list-open-pnl{font-size:25px;letter-spacing:-.025em}
body.editorial-accounts .account-list-trade-note{display:block;color:#ab9db1;font-size:11px;margin-top:20px;line-height:1.7}
body.editorial-accounts .account-list-trade-scroll{overflow-x:auto}
body.editorial-accounts .account-list-trade-scroll table{border-collapse:collapse;width:100%;font-size:12px;text-align:left;min-width:680px}
body.editorial-accounts .account-list-trade-scroll th{font-weight:400;color:#ab9db1;font-size:11px;padding:0 14px 12px 0;white-space:nowrap}
body.editorial-accounts .account-list-trade-scroll td{padding:15px 14px 15px 0;border-top:1px solid #28212b;color:#f1e8f5}
body.editorial-accounts .account-list-trade-scroll td.positive,body.editorial-accounts .account-list-open-pnl.positive{color:#43cfa7}
body.editorial-accounts .account-list-trade-scroll td.negative,body.editorial-accounts .account-list-open-pnl.negative{color:#ed6e96}
@media(max-width:650px){body.editorial-accounts .account-list-trade-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}body.editorial-accounts .account-list-active-trade,body.editorial-accounts .account-list-trade-history{padding:18px}}

/* Account reporting uses the full page width rather than the old two-column card. */
body.platform-page.editorial-accounts .account-summary-card{display:block;grid-template-columns:none;width:100%;background:transparent;border:0;border-radius:0;overflow:visible}
body.editorial-accounts .account-summary-body{width:100%;padding:24px;background:#141418;border:1px solid #2b252e;border-radius:12px;gap:12px}
body.editorial-accounts .account-summary-body h3{font-size:22px}
body.editorial-accounts .account-summary-value{font-size:32px}
body.editorial-accounts .account-recorded-performance{grid-template-columns:repeat(6,minmax(0,1fr));gap:20px;margin:12px 0;padding:20px 0}
body.editorial-accounts .account-recorded-performance dd{font-size:17px;overflow-wrap:anywhere}
body.editorial-accounts .account-summary-chart{margin-top:18px;min-height:180px;background:#111116;border:1px solid #2b252e;border-radius:12px}
body.editorial-accounts .account-ledger-panels{margin-top:20px}
body.editorial-accounts .account-list-active-trade{display:grid;grid-template-columns:1fr auto;gap:18px 24px}
body.editorial-accounts .account-list-active-trade>h3{grid-column:1;grid-row:1;margin:0;align-self:start}
body.editorial-accounts .account-list-active-profit{grid-column:2;grid-row:1;margin:0;text-align:right}
body.editorial-accounts .account-list-trade-metrics{grid-column:1/-1;grid-row:2;margin:0;padding-top:18px;border-top:1px solid #2b252e;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.editorial-accounts .account-list-active-trade>.account-list-trade-note{grid-column:1/-1;grid-row:3;border-top:1px solid #2b252e;padding-top:14px;margin:0}
body.editorial-accounts .account-list-trade-history{margin-top:20px}
body.editorial-accounts .account-list-trade-scroll td{vertical-align:top;line-height:1.6}
@media(max-width:850px){body.editorial-accounts .account-recorded-performance{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){body.editorial-accounts .account-summary-body{padding:20px}body.editorial-accounts .account-recorded-performance{grid-template-columns:repeat(2,minmax(0,1fr))}body.editorial-accounts .account-list-active-trade{grid-template-columns:minmax(0,1fr)}body.editorial-accounts .account-list-active-profit{grid-column:1;grid-row:2;text-align:left}body.editorial-accounts .account-list-trade-metrics{grid-row:3;grid-template-columns:repeat(2,minmax(0,1fr))}body.editorial-accounts .account-list-active-trade>.account-list-trade-note{grid-row:4}}

body.editorial-accounts .accounts-editorial-hero #accounts-wallet-note{color:#84707e!important;text-shadow:none!important}
body.editorial-accounts .account-recorded-performance dd.positive{color:#43cfa7}
body.editorial-accounts .account-recorded-performance dd.negative{color:#ed6e96}

/* Consistent neutral navigation on the editorial workspace pages, including phones. */
body.platform-page:is(.editorial-overview,.editorial-market,.editorial-accounts,.editorial-strategies) alita-sidebar{background:#fffaf8;border-radius:0;box-shadow:none}
body.platform-page:is(.editorial-overview,.editorial-market,.editorial-accounts,.editorial-strategies) alita-sidebar .platform-topbar{background:transparent}
body.platform-page:is(.editorial-overview,.editorial-market,.editorial-accounts,.editorial-strategies) alita-sidebar .platform-brand{color:#211a23}
body.platform-page:is(.editorial-overview,.editorial-market,.editorial-accounts,.editorial-strategies) alita-sidebar .focus-navigation a{color:#665b68;background:transparent}
body.platform-page:is(.editorial-overview,.editorial-market,.editorial-accounts,.editorial-strategies) alita-sidebar .focus-navigation a[aria-current]{color:#211a23;box-shadow:inset 0 -2px #211a23}
body.platform-page:is(.editorial-overview,.editorial-market,.editorial-accounts,.editorial-strategies) alita-sidebar .platform-burger{color:#211a23;background:#f1ece9;border-color:#ded8d5}
body.platform-page:is(.editorial-overview,.editorial-market,.editorial-accounts,.editorial-strategies) alita-sidebar .platform-menu[open] .platform-burger{background:#e5dfdc;color:#211a23}
body.platform-page:is(.editorial-overview,.editorial-market,.editorial-accounts,.editorial-strategies) alita-sidebar .platform-menu-panel{background:#fffaf8;border-color:#ded8d5;box-shadow:0 16px 40px #211a2326}
body.platform-page:is(.editorial-overview,.editorial-market,.editorial-accounts,.editorial-strategies) alita-sidebar .platform-menu-panel nav a{color:#665b68}
body.platform-page:is(.editorial-overview,.editorial-market,.editorial-accounts,.editorial-strategies) alita-sidebar .platform-menu-panel nav a:hover,
body.platform-page:is(.editorial-overview,.editorial-market,.editorial-accounts,.editorial-strategies) alita-sidebar .platform-menu-panel nav a[aria-current]{background:#eee8e5;color:#211a23;box-shadow:none}
body.platform-page:is(.editorial-overview,.editorial-market,.editorial-accounts,.editorial-strategies) alita-sidebar .platform-nav-icon{color:#665b68}
body.platform-page:is(.editorial-overview,.editorial-market,.editorial-accounts,.editorial-strategies) alita-sidebar .platform-menu-panel .platform-lock{color:#665b68;border-color:#ded8d5}

/* Account detail uses the same continuous light hero as the market pages. */
body.platform-page.editorial-accounts.account-detail-page #account-overview{max-width:none;width:100%;margin:0;padding:0 0 48px}
body.editorial-accounts.account-detail-page .account-detail-hero{background:radial-gradient(ellipse at 80% 0%,#f58e8a88,transparent 47%),#fffdfb;color:#211a23;padding:30px 0 42px;margin:0 0 40px}
body.editorial-accounts.account-detail-page .account-detail-hero-inner{max-width:960px;padding:0 28px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);column-gap:48px;align-items:start}
body.editorial-accounts.account-detail-page .account-detail-top{grid-column:1/-1;margin:0 0 28px}
body.editorial-accounts.account-detail-page .account-detail-top a{color:#8d5069;font-size:12px}
body.editorial-accounts.account-detail-page .account-detail-hero h1{grid-column:1;margin:0 0 16px;color:#211a23;font-size:30px;letter-spacing:-.04em}
body.editorial-accounts.account-detail-page .account-health{grid-column:1;color:#766574}
body.editorial-accounts.account-detail-page .account-health small,body.editorial-accounts.account-detail-page .account-subtitle{color:#766574}
body.editorial-accounts.account-detail-page .account-subtitle{grid-column:1;font-size:13px;line-height:1.7}
body.platform-page.editorial-accounts.account-detail-page .account-detail-hero .account-wallet-hero{grid-column:2;grid-row:2/span 3;display:flex;flex-direction:column;align-items:stretch;gap:14px;background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;margin:0;min-width:0;text-align:right;color:#211a23}
body.platform-page.editorial-accounts.account-detail-page .account-detail-hero .account-wallet-hero *{color:#211a23!important}
body.platform-page.editorial-accounts.account-detail-page .account-detail-hero .account-wallet-hero>strong{order:1;font-size:clamp(40px,6vw,76px);letter-spacing:-.065em;line-height:1.15;overflow-wrap:anywhere}
body.platform-page.editorial-accounts.account-detail-page .account-detail-hero .account-wallet-hero>strong::after{color:#211a23!important;font-size:18px;letter-spacing:0}
body.editorial-accounts.account-detail-page .account-detail-hero .account-focus-wallet-label{order:0;font-size:14px;color:#84707e!important}
body.editorial-accounts.account-detail-page .account-detail-hero .account-wallet-hero>span{order:2;font-size:14px;border-top:1px solid #dcc5cf;padding-top:16px}
body.editorial-accounts.account-detail-page .account-detail-hero .wallet-equivalents{order:3;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-end;gap:12px;font-size:12px}
body.editorial-accounts.account-detail-page .account-detail-hero .account-manage-link{order:4;align-self:flex-end;font-size:12px;margin-top:10px;color:#8d5069!important}
body.platform-page.editorial-accounts.account-detail-page #account-overview>.account-focus-layout,body.editorial-accounts.account-detail-page #account-overview>.account-metric-grid,body.editorial-accounts.account-detail-page #account-overview>h2,body.editorial-accounts.account-detail-page #account-overview>.account-trades{width:calc(100% - 56px);max-width:904px;margin-inline:auto}
@media(max-width:650px){body.editorial-accounts.account-detail-page .account-detail-hero-inner{grid-template-columns:minmax(0,1fr);padding-inline:22px;gap:0}body.platform-page.editorial-accounts.account-detail-page .account-detail-hero .account-wallet-hero{grid-column:1;grid-row:auto;margin-top:28px}body.platform-page.editorial-accounts.account-detail-page .account-detail-hero .account-wallet-hero>strong{font-size:53px}body.platform-page.editorial-accounts.account-detail-page #account-overview>.account-focus-layout,body.editorial-accounts.account-detail-page #account-overview>.account-metric-grid,body.editorial-accounts.account-detail-page #account-overview>h2,body.editorial-accounts.account-detail-page #account-overview>.account-trades{width:calc(100% - 44px)}}
body.editorial-accounts.account-detail-page .account-detail-hero .account-health{position:static;justify-content:flex-start;max-width:none;margin:0 0 12px}
body.editorial-accounts.account-detail-page .account-detail-hero .account-health small{text-align:left}
body.platform-page.editorial-accounts.account-detail-page .account-detail-hero .account-wallet-hero>strong::after{content:' USDT';font-weight:500;white-space:nowrap}
body.editorial-accounts.account-detail-page #account-overview>:not(.account-detail-hero){width:calc(100% - 56px);max-width:904px;margin-inline:auto}
@media(max-width:650px){body.editorial-accounts.account-detail-page #account-overview>:not(.account-detail-hero){width:calc(100% - 44px)}}
/* Let the account hero touch the navigation and viewport edges. */
body.platform-page.editorial-accounts.account-detail-page>.app-shell>.live-room{padding:0;margin:0;width:100%;max-width:none}
body.platform-page.editorial-accounts.account-detail-page .account-detail-hero .account-manage-link{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;background:transparent;border:0;border-radius:0;box-shadow:none;color:#8d5069!important;text-decoration:none}

/* Match the Android theme on mobile browser layouts. */
@media(max-width:650px){
   /* App-only dark surfaces preserve the shared desktop layout and theme. */
   body{background:#0c0d0f!important;color:#f4f4f5!important}
   body alita-sidebar,body .public-topbar{background:#111214!important;color:#f4f4f5!important}
   body :is(.ed-hero,.market-editorial-hero,.accounts-editorial-hero,.strategies-hero,.account-wallet-hero){background:#111214!important;color:#f4f4f5!important;color-scheme:dark;border-color:#303034!important}
   body :is(.ed-hero,.market-editorial-hero,.accounts-editorial-hero,.strategies-hero,.account-wallet-hero) :is(h1,h2,h3,p,strong,b,span,small,em,a){color:inherit!important}
   body :is(.ed-hero-description,.ed-value>span,.ed-value-caption,.ed-metric>span,.ed-metric>small,.ed-btc-heading small,.market-focus-price-label,.market-focus-price-note,.accounts-wallet-summary::before,.strategies-hero p,.strategy-select-button small){color:#a9aaaf!important}
   body :is(.ed-value-caption,.ed-account-note,.market-focus-price-note){border-color:#303034!important}
   body .platform-brand{color:#f4f4f5!important}
   body .focus-navigation a{color:#a9aaaf!important;background:transparent!important}
   body .focus-navigation a[aria-current]{color:#fff!important;box-shadow:inset 0 -2px #d96b8c!important}
   body .ed-metric{background:#202023!important;color:#f4f4f5!important;box-shadow:none!important;border:1px solid #303034!important}
   body .ed-btc-ticker{background:transparent!important;color:#f4f4f5!important}
   body .ed-btc-heading{color:#f4f4f5!important}
   body .public-topbar{gap:12px!important}
   body .public-focus-nav{min-width:0;width:auto;flex:1;overflow-x:auto;scrollbar-width:none}
   body .public-focus-nav a{white-space:nowrap;flex-shrink:0}
   body .ed-btc-logo{background:#f7931a!important;color:#fff!important}
   body .strategy-select-button{background:#1a1b1e!important;color:#f4f4f5!important;border-color:#36373c!important;box-shadow:none!important}
   body .strategy-select-button[aria-pressed=true]{background:#2b2d32!important;border-color:#b5b7be!important;box-shadow:inset 0 -3px #b5b7be!important}
   body .strategy-select-button small{color:#a9aaaf!important}
   body .strategy-select-button:focus-visible{outline-color:#b5b7be!important}
   body #accounts-wallet-note{color:#a9aaaf!important}

}
@media(max-width:650px){
 body.editorial-overview .public-focus-nav a{color:#a9aaaf!important}
 body.editorial-overview .public-focus-nav a[aria-current]{color:#fff!important}
}
/* Larger account value in the mobile overview hero. */
@media(max-width:650px){body.editorial-overview .ed-value>strong{font-size:85.5px}}
@media(max-width:370px){body.editorial-overview .ed-value>strong{font-size:72px}}
/* Mobile metrics replace the editorial statement above the Bitcoin quote. */
@media(max-width:650px){
 body.editorial-overview .ed-intro>.ed-statement{display:none}
 body.editorial-overview .ed-metric-row{display:flex;flex-direction:column;gap:28px;transform:none;margin-top:0}
 body.editorial-overview .ed-metric-row .ed-metric-cards{order:-1;width:100%;transform:none;margin:0}
 body.editorial-overview .ed-metric-row .ed-btc-ticker{width:100%;margin:0}
 body.editorial-overview .ed-dark{padding-top:40px}
 body.editorial-overview .ed-hero{padding-bottom:30px}
}
@media(max-width:650px){body.editorial-overview .ed-hero-description{display:none}}

.ed-token-strip{display:contents}.ed-extra-token{display:none}
body.editorial-overview .ed-btc-ticker>strong>small{font:inherit;color:inherit}
@media(max-width:650px){
 body.editorial-overview .ed-token-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;width:100%}
 body.editorial-overview .ed-extra-token{display:block}
 body.editorial-overview .ed-token-strip .ed-btc-ticker{min-width:0;padding:0}
 body.editorial-overview .ed-token-strip .ed-btc-heading{flex-wrap:wrap;gap:6px;font-size:12px}
 body.editorial-overview .ed-token-strip .ed-btc-heading>span:not(.ed-btc-logo){display:none}
 body.editorial-overview .ed-token-strip .ed-btc-heading>small{font-size:10px}
 body.editorial-overview .ed-token-strip .ed-btc-ticker>strong{font-size:clamp(15px,3vw,22px);margin:12px 0 8px;white-space:normal}
 body.editorial-overview .ed-token-strip .ed-btc-ticker>strong>small{display:block;font-size:10px;color:#a9aaaf;margin-top:4px}
 body.editorial-overview .ed-token-strip .ed-btc-change{font-size:10px}
}
@media(max-width:650px){body.editorial-overview .ed-value-caption{display:none}}
@media(max-width:650px){
 body.editorial-overview .ed-token-strip .ed-btc-ticker>strong{font-size:clamp(20px,4.5vw,30px)}
 body.editorial-overview .ed-token-strip .ed-btc-heading>small{font-size:12px;letter-spacing:.04em}
 body.editorial-overview .ed-token-strip .ed-btc-change{font-size:12px}
 body.editorial-overview .ed-token-strip [data-token="ETC"] .ed-btc-logo{background:#237b51!important}
 body.editorial-overview .ed-token-strip [data-token="ETH"] .ed-btc-logo{background:#6267b5!important}
}
@media(max-width:650px){body.editorial-overview .ed-token-strip .ed-btc-logo{display:none}}

@media(max-width:650px){body.editorial-overview .ed-value>.ed-full-range{margin:26px 0 0;padding:0;border:0;text-align:left}body.editorial-overview .ed-value>.ed-full-range .ed-range-labels{margin:0}body.editorial-overview .ed-value>.ed-full-range [data-ed-range-note]{display:block;margin-top:12px;color:#a9aaaf;font-size:11px}}
@media(max-width:650px){body.editorial-overview .ed-value>.ed-full-range{grid-column:1;grid-row:4}}

/* Wallet v2: isolated to /v2/login by the presentation module. */
body.wallet-overview{background:#f5f4f0;color:#17241e;--ui-muted:#737b76;--ui-surface:#fff;--ui-border:#dfe3dc;--ui-text:#17241e;--ui-accent:#245b48;--ui-positive:#245b48;--ui-negative:#b34343;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
body.wallet-overview .public-topbar{height:auto;min-height:84px;max-width:1360px;margin:auto;padding:20px 48px;box-sizing:border-box;border:0;gap:24px;color:#17241e;display:flex;align-items:center}
body.wallet-overview .public-topbar>span:first-child{font-size:17px;letter-spacing:.2em;font-weight:650}
body.wallet-overview .public-focus-nav{margin-left:auto;display:flex;gap:24px}
body.wallet-overview .public-focus-nav a{color:#68716b;font-size:13px;text-decoration:none}
body.wallet-overview .public-focus-nav a[aria-current]{color:#17241e}
body.wallet-overview .public-live{font-size:12px;color:#245b48}
body.wallet-overview #login-open{background:#17241e;color:#fff;border:0;border-radius:10px;padding:13px 22px;min-height:44px;font-size:13px;white-space:nowrap;cursor:pointer}
body.wallet-overview #login-open:hover{background:#245b48}
body.wallet-overview :focus-visible{outline:2px solid #3f8062;outline-offset:4px}
body.wallet-overview main.home-market-layout{display:block!important;max-width:1360px!important;width:100%!important;padding:35px 48px 28px!important;margin:0 auto!important;box-sizing:border-box}
body.wallet-overview main.home-market-layout>:not(.wallet-layout){display:none!important}
.wallet-heading{margin:0 0 32px}.wallet-eyebrow{font-size:10px;letter-spacing:.16em;color:#758077}.wallet-heading h1{font-size:42px;letter-spacing:-.045em;font-weight:600;line-height:1.15;margin:12px 0 10px}.wallet-heading p{font-size:15px;color:#737b76;margin:0}
.wallet-top{display:grid;grid-template-columns:1.12fr 1fr;gap:28px;align-items:start}.wallet-summary,.wallet-chart-slot,.wallet-assets,.wallet-market{min-width:0}
.wallet-balance-card{position:relative;isolation:isolate;overflow:hidden;min-height:295px;box-sizing:border-box;padding:32px 34px;border-radius:22px;background:linear-gradient(135deg,#234c3a,#102c23);color:#f8fbf5;display:flex;flex-direction:column;box-shadow:0 12px 30px #142e2410}
.wallet-balance-card:after{content:'';position:absolute;z-index:-1;width:650px;height:330px;border:1px solid #c2d7bd18;border-radius:50%;bottom:-245px;left:-40px;box-shadow:0 -18px 0 #c2d7bd04,0 -38px 0 #c2d7bd04,0 -58px 0 #c2d7bd04;transform:rotate(-13deg)}
.wallet-card-label{display:flex;justify-content:space-between;align-items:center;font-size:11px;letter-spacing:.14em;color:#d5e1d6}.wallet-visibility{background:transparent;border:0;color:#d5e1d6;cursor:pointer;min-width:44px;min-height:44px;font-size:20px;margin:-12px -12px -6px 0}.wallet-balance{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:22px 0 16px}.wallet-balance strong{font-size:clamp(32px,4.1vw,58px);font-weight:500;letter-spacing:-.045em;line-height:1.1;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.wallet-balance>span{font-size:18px;color:#d5e1d6}.wallet-day{display:inline-block;align-self:start;background:#d1e9d01a;border:1px solid #d1e9d018;border-radius:30px;font-size:12px;padding:8px 12px}.wallet-card-footer{margin-top:auto;padding-top:36px;display:flex;align-items:center;gap:20px;color:#c6d9ce;font-size:11px}.wallet-wordmark{letter-spacing:.18em;color:#fff;font-size:13px}.wallet-card-footer>span+span{border-left:1px solid #ffffff40;padding-left:18px}
.wallet-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:24px 0 0;gap:16px}.wallet-metrics>div+div{border-left:1px solid #dce0d9;padding-left:16px}.wallet-metrics span{display:block;font-size:12px;color:#626e66}.wallet-metrics strong{display:block;font-size:clamp(16px,1.65vw,24px);font-weight:550;margin:9px 0 5px;letter-spacing:-.03em;color:#245b48;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.wallet-metrics strong[data-direction=down]{color:#b34343}.wallet-metrics small{font-size:10px;color:#7d877f}.wallet-status{font-size:10px;color:#7d877f;margin:16px 0 0}
body.wallet-overview .public-wallet-performance{width:100%;max-width:none;margin:0;padding:24px!important;box-sizing:border-box;border:1px solid #e9eae4!important;border-radius:20px;background:#ffffffb0!important;color:#17241e!important;min-height:410px}
body.wallet-overview .home-wallet-performance-heading{display:flex;flex-direction:column;gap:16px;margin:0 0 14px;align-items:start}
body.wallet-overview .home-wallet-performance-heading h2{font-size:18px;color:#17241e;margin:0;letter-spacing:-.025em}
body.wallet-overview .home-wallet-performance-controls{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
body.wallet-overview .home-wallet-performance-controls label{color:#67726a!important;font-size:10px!important}
body.wallet-overview .alita-chart-intervals button{background:transparent;border:1px solid #dce2d9;color:#637068;border-radius:7px;min-height:32px;padding:6px 10px;cursor:pointer;font-size:11px}
body.wallet-overview .alita-chart-intervals button[aria-pressed=true]{background:#e4ece3;color:#245b48;border-color:#c8d8c8}
body.wallet-overview .account-chart-legend{color:#7b847d;font-size:10px;line-height:1.7;margin:12px 0 0}
body.wallet-overview .wallet-history-scroll svg{border:0!important;background:transparent!important}
.wallet-bottom{display:grid;grid-template-columns:1fr 1.12fr;gap:34px;border-top:1px solid #dce0d9;margin-top:34px;padding-top:28px}.wallet-assets h2{font-size:20px;letter-spacing:-.025em;font-weight:600;margin:0 0 6px}.wallet-section-note{font-size:11px;color:#7b847d;margin:0 0 22px}.wallet-table-label{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.09em;color:#7b847d;padding:0 0 12px;border-bottom:1px solid #dce0d9}
body.wallet-overview .wallet-assets .alita-market-grid{display:flex!important;flex-direction:column;gap:0!important;margin:0!important}
body.wallet-overview .wallet-assets .alita-market-card{display:grid!important;grid-template-columns:1fr auto;column-gap:10px;row-gap:3px;padding:15px 0!important;background:none!important;border:0!important;border-bottom:1px solid #e0e3dc!important;border-radius:0!important;text-decoration:none;color:#17241e;min-height:0;box-shadow:none}
body.wallet-overview .wallet-assets .alita-market-card:hover{background:#e8ece440!important}
body.wallet-overview .wallet-assets .alita-market-token{grid-column:1;grid-row:1 / 3;display:flex;align-items:center;gap:12px}.wallet-assets .alita-market-token h3{font-size:13px!important;color:#17241e!important;margin:0 0 4px!important}.wallet-assets .alita-market-token div>span{font-size:10px;color:#7b847d}.wallet-assets .alita-market-price{grid-column:2;grid-row:1;font-size:14px!important;letter-spacing:0!important;color:#17241e!important;text-align:right;margin:0!important}.wallet-assets .alita-market-change{grid-column:2;grid-row:2;text-align:right;font-size:10px!important}.wallet-assets .alita-market-change[data-direction=up]{color:#245b48!important}.wallet-assets .alita-market-change[data-direction=down]{color:#b34343!important}
body.wallet-overview .wallet-assets .alita-market-spark,body.wallet-overview .wallet-assets .alita-market-tick,body.wallet-overview .wallet-assets .alita-market-chart-note{display:none!important}
body.wallet-overview .wallet-assets .alita-asset-icon{width:34px;height:34px;font-size:20px;flex-shrink:0}
body.wallet-overview .wallet-market .alita-movement{margin:0!important;padding:0 0 0 28px!important;background:transparent!important;border:0!important;border-left:1px solid #dce0d9!important;border-radius:0!important;color:#17241e;min-width:0}
body.wallet-overview .wallet-market .alita-movement h3{font-size:20px;color:#17241e;margin-top:0;letter-spacing:-.025em}
body.wallet-overview .alita-movement-subtitle,body.wallet-overview .alita-movement-summary,body.wallet-overview .alita-chart-range{color:#7b847d!important;font-size:10px!important;line-height:1.65}
body.wallet-overview .alita-movement-legend{font-size:10px;color:#245b48}.wallet-overview .alita-movement-average{stroke:#245b48!important}.wallet-overview .alita-movement-pulse{display:none}.wallet-overview .alita-movement svg text{fill:#7b847d!important}.wallet-overview .alita-movement svg line{stroke:#dce0d9!important}.wallet-overview .alita-movement-legend i{background:#245b48!important}
body.wallet-overview .alita-chart-expand{color:#637068;background:transparent;border:1px solid #dce2d9;border-radius:6px;font-size:10px;padding:6px 9px}.wallet-overview .alita-chart-window-toolbar{margin-bottom:10px}.wallet-footer{display:flex;justify-content:space-between;border-top:1px solid #dce0d9;margin-top:30px;padding-top:20px;color:#8a938b;font-size:9px;letter-spacing:.08em}
body.wallet-overview #welcome-signin{background:#f5f4f0;color:#17241e;border:1px solid #dce0d9;border-radius:18px;padding:28px;font:14px inherit;width:min(340px,calc(100vw - 48px))}
body.wallet-overview #welcome-signin input{background:#fff;color:#17241e;border-color:#ccd5ca}
body.wallet-overview #welcome-signin form button{background:#245b48;color:#fff;border:0}
body.wallet-overview #welcome-signin h2{font-size:24px;letter-spacing:-.035em}
body.wallet-overview #welcome-signin [data-auth-status]{color:#a13939}
@media(max-width:1050px){body.wallet-overview .public-focus-nav{display:none}.wallet-top{grid-template-columns:1fr 1fr;gap:20px}.wallet-balance-card{padding:26px}.wallet-bottom{gap:20px}.wallet-metrics{gap:10px}.wallet-metrics>div+div{padding-left:10px}}
@media(max-width:760px){body.wallet-overview .public-topbar{padding:18px 22px;min-height:72px;gap:12px}.wallet-overview .public-topbar>span:first-child{font-size:12px!important}.wallet-overview .public-live{margin-left:auto;font-size:10px!important}.wallet-overview #login-open{padding:10px 13px;font-size:11px}.wallet-overview main.home-market-layout{padding:24px 22px!important}.wallet-heading{margin-bottom:24px}.wallet-heading h1{font-size:34px}.wallet-heading p{font-size:13px}.wallet-top,.wallet-bottom{grid-template-columns:1fr;gap:26px}.wallet-balance-card{min-height:270px}.wallet-balance strong{font-size:44px}.wallet-metrics strong{font-size:18px}.wallet-overview .public-wallet-performance{min-height:0;padding:18px!important}.wallet-overview .wallet-market .alita-movement{border-left:0!important;border-top:1px solid #dce0d9!important;padding:25px 0 0!important}.wallet-footer{font-size:8px;gap:12px}.wallet-bottom{margin-top:26px}}
@media(prefers-reduced-motion:reduce){.wallet-overview *{animation:none!important;transition:none!important}}
/* Override legacy inline home colors without affecting the original layout. */
body.platform-page.platform-home.wallet-overview{background:#f5f4f0!important;color:#17241e!important}
body.wallet-overview .wallet-heading h1,body.wallet-overview .wallet-assets h2{color:#17241e!important}
body.wallet-overview .public-wallet-performance{background:#fff!important}
body.wallet-overview .wallet-history-scroll svg{height:250px!important}
body.wallet-overview .wallet-market h2,body.wallet-overview .wallet-market h3{color:#17241e!important;font-size:18px!important}
body.wallet-overview .wallet-market .alita-movement>p{color:#748076!important;font-size:10px!important}
body.wallet-overview .wallet-chart-slot .home-wallet-performance-heading h2{font-size:18px!important}
body.wallet-overview .public-topbar{background:#f5f4f0!important}
@media(max-width:760px){body.wallet-overview main.home-market-layout{padding:24px 22px!important}body.wallet-overview .wallet-market .alita-movement{border-left:0!important;border-top:1px solid #dce0d9!important;padding:25px 0 0!important}}
/* V2 daily range and quiet, transparent performance chart. */
body.wallet-overview .wallet-daily-range{margin:26px 0 0;padding-top:22px;border-top:1px solid #dce0d9}
body.wallet-overview .wallet-range-values{display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#737b76}
body.wallet-overview .wallet-range-values>span:last-child{text-align:right}
body.wallet-overview .wallet-range-values strong{display:block;color:#245b48;font-size:13px;font-weight:600;margin-top:6px;font-variant-numeric:tabular-nums}
body.wallet-overview .wallet-range-line{position:relative;height:4px;margin:20px 8px 14px;background:linear-gradient(90deg,#c7d2c4,#7c9f8b);border-radius:6px}
body.wallet-overview .wallet-range-line i{position:absolute;top:50%;width:11px;height:11px;transform:translate(-50%,-50%);border:3px solid #f5f4f0;border-radius:50%;background:#245b48;box-shadow:0 0 0 1px #7c9f8b}
body.wallet-overview .wallet-daily-range p{font-size:10px;color:#737b76;margin:0;line-height:1.6}
body.wallet-overview .wallet-chart-slot .public-wallet-performance{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.wallet-overview .wallet-history-scroll{color-scheme:light;scrollbar-color:#9aae9e #e7e9e2;scrollbar-width:thin;background:transparent!important}
body.wallet-overview .wallet-history-scroll::-webkit-scrollbar{height:8px;background:#e7e9e2}
body.wallet-overview .wallet-history-scroll::-webkit-scrollbar-track{background:#e7e9e2;border-radius:8px}
body.wallet-overview .wallet-history-scroll::-webkit-scrollbar-thumb{background:#9aae9e;border:2px solid #e7e9e2;border-radius:8px}
body.wallet-overview .wallet-history-scroll::-webkit-scrollbar-thumb:hover{background:#6f8b79}
/* V2 chart action shares the title row. */
body.wallet-overview .wallet-chart-slot .public-wallet-performance{position:relative}
body.wallet-overview .wallet-chart-slot .public-wallet-performance>.alita-chart-window-toolbar{position:absolute;top:24px;right:24px;margin:0}
body.wallet-overview .wallet-chart-slot .home-wallet-performance-heading h2{min-height:36px;display:flex;align-items:center;padding-right:100px;box-sizing:border-box;margin:0}
@media(max-width:760px){body.wallet-overview .wallet-chart-slot .public-wallet-performance>.alita-chart-window-toolbar{top:18px;right:18px}}
/* V2 market controls: a single compact action row. */
body.wallet-overview .wallet-market .alita-movement{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:start}
body.wallet-overview .wallet-market .alita-movement>h3,body.wallet-overview .wallet-market .alita-movement>h3+p{display:none!important}
body.wallet-overview .wallet-market .alita-movement>*{grid-column:1 / -1;min-width:0}
body.wallet-overview .wallet-market .alita-movement>.alita-chart-intervals{grid-column:1;grid-row:1;display:flex;flex-wrap:wrap;gap:6px;margin:0 0 20px}
body.wallet-overview .wallet-market .alita-movement>.alita-chart-window-toolbar{grid-column:2;grid-row:1;margin:0}
body.wallet-overview .wallet-market .alita-chart-expand{min-height:32px;white-space:nowrap}
/* V2 strategy workspace: shared wallet foundations, also used by canvas charts. */
html.v2-performance,body.v2-performance{color-scheme:light;--ui-bg:#f5f4f0;--ui-surface:#f5f4f0;--ui-raised:#fff;--ui-text:#17241e;--ui-muted:#748076;--ui-border:#dce0d9;--ui-positive:#245b48;--ui-negative:#b34343;--ui-positive-soft:#e5ece3;--ui-accent:#245b48;--ui-accent-soft:#e5ece3;--ui-navy:#17241e;background:#f5f4f0!important;color:#17241e}
body.v2-performance{font:14px Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
body.v2-performance .platform-topbar,body.v2-performance .focus-navigation,body.v2-performance alita-sidebar{background:#f5f4f0!important;color:#17241e;border-color:#dce0d9}
body.v2-performance .platform-brand,body.v2-performance .platform-burger{color:#17241e!important}
body.v2-performance .platform-brand{font-size:17px;letter-spacing:.17em;font-weight:650}
body.v2-performance .focus-navigation a,body.v2-performance .platform-menu-panel nav a{color:#748076!important;background:transparent!important}
body.v2-performance .focus-navigation a[aria-current],body.v2-performance .platform-menu-panel nav a[aria-current]{color:#245b48!important;border-color:#245b48!important}
body.v2-performance .platform-menu-panel{background:#fff!important;border-color:#dce0d9!important;box-shadow:0 14px 40px #17241e10}
body.v2-performance main#control-room,body.v2-performance.platform-research>main{max-width:1440px;margin-inline:auto!important;padding:38px 48px!important;box-sizing:border-box}
body.v2-performance .room-header{margin:0 0 28px;padding:0;border:0;background:transparent}
body.v2-performance .room-heading h1{font-size:36px;letter-spacing:-.045em;font-weight:600;color:#17241e}
body.v2-performance .room-heading p{font-size:14px;color:#748076;line-height:1.7}
body.v2-performance .eyebrow{color:#748076;font-size:10px;letter-spacing:.15em}
body.v2-performance input,body.v2-performance select,body.v2-performance button,body.v2-performance .button{background:#fff;color:#245b48;border:1px solid #dce0d9;border-radius:8px;font:inherit;font-size:12px;min-height:36px;box-shadow:none}
body.v2-performance button:hover{background:#e5ece3;border-color:#b4c8b7}
body.v2-performance button:disabled{opacity:.45;cursor:default}
body.v2-performance :focus-visible{outline:2px solid #3f8062;outline-offset:3px}
body.v2-performance .research-badge{background:#e5ece3;color:#245b48;border:1px solid #d2ded0;border-radius:30px;font-size:10px;letter-spacing:.06em}
body.v2-performance .analysis-cards{gap:12px;margin:0 0 26px}
body.v2-performance .analysis-card{background:transparent;border:1px solid #dce0d9;border-radius:12px;padding:16px;text-align:left;box-shadow:none}
body.v2-performance .analysis-card strong{color:#17241e;font-size:13px}
body.v2-performance .analysis-card span{color:#748076;font-size:11px;line-height:1.6}
body.v2-performance .analysis-card[aria-expanded=true]{background:#e5ece3;border-color:#a9c0ad}
body.v2-performance .wallet-totals{background:linear-gradient(135deg,#234c3a,#102c23)!important;border:0;border-radius:18px;padding:26px 30px;color:#f8fbf5;margin:20px 0 26px}
body.v2-performance .wallet-totals span,body.v2-performance .wallet-totals small{color:#c6d9ce}
body.v2-performance .wallet-totals strong{font-size:38px;letter-spacing:-.04em;font-weight:500;color:#f8fbf5}
body.v2-performance .chart,body.v2-performance .signal-record,body.v2-performance #metrics,body.v2-performance .bottom>div,body.v2-performance .account-chart-card{background:transparent;border:1px solid #dce0d9;border-radius:14px;box-shadow:none;padding:22px}
body.v2-performance #market-section{border:0;padding:0;background:transparent}
body.v2-performance #status{font-size:15px;color:#17241e}
body.v2-performance h2,body.v2-performance h3{color:#17241e;letter-spacing:-.02em;font-weight:550}
body.v2-performance .chart-history-controls,body.v2-performance .legend{gap:10px;color:#748076;font-size:11px}
body.v2-performance details{background:transparent;border-color:#dce0d9;border-radius:10px}
body.v2-performance table{color:#17241e;font-variant-numeric:tabular-nums}
body.v2-performance th{color:#748076;font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.06em;background:transparent}
body.v2-performance td,body.v2-performance th{padding:12px;border-color:#dce0d9}
body.v2-performance tbody tr:hover{background:#e5ece350}
body.v2-performance dialog{background:#f5f4f0;color:#17241e;border:1px solid #dce0d9;border-radius:18px;box-shadow:0 24px 80px #17241e20}
body.v2-performance dialog::backdrop{background:#17241e66;backdrop-filter:blur(5px)}
body.v2-performance .configuration-access{color:#748076}
body.v2-performance .platform-lock{color:#245b48;border-color:#dce0d9}
body.v2-performance *{scrollbar-color:#9aae9e #e7e9e2;scrollbar-width:thin}
body.v2-performance *::-webkit-scrollbar{width:8px;height:8px;background:#e7e9e2}
body.v2-performance *::-webkit-scrollbar-thumb{background:#9aae9e;border:2px solid #e7e9e2;border-radius:8px}
@media(max-width:760px){body.v2-performance main#control-room,body.v2-performance.platform-research>main{padding:24px 20px!important}body.v2-performance .room-heading h1{font-size:28px}body.v2-performance .room-header{gap:14px}body.v2-performance .wallet-totals{padding:22px}body.v2-performance .wallet-totals strong{font-size:30px}body.v2-performance .analysis-cards{display:flex;overflow-x:auto;padding-bottom:10px}body.v2-performance .analysis-card{flex:0 0 170px}body.v2-performance .chart,body.v2-performance .signal-record{padding:14px}}
body.v2-performance .room-heading[hidden]{display:flex!important}
body.v2-performance .strategy-toolbar{flex-wrap:wrap;gap:16px}
body.v2-performance .strategy-back-button{color:#245b48;font-size:12px;text-decoration:none}
body.wallet-overview .wallet-chart-tooltip,body.v2-performance .wallet-chart-tooltip{background:#fff!important;color:#17241e!important;border:1px solid #dce0d9!important;border-radius:10px!important;box-shadow:0 8px 28px #17241e15!important;line-height:1.8}
body.wallet-overview .wallet-metrics .wallet-metric-percent{display:block;font-size:.5em;line-height:1.6;font-weight:500;color:inherit;margin-top:3px}
body.wallet-overview.public-performance-view .wallet-top{grid-template-columns:minmax(0,1fr)}
body.wallet-overview.public-performance-view .wallet-summary,body.wallet-overview.public-performance-view .wallet-bottom{display:none}
body.wallet-overview.public-performance-view .wallet-chart-slot .public-wallet-performance{padding:0!important;min-height:0}
body.wallet-overview.public-performance-view .wallet-chart-slot .public-wallet-performance>.alita-chart-window-toolbar{top:0;right:0}
body.wallet-overview.public-performance-view .wallet-chart-slot .home-wallet-performance-heading h2{padding-right:140px}
body.wallet-overview.public-performance-view .wallet-history-scroll svg{height:400px!important}
@media(max-width:760px){body.wallet-overview.public-performance-view .wallet-history-scroll svg{height:300px!important}}
.strategy-review{border-top:1px solid #dce0d9;margin-top:34px;padding-top:30px;color:#17241e}.strategy-review>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.strategy-review h2{font-size:24px;letter-spacing:-.035em;margin:10px 0}.review-source{background:#e5ece3;color:#245b48;border-radius:20px;padding:8px 12px;font-size:11px;white-space:nowrap}.review-summary{font-size:13px;line-height:1.8;max-width:850px;color:#657268}.review-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:28px 0}.review-metrics>div+div{padding-left:24px;border-left:1px solid #dce0d9}.review-metrics span,.review-metrics small{display:block;color:#748076;font-size:11px}.review-metrics strong{display:block;font-size:26px;font-weight:550;letter-spacing:-.03em;margin:9px 0;color:#245b48}.review-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.review-columns h3{font-size:15px;letter-spacing:-.02em;margin:0 0 10px}.review-columns p{font-size:12px;line-height:1.9;color:#657268;margin:0}.review-footnote{font-size:10px;line-height:1.7;color:#879187;margin-top:24px}@media(max-width:760px){.strategy-review>header{align-items:start;flex-direction:column;gap:4px}.review-columns{grid-template-columns:1fr;gap:22px}.review-metrics{gap:12px}.review-metrics>div+div{padding-left:12px}.review-metrics strong{font-size:18px;overflow-wrap:anywhere}}
.research-outlook{margin-top:32px;padding-top:30px;border-top:1px solid #dce0d9}.research-outlook>header{display:flex;justify-content:space-between;align-items:center;gap:20px}.research-outlook h2{font-size:24px;letter-spacing:-.035em;margin:10px 0}.outlook-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.outlook-tabs button{padding:8px 12px;border:1px solid #dce0d9;border-radius:7px;background:transparent;color:#245b48}.outlook-tabs button[aria-pressed=true]{background:#e5ece3}.outlook-tabs button:disabled{opacity:.45;cursor:not-allowed}.outlook-chart svg{display:block;width:100%;height:auto;max-height:300px}.outlook-chart text{fill:#748076;font:11px system-ui}.outlook-limits{background:#e9ede5;border-radius:10px;padding:16px;color:#526457;font-size:12px;line-height:1.8}.trade-source-review{margin-top:32px;padding-top:26px;border-top:1px solid #dce0d9}.trade-source-table{overflow-x:auto}.trade-source-table table{width:100%;border-collapse:collapse;font-size:12px}.trade-source-table th{text-align:left;color:#748076;font-size:10px;font-weight:500;padding:12px;border-bottom:1px solid #dce0d9}.trade-source-table td{padding:16px 12px;border-bottom:1px solid #dce0d9;color:#17241e;white-space:nowrap}@media(max-width:760px){.research-outlook>header{align-items:start;flex-direction:column;gap:4px}.research-outlook h2{font-size:21px}}

.review-strategy-button{display:inline-flex;align-items:center;justify-content:center;background:#245b48;color:#fff;border-radius:8px;padding:11px 16px;font-size:12px;font-weight:600;white-space:nowrap;text-decoration:none}.review-strategy-button:hover{background:#1b4838}.review-strategy-button:focus-visible{outline:2px solid #245b48;outline-offset:3px}

body.wallet-overview .wallet-starting-balance{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px;color:#d5e1d6;font-size:12px;margin:0 0 16px;line-height:1.6}body.wallet-overview .wallet-starting-balance strong{font-size:14px;color:#f8fbf5;font-weight:500;font-variant-numeric:tabular-nums}

/* V2 foundations: one palette and navigation across wallet and workspace pages. */
body.platform-page.v2-performance,body.platform-page.wallet-overview{--ui-bg:#f5f4f0!important;--ui-surface:#f5f4f0!important;--ui-raised:#fff!important;--ui-text:#17241e!important;--ui-muted:#657268!important;--ui-border:#dce0d9!important;--ui-link:#245b48!important;--ui-positive:#245b48!important;--ui-negative:#b34343!important;--ui-accent:#245b48!important;--ui-accent-soft:#e5ece3!important;color:#17241e!important;color-scheme:light}
body.platform-page .workspace-navigation-host{display:block!important;background:#f5f4f0!important;padding:0!important;border-bottom:1px solid #dce0d9;position:relative;z-index:40}
body.platform-page .workspace-navigation{box-sizing:border-box;display:flex!important;align-items:center;gap:28px;min-height:82px;width:100%!important;max-width:1440px!important;margin:0 auto!important;padding:16px 40px!important;background:#f5f4f0!important;border:0!important;color:#17241e!important;box-shadow:none!important}
body.platform-page .workspace-navigation .workspace-brand{flex:none;color:#17241e!important;font-size:14px!important;letter-spacing:.16em!important;text-decoration:none;font-weight:650;white-space:nowrap}
body.platform-page .workspace-desktop-nav{display:flex;align-items:center;gap:24px;margin-left:auto;min-width:0}
body.platform-page .workspace-desktop-nav a{display:flex;align-items:center;min-height:44px;color:#657268!important;font-size:13px;text-decoration:none;white-space:nowrap}
body.platform-page .workspace-desktop-nav a[aria-current]{color:#245b48!important;box-shadow:inset 0 -2px #245b48}
body.platform-page .workspace-actions{display:flex;align-items:center;gap:12px}
body.platform-page .workspace-actions:empty{display:none}
body.platform-page .workspace-actions #login-open{padding:10px 14px;min-height:44px;border-radius:8px;background:#245b48!important;color:#fff!important;border:0;font-size:12px}
body.platform-page .workspace-navigation .workspace-menu{position:relative!important;flex:none;margin:0!important;padding:0!important;border:0!important;background:transparent!important;overflow:visible!important}
body.platform-page .workspace-menu-toggle{display:grid!important;place-items:center;width:44px;height:44px;box-sizing:border-box;list-style:none;cursor:pointer;border:1px solid #dce0d9;border-radius:9px;color:#245b48;background:#f5f4f0}
body.platform-page .workspace-menu-toggle::-webkit-details-marker{display:none}
body.platform-page .workspace-menu-panel{position:absolute;top:calc(100% + 10px);right:0;width:230px;max-width:calc(100vw - 40px);box-sizing:border-box;padding:12px;background:#fff;color:#17241e;border:1px solid #dce0d9;border-radius:12px;box-shadow:0 12px 36px #17241e18;z-index:100}
body.platform-page .workspace-menu:not([open])>.workspace-menu-panel{display:none!important}
body.platform-page .workspace-menu-panel nav{display:grid;gap:4px}
body.platform-page .workspace-menu-panel nav a{display:flex;align-items:center;min-height:44px;padding:0 12px;border-radius:7px;text-decoration:none;font-size:14px;color:#657268!important}
body.platform-page .workspace-menu-panel nav a[aria-current],body.platform-page .workspace-menu-panel nav a:hover{background:#e5ece3!important;color:#245b48!important}
body.platform-page .workspace-lock{width:100%;margin-top:10px;min-height:44px;background:transparent;border:1px solid #dce0d9;border-radius:8px;color:#245b48;cursor:pointer}
body.platform-page .workspace-navigation :focus-visible{outline:2px solid #245b48;outline-offset:3px}
body.v2-performance .ui-page-heading h1,body.v2-performance .page-heading h1,body.v2-performance .ui-empty-state h2,body.v2-performance .settings-card h2{color:#17241e!important}
body.v2-performance .ui-empty-state,body.v2-performance .settings-card,body.v2-performance .begin-panel{background:#edf0e8!important;border:1px solid #dce0d9!important;color:#17241e!important;box-shadow:none!important}
body.v2-performance input:not([type=checkbox]):not([type=radio]),body.v2-performance select,body.v2-performance textarea{background:#fff!important;color:#17241e!important;border-color:#cbd5ca!important}
body.v2-performance input::placeholder{color:#657268!important}
body.v2-performance .ui-button{background:#245b48!important;color:#fff!important;border-color:#245b48!important;min-height:44px}
body.v2-performance .settings-card p,body.v2-performance .ui-empty-state p{color:#657268!important}
body.v2-performance.editorial-market .market-editorial-hero,body.v2-performance.editorial-market .market-editorial-dark,body.v2-performance.editorial-accounts .accounts-editorial-hero,body.v2-performance.editorial-accounts .account-detail-hero{background:#f5f4f0!important;color:#17241e!important}
body.v2-performance.editorial-market .market-editorial-hero-inner,body.v2-performance.editorial-market .market-editorial-dark-inner,body.v2-performance.editorial-accounts .accounts-editorial-inner,body.v2-performance.editorial-accounts .account-detail-hero-inner{max-width:1440px!important;width:100%!important;box-sizing:border-box;padding-inline:40px!important}
body.v2-performance.editorial-market .market-chart-panel{height:var(--market-chart-height,440px)!important;background:transparent!important;border:1px solid #dce0d9!important;border-radius:14px!important;padding:16px!important}
body.v2-performance.editorial-market .market-heading h1,body.v2-performance.editorial-market .market-price-hero strong,body.v2-performance.editorial-market .market-stat strong,body.v2-performance.editorial-market .alita-market-price,body.v2-performance.editorial-market .alita-market-token h3,body.v2-performance.editorial-market .market-editorial-chart-heading h2{color:#17241e!important}
body.v2-performance.editorial-market .market-stat>span,body.v2-performance.editorial-market .market-focus-price-label,body.v2-performance.editorial-market .market-focus-price-note,body.v2-performance.editorial-market .market-editorial-chart-heading>span,body.v2-performance.editorial-market .market-note{color:#657268!important}
body.v2-performance.editorial-market .market-back,body.v2-performance.editorial-market .market-focus-account-link,body.v2-performance.editorial-market .market-active-link,body.v2-performance.editorial-market .tradingview-widget-copyright a{color:#245b48!important}
body.v2-performance.editorial-market .market-stats,body.v2-performance.editorial-market .market-stat,body.v2-performance.editorial-market .market-trends,body.v2-performance.editorial-market .alita-market-card{border-color:#dce0d9!important}
body.v2-performance.editorial-market .alita-market-card{background:transparent!important;color:#17241e!important}
body.v2-performance.editorial-market .alita-market-card[aria-current]{background:#e5ece3!important;box-shadow:inset 0 -2px #245b48!important}
body.v2-performance .market-feed-status{background:#e5ece3!important;color:#245b48!important}
body.v2-performance .market-chart-controls{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 12px}
body.v2-performance .market-chart-intervals{display:flex;gap:5px;flex-wrap:wrap}
body.v2-performance .market-chart-intervals button{min-height:36px;padding:6px 10px}
body.v2-performance .market-chart-intervals button[aria-pressed=true]{background:#245b48;color:#fff;border-color:#245b48}
body.v2-performance .market-chart-indicators{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:#657268}
body.v2-performance .market-chart-indicators label{display:flex;align-items:center;gap:6px;white-space:nowrap}
body.v2-performance .market-chart-state{flex-basis:100%;font-size:11px;color:#657268}
body.v2-performance.editorial-accounts .accounts-hero,body.v2-performance.editorial-accounts .account-overview-hero,body.v2-performance.editorial-accounts .accounts-page-hero{background:#f5f4f0!important;color:#17241e!important}
body.v2-performance.editorial-accounts .accounts-hero-inner,body.v2-performance.editorial-accounts .accounts-wallet-total{color:#17241e!important}
body.v2-performance.editorial-accounts .account-summary-card,body.v2-performance.editorial-accounts .account-metric,body.v2-performance.editorial-accounts .account-trades,body.v2-performance.editorial-accounts .account-recorded-performance{background:transparent!important;color:#17241e!important;border-color:#dce0d9!important}
body.v2-performance.editorial-accounts .positive{color:#245b48!important}body.v2-performance.editorial-accounts .negative{color:#b34343!important}
@media(max-width:900px){body.platform-page .workspace-navigation{gap:14px;padding:14px 22px!important;min-height:72px}body.platform-page .workspace-desktop-nav{display:none!important}body.platform-page .workspace-actions{margin-left:auto}body.platform-page .workspace-menu{margin-left:auto!important}body.platform-page .workspace-actions+.workspace-menu{margin-left:0!important}body.platform-page .workspace-brand{font-size:12px!important}}
@media(max-width:760px){body.v2-performance.editorial-market .market-editorial-hero-inner,body.v2-performance.editorial-market .market-editorial-dark-inner,body.v2-performance.editorial-accounts .accounts-editorial-inner,body.v2-performance.editorial-accounts .account-detail-hero-inner{padding-inline:20px!important}body.v2-performance.editorial-market .market-editorial-hero{background:#f5f4f0!important}body.v2-performance.editorial-market .market-price-hero,body.v2-performance.editorial-market .market-price-hero strong{color:#17241e!important}body.v2-performance.editorial-market .market-chart-panel{min-height:430px!important;height:430px!important;padding:12px!important}body.v2-performance .market-chart-controls{gap:8px}body.v2-performance .market-chart-indicators{gap:12px;font-size:11px}}

body.v2-performance.editorial-market .market-editorial-inner{max-width:1440px!important;width:100%!important;box-sizing:border-box;padding-inline:40px!important}body.v2-performance.editorial-accounts .accounts-wallet-summary,body.v2-performance.editorial-accounts .accounts-wallet-summary>strong,body.v2-performance.editorial-accounts .accounts-wallet-equivalents{color:#17241e!important}body.v2-performance.editorial-accounts .accounts-wallet-summary small,body.v2-performance.editorial-accounts .accounts-wallet-equivalents span{color:#657268!important}body.platform-page .workspace-actions .public-live{font-size:11px;white-space:nowrap;color:#657268;letter-spacing:0}body.platform-page .workspace-actions .public-live[data-live=true]{color:#245b48}body.platform-page .workspace-actions .public-live[hidden]{display:none!important}
@media(max-width:760px){body.v2-performance.editorial-market .market-editorial-inner{padding-inline:20px!important}body.platform-page .workspace-actions .public-live{display:none}}
body.v2-performance.editorial-accounts .accounts-editorial-inner{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(300px,1fr);align-items:center;gap:36px;padding-block:32px!important}
body.v2-performance.editorial-accounts .accounts-editorial-inner>.page-heading{grid-column:1;grid-row:1;display:flex;flex-wrap:wrap;gap:18px;margin:0!important;padding:0!important;border:0!important}
body.v2-performance.editorial-accounts .accounts-editorial-inner>.accounts-wallet-summary{grid-column:2;grid-row:1;background:#e5ece3!important;border:1px solid #dce0d9;border-radius:16px;padding:24px!important;margin:0!important;text-align:left!important;align-items:flex-start!important}
body.v2-performance.editorial-accounts .accounts-wallet-summary>strong{font-size:46px!important;letter-spacing:-.04em}
body.v2-performance.editorial-accounts .accounts-wallet-summary .accounts-wallet-equivalents{justify-content:flex-start!important}
body.v2-performance .settings-card{max-width:900px;padding:26px}
body.v2-performance:not(.editorial-accounts):not(.editorial-market):not(.editorial-strategies)>main:not(#control-room){max-width:1440px;margin-inline:auto;padding:36px 40px 64px}
@media(max-width:760px){body.v2-performance.editorial-accounts .accounts-editorial-inner{grid-template-columns:1fr;padding-block:24px!important;gap:24px}body.v2-performance.editorial-accounts .accounts-editorial-inner>.page-heading{grid-column:1;grid-row:1}body.v2-performance.editorial-accounts .accounts-editorial-inner>.accounts-wallet-summary{grid-column:1;grid-row:2}body.v2-performance .settings-card{padding:22px}body.v2-performance:not(.editorial-accounts):not(.editorial-market):not(.editorial-strategies)>main:not(#control-room){padding:24px 20px 40px}}
body.platform-page .workspace-navigation-host{box-shadow:none!important;border-radius:0!important}
body.platform-page .workspace-desktop-nav a,body.platform-page .workspace-desktop-nav a[aria-current]{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important}
body.v2-performance.editorial-market .market-heading .eyebrow,body.v2-performance.editorial-market .market-editorial-intro>p{color:#657268!important}
body.v2-performance.editorial-market .market-price-hero .market-focus-price-note{border-color:#dce0d9!important}
body.v2-performance.editorial-market .market-token-sidebar .alita-market-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
@media(max-width:760px){body.v2-performance.editorial-market .market-editorial-chart-heading{flex-direction:column;align-items:flex-start;gap:8px}body.v2-performance.editorial-market .market-token-sidebar .alita-market-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body.v2-performance.editorial-market .alita-market-price{font-size:20px!important}body.v2-performance.editorial-market .alita-market-card{padding:16px!important;border:1px solid #dce0d9!important;border-radius:10px!important}}
/* Account performance aligns with the centred account-header canvas. */
body.platform-page.v2-performance.editorial-accounts.account-detail-page #account-overview>.account-focus-layout{width:calc(100% - 80px);max-width:1360px;grid-template-columns:minmax(0,1fr);margin-inline:auto}
body.platform-page.v2-performance.editorial-accounts.account-detail-page .account-focus-layout>.account-chart-card{grid-column:1 / -1;width:100%;max-width:none;box-sizing:border-box;min-width:0}
@media(max-width:760px){body.platform-page.v2-performance.editorial-accounts.account-detail-page #account-overview>.account-focus-layout{width:calc(100% - 40px)}}
/* Keep every account-detail section on the same canvas as the hero content. */
body.platform-page.v2-performance.editorial-accounts.account-detail-page #account-overview>:not(.account-detail-hero){width:calc(100% - 80px);max-width:1360px;margin-inline:auto;box-sizing:border-box;min-width:0}
@media(max-width:760px){body.platform-page.v2-performance.editorial-accounts.account-detail-page #account-overview>:not(.account-detail-hero){width:calc(100% - 40px)}}
body.platform-page.v2-performance .account-active-trade[data-direction=SHORT] .active-position-direction>strong{background:#b34343!important;color:#fff!important}
/* Compact account controls; the chart and summary cards carry the balances. */
body.platform-page.v2-performance.editorial-accounts.account-detail-page .account-detail-hero{padding:18px 0 20px;margin:0 0 16px}
body.platform-page.v2-performance.editorial-accounts.account-detail-page .account-detail-hero-inner{grid-template-columns:minmax(0,1fr) auto;gap:10px 24px;align-items:center}
body.platform-page.v2-performance.editorial-accounts.account-detail-page .account-detail-top{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;margin:0;gap:16px}
body.platform-page.v2-performance.editorial-accounts.account-detail-page .account-detail-hero h1{margin:0;font-size:24px;line-height:1.2}
body.platform-page.v2-performance.editorial-accounts.account-detail-page .account-detail-hero .account-health{grid-column:2;grid-row:2;display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin:0}
body.platform-page.v2-performance.editorial-accounts.account-detail-page .account-detail-hero .account-health small{flex-basis:100%;text-align:right;font-size:11px}
body.platform-page.v2-performance.editorial-accounts.account-detail-page .account-detail-hero .account-manage-link{margin:0;min-height:32px;padding:4px 0}
@media(max-width:650px){body.platform-page.v2-performance.editorial-accounts.account-detail-page .account-detail-hero-inner{grid-template-columns:minmax(0,1fr)}body.platform-page.v2-performance.editorial-accounts.account-detail-page .account-detail-hero .account-health{grid-column:1;grid-row:auto;justify-content:flex-start}body.platform-page.v2-performance.editorial-accounts.account-detail-page .account-detail-hero .account-health small{flex-basis:auto;text-align:left}}

/* Account dialogs use the same light surfaces as the V2 account page. */
body.platform-page.v2-performance.platform-accounts .live-room dialog{color-scheme:light;background:#f5f4f0;color:#17241e;border-color:#dce0d9;box-shadow:0 24px 80px #17241e26;scrollbar-color:#a8b6aa #f5f4f0}
body.platform-page.v2-performance.platform-accounts .live-room dialog::backdrop{background:#17241e66;backdrop-filter:blur(5px)}
body.platform-page.v2-performance.platform-accounts .live-room dialog .dialog-heading{background:#f5f4f0;border-color:#dce0d9}
body.platform-page.v2-performance.platform-accounts .live-room dialog :is(input,select,textarea){background:#fff;color:#17241e;border-color:#cbd3ca}
body.platform-page.v2-performance.platform-accounts .live-room dialog :is(button,input,select,textarea):disabled{opacity:1;background:#e5e9e2;color:#59665d;border-color:#d2d9d0;cursor:default;-webkit-text-fill-color:#59665d}
body.platform-page.v2-performance.platform-accounts .live-room dialog :is(p,label,dt,summary,.account-row>span){color:#59665d}
body.platform-page.v2-performance.platform-accounts .live-room dialog :is(h2,h3,dd){color:#17241e}

/* Strategy detail shares the compact, centred account-detail canvas. */
body.platform-page.v2-performance.strategy-detail-page main#control-room{max-width:1440px;padding:18px 40px 48px!important;margin-inline:auto!important}
body.platform-page.v2-performance.strategy-detail-page #control-room>.strategy-wallet-hero{display:none!important}
body.platform-page.v2-performance.strategy-detail-page #control-room .strategy-toolbar{margin:0 0 16px;padding:0;min-height:44px}
body.platform-page.v2-performance.strategy-detail-page #control-room .strategy-back-button{background:transparent;color:#245b48;border:0;border-radius:0;padding:8px 0;box-shadow:none}
body.platform-page.v2-performance.strategy-detail-page #control-room .strategy-back-button:hover{background:transparent;color:#17241e}
body.platform-page.v2-performance.strategy-detail-page #control-room .trading-workspace{gap:20px;grid-template-columns:minmax(0,1fr)}
body.platform-page.v2-performance.strategy-detail-page #control-room .chart-price-column{margin-bottom:16px;background:transparent}
body.platform-page.v2-performance.strategy-detail-page #control-room .chart-price-column>#market-header{padding:14px 0}
body.platform-page.v2-performance.strategy-detail-page #control-room #metrics{margin-block:20px;padding:18px 22px}
body.platform-page.v2-performance.strategy-detail-page #control-room :is(.signal-record,.bottom>div){margin-block:0 20px;background:transparent;border-color:#dce0d9;box-shadow:none}
@media(max-width:760px){body.platform-page.v2-performance.strategy-detail-page main#control-room{padding:16px 20px 32px!important}body.platform-page.v2-performance.strategy-detail-page #control-room #metrics{padding:14px}}

body.platform-page.v2-performance.strategy-detail-page #control-room .strategy-market-movement{display:none}
body.platform-page.v2-performance.strategy-detail-page #control-room .chart-price-column{grid-template-columns:minmax(0,1fr)}

body.platform-page.v2-performance.strategy-detail-page #chart{height:615px}
@media(max-width:600px){body.platform-page.v2-performance.strategy-detail-page #chart{height:435px}}

body.v2-performance #market-header .market-price-label{display:block;color:#59665d;font-size:12px;font-weight:500;margin:8px 0 4px;line-height:1.5}

/* Keep every market-watch asset aligned regardless of name length. */
body.wallet-overview .wallet-assets .alita-market-token{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;margin:0;min-width:0}
body.wallet-overview .wallet-assets .alita-market-token>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;min-width:0}
body.wallet-overview .wallet-assets .alita-market-token h3{margin:0!important;line-height:1.4}
body.wallet-overview .wallet-assets .alita-market-token div>span{line-height:1.4;white-space:nowrap}
body.wallet-overview .wallet-assets .alita-asset-icon{display:grid;place-items:center;width:34px;height:34px;margin:0;justify-self:center}

/* Override the former horizontal-card gutters for every market-watch row. */
body.platform-page.platform-home.wallet-overview .home-market-layout .wallet-assets .alita-market-grid>.alita-market-card{padding:15px 0!important;margin:0!important;width:100%;box-sizing:border-box}

/* Dashboard performance uses the default view without extra mode toggles. */
body.wallet-overview .home-wallet-performance-controls>label:has(input[type=checkbox]){display:none!important}

/* Dashboard panels share one equal-width column grid. */
@media(min-width:761px){body.wallet-overview:not(.public-performance-view) :is(.wallet-top,.wallet-bottom){grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}}

/* Dedicated Market Watch view reuses the live dashboard market components. */
body.wallet-overview.market-watch-page .wallet-top,body.wallet-overview.market-watch-page .strategy-review,body.wallet-overview.market-watch-page .research-outlook{display:none!important}
body.wallet-overview.market-watch-page .wallet-bottom{margin-top:0;padding-top:0;border-top:0}
body.wallet-overview.market-watch-page .wallet-eyebrow{display:none}
body.wallet-overview.market-watch-page .market-watch-back{display:inline-block;color:#245b48;text-decoration:none;font-size:12px;margin-bottom:18px}

/* Keep the light dashboard canvas continuous below short pages and on overscroll. */
html:has(body.wallet-overview),html:has(body.v2-performance){background:#f5f4f0!important;color-scheme:light;--ui-bg:#f5f4f0;min-height:100%}
body.platform-page.wallet-overview,body.platform-page.v2-performance{min-height:100vh;min-height:100dvh}

/* Share the overview canvas width and gutters across all V2 workspaces. */
body.platform-page{--workspace-width:1360px;--workspace-gutter:48px}
body.platform-page .workspace-navigation,
body.wallet-overview main.home-market-layout,
body.v2-performance:not(.editorial-accounts):not(.editorial-market):not(.editorial-strategies)>main:not(#control-room),
body.v2-performance main#control-room,
body.v2-performance.editorial-market .market-editorial-inner,
body.v2-performance.editorial-market .market-editorial-hero-inner,
body.v2-performance.editorial-market .market-editorial-dark-inner,
body.v2-performance.editorial-accounts .accounts-editorial-inner,
body.v2-performance.editorial-accounts .account-detail-hero-inner{
 max-width:var(--workspace-width)!important;
 width:100%!important;box-sizing:border-box;margin-inline:auto!important;
 padding-inline:var(--workspace-gutter)!important;
}
body.platform-page.v2-performance.editorial-accounts.account-detail-page #account-overview>:not(.account-detail-hero){
 width:calc(100% - 2 * var(--workspace-gutter));
 max-width:calc(var(--workspace-width) - 2 * var(--workspace-gutter));
}
@media(max-width:760px){body.platform-page{--workspace-gutter:22px}}

/* Use the market header on overview and login, without legacy topbar typography. */
body.platform-page .workspace-navigation-host{
 width:100%;max-width:none;margin:0;min-height:0;height:auto;
 font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
 font-size:14px;font-weight:400;letter-spacing:normal;
}
body.platform-page .workspace-navigation{
 font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
 font-size:14px;font-weight:400;letter-spacing:normal;line-height:normal;
}
body.platform-page .workspace-navigation .workspace-actions{display:none!important}
body.platform-page .workspace-menu-panel #login-open{display:block;width:100%;box-sizing:border-box;margin-top:10px;text-align:center;font-size:12px;letter-spacing:normal}
body.platform-page .workspace-navigation{height:82px!important;min-height:82px!important}
@media(max-width:900px){body.platform-page .workspace-navigation{height:72px!important;min-height:72px!important}}
@media(max-width:900px){body.platform-page .workspace-navigation .workspace-menu{margin-left:auto!important}}
/* Give the sign-in dialog the same spacing and controls as the workspace. */
body.platform-page #welcome-signin{box-sizing:border-box;width:min(400px,calc(100vw - 32px));max-width:400px;max-height:calc(100dvh - 32px);overflow:auto;padding:32px;border:1px solid #dce0d9;border-radius:18px;background:#f5f4f0;color:#17241e;font:14px/1.5 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;box-shadow:0 24px 80px #17241e33}
body.platform-page #welcome-signin #login-close{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:40px;height:40px;min-height:40px;margin:0;padding:0;border:0;border-radius:8px;background:transparent;color:#657268;font:24px/1 system-ui;cursor:pointer}
body.platform-page #welcome-signin #login-close:hover{background:#e5ece3;color:#245b48}
body.platform-page #welcome-signin h2{margin:8px 28px 26px 0;font-size:26px;font-weight:650;line-height:1.2;letter-spacing:-.035em}
body.platform-page #welcome-signin form{display:grid;gap:20px;margin:0}
body.platform-page #welcome-signin label{display:grid;gap:10px;font-size:13px;font-weight:500;color:#526457}
body.platform-page #welcome-signin input{box-sizing:border-box;width:100%;min-width:0;min-height:52px;margin:0;padding:12px 14px;border:1px solid #cbd5ca;border-radius:9px;background:#fff;color:#17241e;font:inherit;font-size:16px;line-height:1.5}
body.platform-page #welcome-signin input[inputmode=numeric]{font-family:ui-monospace,monospace;font-size:24px;letter-spacing:.32em;text-align:center}
body.platform-page #welcome-signin form button{box-sizing:border-box;width:100%;min-height:48px;margin:0;padding:12px 18px;border:0;border-radius:9px;background:#245b48;color:#fff;font:600 14px/1.5 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;cursor:pointer}
body.platform-page #welcome-signin form button:hover{background:#1c4839}
body.platform-page #welcome-signin form button:disabled{opacity:.6;cursor:wait}
body.platform-page #welcome-signin [data-auth-status]{margin:0;font-size:13px;line-height:1.5;color:#a13939;overflow-wrap:anywhere}
body.platform-page #welcome-signin [data-auth-status]:empty{display:none}
body.platform-page #welcome-signin :is(input,button):focus-visible{outline:2px solid #3f8062;outline-offset:3px}
@media(max-width:480px){body.platform-page #welcome-signin{padding:28px 24px}}

/* Strategy detail follows the market page: back link, heading, then chart. */
body.platform-page.v2-performance.strategy-detail-page main#control-room{padding-top:28px!important}
body.platform-page.v2-performance.strategy-detail-page #control-room>.strategy-back-button{display:inline-flex;align-items:center;min-height:24px;margin:0 0 28px;padding:0;font-size:13px;line-height:24px;text-decoration:none}
body.platform-page.v2-performance.strategy-detail-page #control-room .strategy-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 0 24px;position:static}
body.platform-page.v2-performance.strategy-detail-page .room-heading{min-width:0;flex:1;margin:0}
body.platform-page.v2-performance.strategy-detail-page .room-heading>div{min-width:0}
body.platform-page.v2-performance.strategy-detail-page .room-heading h1{margin:12px 0 10px;font-size:30px;line-height:1.2}
body.platform-page.v2-performance.strategy-detail-page .room-heading p{margin:0 0 12px}
body.platform-page.v2-performance.strategy-detail-page .room-header-actions{margin:0;align-self:center}
@media(max-width:760px){body.platform-page.v2-performance.strategy-detail-page #control-room .strategy-toolbar{flex-direction:column;gap:16px}body.platform-page.v2-performance.strategy-detail-page .room-header-actions{align-self:flex-start}body.platform-page.v2-performance.strategy-detail-page .room-heading h1{font-size:28px}}
/* Detail pages share one back-link row and distance below navigation. */
body.platform-page{--workspace-back-top:28px;--workspace-back-gap:28px}
body.platform-page.v2-performance.editorial-market .market-editorial-hero,
body.platform-page.v2-performance.editorial-accounts.account-detail-page .account-detail-hero{padding-top:var(--workspace-back-top)!important}
body.platform-page.v2-performance.strategy-detail-page main#control-room,
body.platform-page.wallet-overview.market-watch-page main.home-market-layout{padding-top:var(--workspace-back-top)!important}
body.platform-page :is(.market-back,.strategy-back-button,.market-watch-back),
body.platform-page.v2-performance.editorial-accounts.account-detail-page .account-detail-top>a{
 display:inline-flex!important;align-items:center;box-sizing:border-box;
 min-height:24px!important;height:24px;padding:0!important;
 margin:0 0 var(--workspace-back-gap)!important;
 color:#245b48!important;background:transparent;border:0;border-radius:0;
 font:400 13px/24px Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
 letter-spacing:normal;text-decoration:none;box-shadow:none;
}
body.platform-page.v2-performance.editorial-accounts.account-detail-page .account-detail-top{position:relative;display:block;margin:0;min-height:0}
body.platform-page.v2-performance.editorial-accounts.account-detail-page .account-detail-top>.account-manage-link{position:absolute;right:0;top:0;margin:0}
body.platform-page.v2-performance.editorial-accounts.account-detail-page .account-detail-hero-inner{row-gap:0}
body.platform-page :is(.market-back,.strategy-back-button,.market-watch-back):focus-visible,
body.platform-page .account-detail-top>a:focus-visible{outline:2px solid #3f8062;outline-offset:4px}
body.platform-page.v2-performance.strategy-detail-page main#control-room{padding-inline:var(--workspace-gutter)!important}

/* Open trade quantities sit at the bottom right of the wallet card. */
.wallet-balance-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(85px,.55fr);column-gap:16px}
.wallet-balance-card>.wallet-card-label{grid-column:1 / -1}
.wallet-balance-card>.wallet-card-footer{grid-column:1;flex-wrap:wrap;gap:10px}
.wallet-balance-card>.wallet-balance,.wallet-balance-card>.wallet-starting-balance,.wallet-balance-card>.wallet-day{grid-column:1}
.wallet-balance-card>.wallet-traded-tokens{grid-column:2;grid-row:2 / 6;align-self:end;display:flex;flex-direction:column;gap:14px;text-align:right;min-width:0;max-height:190px;overflow-y:auto}
.wallet-traded-tokens>div{display:flex;align-items:baseline;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.wallet-traded-tokens strong{font-size:clamp(20px,2.5vw,30px);font-weight:550;line-height:1.15;letter-spacing:-.035em;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.wallet-traded-tokens span{font-size:11px;color:#d5e1d6}
@media(max-width:400px){.wallet-balance-card{column-gap:10px;padding:22px 18px}.wallet-balance-card .wallet-balance strong{font-size:34px}.wallet-balance-card .wallet-balance{gap:6px}.wallet-balance-card .wallet-balance>span{font-size:13px}.wallet-traded-tokens strong{font-size:22px}}

.wallet-reporting-history{margin-top:32px;padding-top:24px;border-top:1px solid var(--ui-border,#dce0d9);min-width:0}
.wallet-reporting-history h2{font-size:22px;margin:0 0 10px}.wallet-history-filters{display:flex;gap:8px;margin:16px 0}.wallet-history-filters button{padding:8px 14px;border:1px solid var(--ui-border,#dce0d9);border-radius:8px;background:transparent;color:inherit}.wallet-history-filters button[aria-pressed=true]{background:#245b4814;color:#245b48;border-color:#245b4850}
.wallet-reporting-scroll{max-width:100%;overflow:auto}.wallet-reporting-scroll table{width:100%;border-collapse:collapse;font-size:12px}.wallet-reporting-scroll th,.wallet-reporting-scroll td{text-align:left;white-space:nowrap;padding:12px;border-bottom:1px solid var(--ui-border,#dce0d9)}
