:root{--surface:#15111e;--raised:#211b30;--ink:#eef0f8;--muted:#968ea9;--accent:#a78bfa;scrollbar-color:#514263 #100d18;scrollbar-width:thin}
*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:#100d18;border-radius:10px}*::-webkit-scrollbar-thumb{background:#514263;border-radius:10px;border:2px solid #100d18}*::-webkit-scrollbar-thumb:hover{background:#75608e}
body{font-size:13px!important}main{scrollbar-gutter:stable;padding-top:8px!important}nav button{font-size:13px!important}nav[style*="display:grid"]>button{height:42px!important}main section{border-radius:16px!important}
.sidebar-nav{overflow-x:hidden!important}.sidebar-nav button{padding:0 10px!important;gap:9px!important;min-width:0}.sidebar-nav button>span:not(:last-child){min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis}.sidebar-nav button>span:last-child{flex:none}
.terminal-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 300px!important;gap:14px!important;min-height:510px!important;align-items:stretch}
.chart-panel{padding:0!important;background:none!important;gap:0!important}.chart-surface{padding:0!important;background:none!important;display:flex!important;align-items:stretch!important;border-radius:14px!important;overflow:hidden}.chart-surface #dev-price-chart{padding:10px!important;background:#100d18;border-radius:14px;min-height:470px!important;gap:8px!important}#neo-live-chart{flex:1}
.command-panel{padding:16px!important;gap:10px!important}.command-panel .stream-event{gap:8px!important;padding:8px!important;grid-template-columns:44px minmax(0,1fr) auto!important}.command-panel .stream-event>div:first-child{height:42px!important}.command-panel span{max-width:100%}.command-panel .list-disclosure{flex-wrap:wrap}
.metric-card{padding:14px 18px!important;gap:4px!important;border-radius:15px!important;cursor:default}.metric-card>span:nth-child(2){font-size:27px!important}.metric-card>span:first-child{font-size:10px!important}.metric-card>span:last-child{font-size:11px!important}
.replay-calendar{padding:18px!important;min-height:470px!important}.day-trades{padding:16px!important;max-width:345px}.setup-grid-host>div{gap:14px!important}.setup-card{gap:9px!important;padding-bottom:12px!important;border-radius:15px!important}.setup-card>div:last-child{padding:0 12px!important;gap:6px!important}.setup-card>div:last-child>span{font-size:14px!important}.setup-card [style*="min-height:28px"]{font-size:11px!important;padding:0 7px!important;min-height:24px!important}.setup-card [style*="min-height:26px"]{font-size:10px!important;padding:0 6px!important;min-height:23px!important}
.news-country{border:0;border-radius:10px;background:#211b30;color:#eee;padding:10px 12px;font:600 13px Archivo,system-ui}.news-agenda{display:grid;gap:12px}.news-day{display:grid;grid-template-columns:104px minmax(0,1fr);gap:20px;padding:18px;background:#15111e;align-items:start}.news-date{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:2px 8px}.news-date>b{font-size:26px;color:#d5c6ff}.news-date>span{font-size:11px;color:#a79bb9}.news-date>strong,.news-date>small{grid-column:1/-1}.news-date>strong{font-size:13px}.news-date>small{font-size:10px;color:#8f89a3}.news-day-events{min-width:0;display:grid;gap:6px}.news-event{display:grid;grid-template-columns:90px minmax(160px,1fr) 58px repeat(3,minmax(60px,86px));gap:14px;align-items:center;min-height:58px;padding:10px 14px;background:#1c1628;border-radius:11px;cursor:default}.news-event:hover{background:#282036}.news-time{font:600 12px 'JetBrains Mono',monospace}.news-time>small{display:block;font-size:10px;color:#8f89a3;margin-top:3px}.news-name{font-size:13px;font-weight:700}.news-impact{font-size:10px;font-weight:800;border-radius:7px;padding:4px 7px;text-align:center}.news-figure{display:grid;gap:3px;font-size:12px;font-weight:600}.news-figure>small{font-size:9px;letter-spacing:.04em;color:#8f89a3}.news-empty{font-size:12px;color:#71687f;padding:6px 0;margin:0}
[data-details]{cursor:pointer}[data-details]:hover{filter:brightness(1.09)}[data-details]:focus-visible{outline:2px solid #a78bfa;outline-offset:3px}
.setup-overlay{display:flex!important;justify-content:flex-end!important;align-items:stretch!important;padding:12px!important;background:#06040d99!important;backdrop-filter:blur(5px)!important}.setup-drawer{width:min(790px,100%)!important;max-width:none!important;max-height:none!important;height:100%!important;align-content:start;box-sizing:border-box;border-radius:22px!important;padding:24px!important;box-shadow:-20px 0 100px #0007!important}
.detail-drawer{position:fixed;inset:0 0 0 auto;width:min(560px,94vw);max-width:none;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:22px 0 0 22px;background:#15111f;color:#eef0f8;box-shadow:-20px 0 100px #0007;overflow:hidden}
.detail-drawer[open]{display:flex;flex-direction:column}
html:has(.detail-drawer[open]),body:has(.detail-drawer[open]){overflow:hidden!important}.detail-drawer::backdrop{background:#06040d88;backdrop-filter:blur(4px)}.detail-head{display:flex;flex-shrink:0;align-items:start;gap:16px;padding:25px 24px 18px}.detail-head h2{font-size:21px;margin:0;font-weight:800}.detail-head p{font-size:12px;color:#968ca8;margin:7px 0 0}.detail-close{margin-left:auto;flex:none;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:10px;background:#2a2238;color:#eee;line-height:1} .detail-close svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.detail-body{padding:0 24px 30px;display:grid;gap:12px;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}.detail-body [data-details]{display:grid!important;grid-template-columns:1fr!important;height:auto!important;gap:14px!important;cursor:default!important;filter:none!important;min-height:0!important}.detail-body [style*="overflow:hidden"]{overflow:visible!important;white-space:normal!important;text-overflow:clip!important}.detail-body .news-event{padding:18px}.detail-body .news-event>*{padding:6px 0}.detail-body .detail-calendar{padding:16px;background:#1e1729;border-radius:12px}.detail-body .detail-calendar>div{display:grid;gap:10px}.detail-body .detail-calendar .trade-row{height:auto!important;padding:12px!important;display:grid!important;grid-template-columns:1fr auto!important}.detail-body .list-disclosure{display:none}
.user-popover{position:fixed;z-index:40;left:var(--menu-left,24px);bottom:var(--menu-bottom,90px);width:var(--menu-width,210px);padding:6px;border:1px solid var(--look-border,#40364f);border-radius:12px;background:var(--look-surface,#251d34);color:var(--look-ink,#eef0f8);box-shadow:0 10px 30px #18233733}.user-popover button{display:block;width:100%;text-align:left;font-size:13px;padding:12px;border:0;border-radius:7px;background:transparent;color:inherit}.user-popover button:hover{background:var(--look-hover,#382b4e)}.integrated-tools{display:flex;gap:6px;flex-wrap:wrap;flex:none;margin-bottom:10px}.integrated-tools button{padding:10px 14px;border-radius:10px;background:#1c1628;color:#a79bb9;font-size:12px;font-weight:700}.integrated-tools button[aria-pressed=true]{background:#6d4fe0;color:#fff}.integrated-frame{flex:none!important;display:block;overflow:hidden}
.detail-body .neo-m-modal{width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;border:0!important;background:none!important;box-shadow:none!important}.detail-body .neo-m-modal>div:first-child{display:none!important}
.detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}.detail-fields>div{padding:14px;border-radius:12px;background:#21192e;min-width:0}.detail-fields dt{font-size:10px;color:#9587a6;margin-bottom:7px}.detail-fields dd{font-size:14px;font-weight:700;margin:0;overflow-wrap:anywhere}
.setup-card>div:last-child{width:100%;min-width:0}.setup-card>div:last-child>div{min-width:0}.setup-card>div:last-child>div>div{min-width:0;flex:1}.setup-symbols{display:flex;flex-wrap:wrap;gap:6px}.setup-symbols>span:not(.setup-symbol-chip){padding:5px 9px;background:#2a2238;border-radius:7px;font:600 11px 'JetBrains Mono',monospace}
.news-toolbar{flex-wrap:wrap;justify-content:flex-start!important}
.news-day[data-empty=yes]{grid-template-columns:240px minmax(0,1fr);padding:10px 18px;background:transparent}.news-day[data-empty=yes] .news-date{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}.news-day[data-empty=yes] .news-date>b{font-size:20px}.news-day[data-empty=yes] .news-empty{padding:3px 0}
@media(max-width:1199px){.terminal-grid{grid-template-columns:minmax(0,1fr) 270px!important}.news-event{grid-template-columns:72px minmax(130px,1fr) 54px repeat(3,60px);gap:8px}.day-trades{max-width:none}.replay-calendar{flex-basis:620px!important}}
@media(min-width:860px) and (max-width:1599px){.day-trades{display:none!important}.replay-calendar{flex:1 1 100%!important}}
@media(max-width:859px){.terminal-grid{display:flex!important}.chart-panel,.command-panel{flex:1 1 100%!important}.chart-surface #dev-price-chart{min-height:440px!important}.news-day{grid-template-columns:1fr;gap:12px;padding:14px}.news-date{display:flex;flex-wrap:wrap;gap:7px;align-items:baseline}.news-event{grid-template-columns:64px minmax(0,1fr) 50px;gap:10px}.news-figure{font-size:11px}.news-agenda{gap:10px}.setup-drawer{padding:16px!important}.user-popover{bottom:82px;left:12px}.metric-card>span:nth-child(2){font-size:23px!important}}
@media(max-width:859px){.news-toolbar{gap:8px!important}.news-toolbar button{padding:0 12px!important;min-height:38px!important;font-size:12px!important}.news-toolbar select{font-size:12px;padding:9px}.command-panel{min-height:180px!important}.replay-calendar,.trade-table-panel{overflow-x:auto!important;flex:1 1 100%!important}.replay-calendar>div:not(:first-child),.trade-table-panel>div{min-width:640px}}
@media(max-width:859px){.news-day[data-empty=yes]{grid-template-columns:1fr;gap:4px;padding:10px 14px}}

.icon-close{display:grid!important;place-items:center!important;flex:none;width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;line-height:1!important}.icon-close svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}

.setup-view-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.setup-view-toolbar label{font-size:13px;font-weight:800;color:var(--look-ink)}
.setup-view-toolbar select{min-height:44px;max-width:100%;min-width:min(190px,100%);padding:0 32px 0 14px;border-radius:12px;border:1px solid var(--look-border,#d6cfe5);background:var(--look-surface,#fff);color:var(--look-ink,#181125);font:700 14px Archivo,sans-serif}
.setup-view-panel{display:grid;align-content:start;gap:12px;min-width:0;padding:20px 24px;border-radius:22px;background:var(--look-surface,#fff)}
.setup-view-panel p,.setup-view-panel small,.setup-view-row span,.setup-view-facts span{color:var(--look-muted,#625b71);overflow-wrap:anywhere}
.setup-view-panel p{margin:0}
.setup-view-facts{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.setup-view-events{flex:1 1 340px}
.setup-view-row{display:flex;gap:5px 14px;flex-wrap:wrap;padding:10px 12px;border-radius:10px;background:var(--look-alt,#f6f3fb)}
.setup-view-metrics{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr))}
.setup-view-metrics .metric-card{display:grid;gap:6px;padding:16px;border-radius:14px;background:var(--look-alt,#f6f3fb)}
.setup-view-metrics b{font:800 20px Archivo,sans-serif}
@media(max-width:480px){.setup-view-panel{padding:16px}.setup-view-metrics b{font-size:17px}}
.dashboard-subnav-slot:has(.setup-view-toolbar){flex-wrap:wrap;gap:10px 16px}
