:root{--terminal-bg:#080d14;--terminal-panel:#101923;--terminal-border:#263542;--terminal-text:#e7edf3;--terminal-muted:#a2b1bf;--terminal-accent:#55e3b6;--terminal-positive:#42d7a3;--terminal-negative:#ff7389;--terminal-radius:12px;--terminal-space:16px;--terminal-font:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif}
html{scroll-padding-top:90px}
:root{--bg:var(--terminal-bg);--panel:var(--terminal-panel);--line:var(--terminal-border);--ink:var(--terminal-text);--muted:var(--terminal-muted);--accent:var(--terminal-accent)}
body{font-family:var(--terminal-font)}
main>header{height:auto;min-height:68px;gap:12px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid var(--terminal-border)}
body:not(:has(.appShell)) main>header{position:sticky;top:0;z-index:60;background:var(--terminal-bg)}
.basic-filters-title{font-size:13px;margin:18px 22px 0;color:var(--terminal-muted)}
.terminal-desktop-account{min-width:110px}
:is(button,a,summary,input,select,textarea):focus-visible{outline:2px solid var(--terminal-accent);outline-offset:3px}
.positive{color:var(--terminal-positive)}.negative{color:var(--terminal-negative)}
.panel,.card,.trading-card,.recommendation-card{min-width:0;border-radius:var(--terminal-radius)}
.panel-head{gap:12px;flex-wrap:wrap}.panel-head h2{margin:0}
input,select,textarea{min-width:0;font:inherit}button,summary{touch-action:manipulation}
.notification-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--terminal-border)}
.notification-row span{min-width:0;overflow-wrap:anywhere}.notification-row button{flex:none}
.terminal-copy{font:600 11px var(--terminal-font);padding:5px 8px;margin-left:8px;background:transparent;color:var(--terminal-accent);border:1px solid var(--terminal-border);border-radius:6px;cursor:pointer}
.terminal-toast{position:fixed;bottom:calc(20px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);padding:12px 18px;border:1px solid var(--terminal-border);border-radius:10px;background:var(--terminal-panel);color:var(--terminal-text);z-index:1000;max-width:calc(100vw - 24px)}
.terminal-data-table td{font-variant-numeric:tabular-nums}
@media(max-width:700px){.terminal-data-table,.terminal-data-table tbody{display:block;width:100%;min-width:0}.terminal-data-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.terminal-data-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:1px solid var(--terminal-border);border-radius:12px;padding:14px;margin:12px 0}.terminal-data-table td{display:block;min-width:0;padding:0;white-space:normal;overflow-wrap:anywhere}.terminal-data-table td::before{content:attr(data-label);display:block;color:var(--terminal-muted);font-size:11px;margin-bottom:4px}}
@media(max-width:700px){.notification-row{align-items:flex-start;flex-wrap:wrap}.notification-row button{margin-left:auto}}
@media(max-width:700px){body>aside nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:4px}body>aside .nav{min-height:44px;white-space:normal;padding:8px;font-size:12px}body>aside .brand{margin-bottom:18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{scroll-behavior:auto!important}}

/* Native top-layer drawer is independent of transformed workspace headers. */
.terminal-navigation-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(380px,100vw);height:100dvh;max-height:100dvh;max-width:100vw;padding:20px;border:1px solid var(--terminal-border,#263542);background:var(--terminal-panel,#101923);color:var(--terminal-text,#e7edf3);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box}.terminal-navigation-drawer::backdrop{background:#020810bb}.terminal-navigation-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.terminal-navigation-heading h2{font:650 22px system-ui;margin:0}.terminal-navigation-drawer button{min-height:44px;border:1px solid #29404d;border-radius:8px;padding:10px;background:#13252b;color:#55e3b6}.terminal-navigation-drawer>nav,.terminal-navigation-drawer>section{position:static!important;display:grid!important;gap:6px;width:100%!important;min-width:0!important;max-height:none!important;overflow:visible!important;padding:0!important;border:0!important;background:transparent!important}.terminal-navigation-drawer a{display:flex!important;align-items:center;min-height:44px;padding:12px;color:#a2b1bf;font:600 14px system-ui;text-decoration:none;white-space:normal;overflow-wrap:anywhere;border-radius:8px}.terminal-navigation-drawer a[aria-current=page]{color:#55e3b6;background:#55e3b615}.terminal-navigation-drawer details>section{position:static;display:grid;border:0;padding-left:12px;background:transparent;max-height:none}.terminal-navigation-drawer :focus-visible{outline:2px solid #55e3b6;outline-offset:2px}body:has(.terminal-navigation-drawer[open]){width:100%}

.terminal-navigation-drawer a{justify-content:flex-start;font-size:15px}
