:root {
  --ink: #f2f3ed;
  --muted: #8d958e;
  --faint: #616a63;
  --surface: rgba(16, 21, 23, .72);
  --line: rgba(214, 227, 216, .10);
  --line-strong: rgba(214, 227, 216, .17);
  --mint: #96ebc8;
  --mint-deep: #58b895;
  --red: #f2837e;
  --gold: #f2d392;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
  --display: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { background: #080b10; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); font-family: var(--sans); background: #080b10; overflow-x: hidden; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }

.noise { position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E"); }
.ambient { position: fixed; pointer-events: none; filter: blur(90px); opacity: .28; border-radius: 50%; }
.ambient-one { width: 38vw; height: 28vw; left: -15vw; top: 35vh; background: #0d594d; }
.ambient-two { width: 35vw; height: 30vw; right: -18vw; top: -8vh; background: #253e33; }

.terminal-shell { width: min(1540px, calc(100% - 40px)); margin: 20px auto 28px; border: 1px solid var(--line); background: rgba(10, 14, 16, .68); box-shadow: 0 22px 70px rgba(0,0,0,.35); position: relative; }
.terminal-shell::before, .terminal-shell::after { content: ""; position: absolute; width: 7px; height: 7px; border-color: rgba(192, 232, 211, .4); pointer-events: none; }
.terminal-shell::before { left: -1px; top: -1px; border-left: 1px solid; border-top: 1px solid; }
.terminal-shell::after { right: -1px; bottom: -1px; border-right: 1px solid; border-bottom: 1px solid; }

.topbar { height: 72px; display: flex; align-items: center; gap: 42px; padding: 0 24px; border-bottom: 1px solid var(--line); background: rgba(12, 16, 18, .65); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 15px/1 var(--mono); letter-spacing: .16em; white-space: nowrap; }
.brand-logo { display: block; width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(0,223,100,.2)); }
.main-nav { display: flex; align-items: center; align-self: stretch; gap: 28px; }
.main-nav a { position: relative; display: flex; align-items: center; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.main-nav a:hover { color: var(--ink); }.main-nav a.active { color: var(--ink); }.main-nav a.active::after { content: ""; height: 2px; position: absolute; left: 0; right: 0; bottom: 0; background: var(--mint); box-shadow: 0 0 13px var(--mint); }
.nav-badge { margin-left: 7px; color: var(--mint); font: 10px var(--mono); }
.top-actions { display: flex; gap: 10px; align-items: center; margin-left: auto; }.network-pill, .wallet-button, .mcp-pill { border: 1px solid var(--line-strong); background: rgba(216, 231, 220, .035); height: 35px; padding: 0 12px; border-radius: 4px; font-size: 11px; font-weight: 700; }.network-pill:hover { border-color: rgba(150,235,200,.45); }.status-dot, .green-dot { display: inline-block; width: 6px; height: 6px; margin-right: 7px; vertical-align: 1px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 3px rgba(150,235,200,.12); }.chevron { color: var(--muted); font-size: 16px; margin-left: 7px; }.wallet-button { color: #0c1614; background: var(--mint); border-color: var(--mint); padding: 0 14px; }.wallet-button:hover { background: #b5f7db; }.wallet-button span { margin-left: 7px; }.wallet-button.is-connected { color: #07140f; background: #b5f7db; }.wallet-button.is-connecting { cursor: wait; opacity: .72; }.wallet-button:disabled { cursor: wait; opacity: .72; }.mcp-pill { display: flex; align-items: center; gap: 7px; padding: 0 9px; color: #c5cdc6; }.mcp-pill:hover { border-color: rgba(150,235,200,.4); }.mcp-pill em { padding: 2px 4px; color: var(--mint); background: rgba(150,235,200,.09); font: 7px var(--mono); font-style: normal; }.mcp-mark { display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid rgba(150,235,200,.32); border-radius: 50%; color: var(--mint); font: 8px var(--mono); }

.market-tape { height: 51px; display: flex; align-items: stretch; padding-left: 24px; border-bottom: 1px solid var(--line); overflow: hidden; background: rgba(5,8,11,.28); }.tape-label { display: flex; align-items: center; gap: 7px; padding-right: 28px; font: 10px var(--mono); letter-spacing: .08em; white-space: nowrap; color: #b4bcb4; }.tape-label b { color: var(--mint); font-size: 9px; letter-spacing: .13em; }.live-dot { width: 5px; height: 5px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 10px var(--mint); }.tape-items { display: flex; height: 100%; }.tape-item { display: flex; align-items: center; gap: 10px; border: none; border-left: 1px solid var(--line); padding: 0 16px; background: transparent; color: #bdc4bd; font: 10px var(--mono); }.tape-item:hover, .tape-item.selected { background: rgba(150,235,200,.055); }.tape-item strong { color: var(--ink); font-size: 10px; }.tape-item em, .market-price em { color: var(--mint); font-style: normal; }.tape-item:nth-child(6) em { color: var(--red); }.tape-settings { margin-left: auto; min-width: 51px; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--muted); }

.workspace { display: grid; grid-template-columns: 250px minmax(0, 1fr) 310px; min-height: 590px; }.panel { background: var(--surface); }.watchlist, .chart-column { border-right: 1px solid var(--line); }.panel-heading { display: flex; justify-content: space-between; align-items: start; }.eyebrow { color: var(--faint); font: 10px/1.1 var(--mono); letter-spacing: .13em; }.panel-heading h2, .order-heading h2 { margin: 7px 0 0; font-size: 15px; letter-spacing: -.03em; }.watchlist { display: flex; flex-direction: column; }.watchlist-heading { padding: 22px 18px 15px; }.icon-button, .sliders-button, .star-button, .expand-button { border: 0; background: transparent; color: var(--muted); }.icon-button { font-size: 21px; line-height: 1; }.icon-button:hover, .star-button:hover { color: var(--mint); }.search-box { display: flex; align-items: center; gap: 8px; margin: 0 14px 15px; padding: 0 9px; height: 33px; border: 1px solid var(--line); background: rgba(0,0,0,.13); color: var(--faint); }.search-box input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }.search-box input::placeholder { color: #5d665f; }.watch-tabs { display: flex; padding: 0 16px; border-bottom: 1px solid var(--line); gap: 17px; }.watch-tabs button, .order-types button { height: 34px; position: relative; padding: 0; border: 0; background: transparent; color: var(--faint); font-size: 10px; font-weight: 700; }.watch-tabs button.active, .order-types button.active { color: var(--ink); }.watch-tabs button.active::after, .order-types button.active::after { content: ""; position: absolute; height: 1px; left: 0; right: 0; bottom: 0; background: var(--mint); }.market-list { padding: 7px 0; overflow: auto; }.market-row { width: 100%; display: flex; align-items: center; gap: 9px; padding: 10px 14px; border: 0; border-left: 2px solid transparent; text-align: left; background: transparent; }.market-row:hover, .market-row.selected { background: rgba(206, 233, 217, .05); border-left-color: var(--mint); }.avatar, .instrument-icon { display: grid; flex: 0 0 auto; place-items: center; width: 26px; height: 26px; border-radius: 7px; font: 700 12px var(--sans); }.nvidia { background: #78bd2e; color: #102507; }.tesla { background: #d8292f; color: #fff; }.apple { background: #f4f3ef; color: #17191a; }.palantir { background: #202e42; color: #bedaff; }.amazon { background: #ffb541; color: #111; }.microsoft { background: #3e80e6; color: #fff; }.market-name { display: grid; gap: 2px; }.market-name b { font: 11px var(--mono); }.market-name small { font-size: 9px; color: var(--faint); }.market-price { margin-left: auto; display: grid; gap: 2px; color: #d9ded8; text-align: right; font: 10px var(--mono); }.market-price em { font-size: 9px; }.market-price.down em { color: var(--red); }.watchlist-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding: 14px; border-top: 1px solid var(--line); font-size: 9px; color: var(--muted); }.watchlist-footer .green-dot { width: 5px; height: 5px; margin-right: 5px; }.watchlist-footer button { padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 9px; }

.chart-column { min-width: 0; display: flex; flex-direction: column; }.instrument-bar { min-height: 85px; padding: 20px 21px 17px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }.instrument-title { display: flex; align-items: center; gap: 10px; }.instrument-icon { width: 34px; height: 34px; border-radius: 9px; }.instrument-title h1 { margin: 5px 0 0; font: 600 17px/1 var(--sans); letter-spacing: -.04em; }.star-button { margin-left: 2px; font-size: 21px; }.instrument-stats { display: flex; gap: 24px; }.instrument-stats div { display: grid; gap: 5px; }.instrument-stats span { color: var(--faint); font: 8px var(--mono); letter-spacing: .08em; }.instrument-stats b { font: 500 11px var(--mono); }.positive { color: var(--mint); }.chart-controls { height: 43px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }.chart-control-left, .chart-control-right { display: flex; align-items: center; gap: 11px; }.chart-style, .timeframe, .indicator-btn, .tv-button { border: 0; background: transparent; color: var(--muted); font: 10px var(--mono); }.timeframe.active { color: var(--mint); }.timeframe:hover, .indicator-btn:hover, .tv-button:hover { color: var(--ink); }.control-divider { width: 1px; height: 15px; background: var(--line); }.indicator-btn span { font: 15px var(--sans); margin-left: 3px; }.tv-button { display: flex; align-items: center; gap: 5px; }.tv-logo { padding: 2px 3px; border: 1px solid rgba(143, 190, 255, .3); border-radius: 2px; color: #a4cdff; font: 7px var(--mono); }.expand-button { font-size: 16px; }
.chart-area { position: relative; flex: 1; min-height: 365px; overflow: hidden; background: linear-gradient(90deg, rgba(141, 235, 200, .02), transparent 24%, transparent 70%, rgba(141, 235, 200, .014)); }.chart-grid { position: absolute; inset: 0 44px 0 0; background-image: linear-gradient(to right, rgba(209,228,216,.055) 1px, transparent 1px), linear-gradient(to bottom, rgba(209,228,216,.07) 1px, transparent 1px); background-size: 16.6667% 25%; }.chart-grid span { position: absolute; color: #667068; font: 9px var(--mono); }.y { right: -42px; }.y1 { top: -5px; }.y2 { top: 24%; }.y3 { top: 49%; }.y4 { top: 74%; }.y5 { bottom: -5px; }.x { bottom: 10px; }.x1 { left: 4%; }.x2 { left: 19%; }.x3 { left: 36%; }.x4 { left: 53%; }.x5 { left: 70%; }.x6 { left: 87%; }.price-chart { position: absolute; inset: 0 44px 0 0; width: calc(100% - 44px); height: 100%; overflow: visible; }.chart-line { fill: none; stroke: var(--mint); stroke-width: 2; vector-effect: non-scaling-stroke; }.last-point { fill: #d4ffe9; stroke: var(--mint); stroke-width: 3; vector-effect: non-scaling-stroke; }.last-line { stroke: rgba(150, 235, 200, .35); stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }.price-marker { position: absolute; top: 20%; right: 0; transform: translateY(-50%); width: 42px; padding: 5px 0 4px; text-align: center; background: var(--mint); color: #0c1813; font: 9px var(--mono); }.price-marker b, .price-marker span { display: block; }.price-marker span { margin-top: 2px; font-size: 7px; }.chart-crosshair { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .2s; }.chart-area:hover .chart-crosshair { opacity: 1; }.chart-crosshair span { position: absolute; top: 25%; bottom: 36px; left: 59%; border-left: 1px dashed rgba(218,228,219,.27); }.chart-foot { min-height: 28px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--faint); font: 9px var(--mono); }.chart-foot .green-dot { width: 5px; height: 5px; margin-right: 5px; }

.order-panel { padding: 21px 18px 15px; }.order-heading { display: flex; align-items: start; justify-content: space-between; }.sliders-button { font-size: 18px; transform: rotate(90deg); }.execution-route { display: flex; align-items: center; gap: 7px; margin-top: 14px; padding: 8px 9px; border: 1px solid var(--line); background: rgba(150,235,200,.025); font: 7px var(--mono); }.execution-route > span { color: var(--faint); }.execution-route b { color: #bdc6bf; font-weight: 500; }.execution-route b i { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: var(--mint); }.execution-route em { margin-left: auto; color: var(--mint); font-style: normal; }.wallet-status { display: flex; align-items: center; gap: 7px; min-height: 27px; margin-top: 7px; padding: 0 9px; border: 1px solid rgba(216,231,220,.1); color: var(--faint); background: rgba(216,231,220,.018); font: 7px var(--mono); }.wallet-status i { width: 5px; height: 5px; border-radius: 50%; background: #7c8780; }.wallet-status.connected { color: var(--mint); border-color: rgba(150,235,200,.2); background: rgba(150,235,200,.04); }.wallet-status.connected i { background: var(--mint); box-shadow: 0 0 0 3px rgba(150,235,200,.1); }.wallet-status.connecting { color: #e2cf91; }.wallet-status.connecting i { background: #e2cf91; animation: wallet-pulse 1s ease-in-out infinite; }.wallet-status.error { color: #e4a09a; }.wallet-status.error i { background: #e4a09a; }.wallet-button.is-connected { min-width: 138px; color: #07140f; background: #b5f7db; }.wallet-button:disabled, .trade-button:disabled { cursor: wait; opacity: .72; }@keyframes wallet-pulse { 50% { transform: scale(.55); opacity: .45; } }.side-toggle { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; margin-top: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.13); }.side-toggle button { height: 31px; border: 0; color: var(--muted); background: transparent; font-size: 11px; font-weight: 700; }.side-toggle button.active { color: #07140f; background: var(--mint); box-shadow: 0 2px 8px rgba(0,0,0,.25); }.side-toggle button[data-side="Sell"].active { background: #f09890; }.order-types { display: flex; gap: 20px; height: 44px; border-bottom: 1px solid var(--line); }.order-form { padding-top: 18px; }.order-form label { display: grid; grid-template-columns: 1fr auto; gap: 7px; margin-bottom: 14px; color: var(--muted); font-size: 10px; }.order-form label > span { font: 9px var(--mono); color: var(--faint); }.input-shell { grid-column: 1 / -1; display: flex; align-items: center; height: 39px; padding: 0 8px 0 11px; border: 1px solid var(--line-strong); background: rgba(0,0,0,.19); }.input-shell:focus-within { border-color: rgba(150,235,200,.6); }.input-shell input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font: 12px var(--mono); }.adjust-button { border: 0; padding: 4px 6px; color: var(--mint); background: rgba(150,235,200,.12); font: 8px var(--mono); }.input-suffix { color: var(--faint); font: 9px var(--mono); }.size-presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 0 0 18px; }.size-presets button { height: 25px; border: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,.025); font: 9px var(--mono); }.size-presets button:hover { color: var(--mint); border-color: rgba(150,235,200,.35); }.order-total { display: flex; justify-content: space-between; padding: 6px 0; color: var(--muted); font-size: 10px; }.order-total b { color: #d9ded8; font: 10px var(--mono); }.order-total small { margin-left: 4px; padding: 2px 4px; color: var(--mint); background: rgba(150,235,200,.1); font: 7px var(--mono); }.trade-button { display: flex; justify-content: space-between; align-items: center; width: 100%; height: 42px; margin-top: 16px; padding: 0 13px; border: 1px solid var(--mint); background: transparent; color: var(--mint); font-size: 11px; font-weight: 800; }.trade-button:hover { background: var(--mint); color: #09140f; }.trade-button b { font-size: 16px; }.vault-note { display: flex; align-items: start; gap: 8px; margin-top: 15px; padding: 12px 0 0; border-top: 1px solid var(--line); }.vault-note p { flex: 1; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }.vault-note p b { color: #c5ccc5; }.vault-icon { color: var(--mint); font-size: 12px; }.vault-note button { padding: 0; border: 0; color: var(--muted); background: transparent; font-size: 18px; }

.agentic-workbench { border-top: 1px solid var(--line); background: rgba(10,15,15,.82); }.workbench-heading { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 0 23px; border-bottom: 1px solid var(--line); }.workbench-heading h2 { margin: 7px 0 0; font-size: 16px; letter-spacing: -.03em; }.workbench-tabs { align-self: stretch; display: flex; gap: 25px; }.workbench-tabs button { position: relative; border: 0; background: transparent; color: var(--faint); font-size: 10px; font-weight: 700; }.workbench-tabs button.active { color: var(--ink); }.workbench-tabs button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--mint); }.workbench-tabs button span { margin-left: 4px; color: var(--mint); font: 8px var(--mono); }.agent-connection-button { justify-self: end; display: grid; grid-template-columns: auto auto; grid-template-rows: 1fr 1fr; column-gap: 8px; min-width: 154px; height: 40px; padding: 6px 10px; border: 1px solid rgba(150,235,200,.23); text-align: left; background: rgba(150,235,200,.035); }.agent-connection-button .connection-pulse { grid-row: 1 / 3; align-self: center; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(150,235,200,.08), 0 0 12px var(--mint); }.agent-connection-button b { font-size: 9px; }.agent-connection-button em { color: var(--mint); font: 7px var(--mono); font-style: normal; }.workbench-view { display: none; }.workbench-view.active { display: grid; }.workbench-view[data-view="copilot"] { grid-template-columns: minmax(440px, 1.55fr) minmax(265px, .78fr) minmax(280px, .85fr); }.strategy-thread, .approval-queue { border-right: 1px solid var(--line); }.strategy-thread { display: flex; flex-direction: column; min-width: 0; }.thread-head { min-height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--line); }.agent-identity { display: flex; align-items: center; gap: 9px; }.agent-identity p { display: grid; gap: 3px; margin: 0; }.agent-identity b { font-size: 10px; }.agent-identity small { color: var(--faint); font: 7px var(--mono); }.thread-more { border: 0; color: var(--faint); background: transparent; }.thread-body { min-height: 392px; padding: 17px 18px; }.thread-message { display: grid; grid-template-columns: 44px 1fr auto; gap: 9px; align-items: start; padding: 12px 0; }.thread-message > span, .thread-message time { color: var(--faint); font: 7px var(--mono); }.thread-message p { margin: 0; color: #b9c1ba; font-size: 10px; line-height: 1.65; }.human-message { padding-left: 12px; border-left: 1px solid var(--line-strong); background: linear-gradient(90deg, rgba(255,255,255,.02), transparent); }.agent-message > span { color: var(--mint); }.agent-message > div > p { color: #d8ded8; }.tool-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }.tool-chips button { padding: 5px 6px; border: 1px solid rgba(150,235,200,.15); color: #87928a; background: rgba(150,235,200,.025); font: 7px var(--mono); }.allocation-draft { margin: 8px 0 0 53px; border: 1px solid var(--line); background: rgba(255,255,255,.012); }.allocation-title { display: flex; justify-content: space-between; padding: 10px; border-bottom: 1px solid var(--line); color: var(--faint); font: 7px var(--mono); }.allocation-title b { color: var(--mint); font-weight: 400; }.allocation-bars { padding: 10px; }.allocation-bars > span { display: grid; grid-template-columns: 38px 1fr 27px; align-items: center; gap: 8px; min-height: 19px; font: 7px var(--mono); }.allocation-bars b { font-weight: 500; }.allocation-bars i { position: relative; height: 3px; background: rgba(255,255,255,.05); }.allocation-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--c); }.allocation-bars em { color: var(--muted); font-style: normal; text-align: right; }.stage-draft-button { width: 100%; display: flex; justify-content: space-between; padding: 10px; border: 0; border-top: 1px solid var(--line); color: var(--mint); background: rgba(150,235,200,.025); font-size: 9px; font-weight: 700; }.agent-composer { display: flex; align-items: center; gap: 8px; margin: auto 18px 0; height: 44px; padding: 0 6px; border: 1px solid var(--line-strong); background: rgba(0,0,0,.15); }.composer-plus { width: 27px; height: 27px; border: 1px solid var(--line); color: var(--muted); background: transparent; }.agent-composer input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 9px; }.composer-send { height: 29px; padding: 0 9px; border: 0; color: #08140f; background: var(--mint); font-size: 9px; font-weight: 800; }.composer-send span { margin-left: 5px; }.prompt-presets { display: flex; gap: 6px; align-items: center; padding: 8px 18px 16px; overflow: hidden; }.prompt-presets > span { color: var(--faint); font: 7px var(--mono); }.prompt-presets button { flex: 0 0 auto; padding: 4px 6px; border: 1px solid var(--line); color: #727c74; background: transparent; font-size: 7px; }
.approval-queue { padding: 18px 15px; }.approval-head { display: flex; justify-content: space-between; align-items: start; }.approval-head h3, .scope-head h3 { margin: 7px 0 0; font-size: 13px; }.pending-badge { padding: 4px 5px; color: #e8ce86; background: rgba(232,206,134,.09); font: 7px var(--mono); }.draft-summary { display: grid; gap: 4px; margin-top: 20px; padding: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.015); }.draft-summary span { color: var(--faint); font: 7px var(--mono); }.draft-summary b { font: 18px var(--mono); }.draft-summary small { color: var(--muted); font-size: 8px; }.draft-order-list { margin-top: 10px; border-top: 1px solid var(--line); }.draft-order-list > div { display: grid; grid-template-columns: 34px 1fr auto auto; gap: 8px; align-items: center; min-height: 47px; border-bottom: 1px solid var(--line); }.order-side { font: 7px var(--mono); }.order-side.buy { color: var(--mint); }.order-side.sell { color: var(--red); }.draft-order-list p { display: grid; gap: 2px; margin: 0; }.draft-order-list p b { font: 9px var(--mono); }.draft-order-list p small { color: var(--faint); font-size: 7px; }.draft-order-list em { color: #c8cfc9; font: 8px var(--mono); font-style: normal; }.draft-order-list strong { color: var(--faint); font: 6px var(--mono); }.draft-order-list .order-overflow { grid-template-columns: 1fr auto; min-height: 35px; color: var(--muted); font-size: 8px; }.order-overflow button { padding: 0; border: 0; color: var(--mint); background: transparent; font-size: 8px; }.policy-checks { padding: 11px 0; }.policy-checks p { margin: 6px 0; color: var(--muted); font-size: 8px; }.policy-checks span { margin-right: 5px; color: var(--mint); }.approval-actions { display: grid; grid-template-columns: 1fr 1.5fr; gap: 6px; }.approval-actions button { height: 34px; border: 1px solid var(--line); background: transparent; font-size: 9px; font-weight: 700; }.approve-draft { display: flex; justify-content: space-between; align-items: center; padding: 0 10px; border-color: var(--mint) !important; color: var(--mint); }.approve-draft:hover { color: #08140f; background: var(--mint); }.approval-disclaimer { color: #4d554f; font-size: 7px; line-height: 1.45; }.account-scope { padding: 18px 16px; }.scope-head { display: flex; align-items: center; gap: 8px; }.rh-orb { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: #06120d; background: var(--mint); font: 700 11px var(--mono); }.scope-status { margin-left: auto; color: #c8b878; font: 7px var(--mono); }.scope-status i { display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: #e8ce86; }.account-id { display: flex; align-items: center; gap: 8px; margin-top: 17px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.account-id span { color: var(--faint); font: 7px var(--mono); }.account-id b { font: 9px var(--mono); }.account-id em { margin-left: auto; color: var(--faint); font: 6px var(--mono); font-style: normal; }.account-balance { display: grid; gap: 5px; padding: 15px 0; }.account-balance > span { color: var(--muted); font-size: 8px; }.account-balance > b { font: 19px var(--mono); }.account-balance small { color: var(--faint); font-size: 7px; }.account-balance > div { height: 4px; margin-top: 4px; background: rgba(150,235,200,.08); }.account-balance > div i { display: block; height: 100%; background: var(--mint); }.account-balance > em { color: var(--mint); font: 7px var(--mono); font-style: normal; }.mcp-endpoint { position: relative; display: grid; gap: 5px; padding: 10px; border: 1px solid rgba(150,235,200,.18); background: rgba(150,235,200,.025); }.mcp-endpoint span { color: var(--faint); font: 6px var(--mono); }.mcp-endpoint code { width: calc(100% - 45px); overflow: hidden; color: #bac4bc; font: 7px var(--mono); text-overflow: ellipsis; }.mcp-endpoint button { position: absolute; right: 7px; bottom: 7px; border: 0; color: var(--mint); background: transparent; font: 6px var(--mono); }.scope-list { margin-top: 10px; }.scope-list p { display: flex; justify-content: space-between; margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 8px; }.scope-list b { color: #97a099; font: 6px var(--mono); }.scope-list .scope-execute { color: var(--mint); }.approval-toggle { display: flex; align-items: center; margin-top: 12px; }.approval-toggle > span { display: grid; gap: 2px; }.approval-toggle b { font-size: 8px; }.approval-toggle small { color: var(--faint); font-size: 7px; }.approval-toggle input { position: absolute; opacity: 0; }.approval-toggle > i { position: relative; width: 31px; height: 17px; margin-left: auto; border-radius: 20px; background: #2b3530; }.approval-toggle > i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 11px; height: 11px; border-radius: 50%; background: #717b73; transition: .2s; }.approval-toggle input:checked + i { background: rgba(150,235,200,.23); }.approval-toggle input:checked + i::after { left: 17px; background: var(--mint); }.manage-connection { width: 100%; display: flex; justify-content: space-between; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); color: var(--mint); background: transparent; font-size: 8px; }.scope-note { display: grid; grid-template-columns: 16px 1fr; gap: 5px; color: #626b64; font-size: 7px; line-height: 1.5; }.scope-note span { color: #d9c27f; }
.tools-view { grid-template-columns: .65fr 1.35fr; min-height: 480px; }.trace-hero { display: flex; align-items: start; gap: 15px; padding: 55px 38px; border-right: 1px solid var(--line); background: radial-gradient(circle at 20% 15%, rgba(73,145,116,.12), transparent 48%); }.trace-hero .agent-orb { flex: 0 0 auto; }.trace-hero h3, .permission-intro h3 { margin: 10px 0 13px; font-size: 22px; }.trace-hero p, .permission-intro p { max-width: 400px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }.tool-trace-list { padding: 20px 26px; }.tool-trace-list article { display: grid; grid-template-columns: 32px 22px 1fr auto; gap: 12px; align-items: center; min-height: 72px; border-bottom: 1px solid var(--line); }.tool-trace-list article > span, .tool-trace-list article > em { color: var(--faint); font: 8px var(--mono); font-style: normal; }.tool-trace-list article > i { display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid var(--line); border-radius: 50%; font: 8px var(--mono); font-style: normal; }.trace-success { color: var(--mint); border-color: rgba(150,235,200,.25) !important; }.tool-trace-list div { display: grid; gap: 5px; }.tool-trace-list b { font: 10px var(--mono); }.tool-trace-list code { color: var(--muted); font: 8px var(--mono); }.trace-pending { color: #ddc982; }.trace-pending > em { color: #ddc982 !important; }.permissions-view { grid-template-columns: .7fr 1.3fr; min-height: 470px; }.permission-intro { padding: 55px 38px; border-right: 1px solid var(--line); }.permission-matrix { align-self: start; margin: 38px 32px 0; border: 1px solid var(--line); }.permission-matrix > div { display: grid; grid-template-columns: 1.5fr repeat(3, .55fr); align-items: center; min-height: 47px; border-bottom: 1px solid var(--line); }.permission-matrix > div:last-child { border-bottom: 0; }.permission-matrix span, .permission-matrix b, .permission-matrix i { padding: 0 12px; font: 7px var(--mono); font-style: normal; }.permission-matrix b { color: #bec6bf; font-weight: 500; }.permission-matrix i { color: var(--muted); }.permission-matrix .allowed { color: var(--mint); }.permission-matrix .denied { color: #505952; }.matrix-head { color: var(--faint); background: rgba(255,255,255,.015); }.permission-callout { grid-column: 2; display: grid; grid-template-columns: 24px 1fr 155px; gap: 12px; align-items: center; margin: 15px 32px 30px; padding: 13px; border: 1px solid rgba(218,196,127,.2); background: rgba(218,196,127,.025); }.permission-callout > span { color: #ddc982; }.permission-callout p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.55; }.permission-callout p b { color: #c8d0c9; }.permission-callout .manage-connection { border: 0; }

.lower-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; border-top: 1px solid var(--line); }.agent-desk { padding: 24px; border-right: 1px solid var(--line); }.agent-desk .panel-heading, .activity-panel .panel-heading { margin-bottom: 18px; }.agent-desk h2, .activity-panel h2 { font-size: 17px; }.view-all, .activity-footer { border: 0; color: var(--mint); background: transparent; font-size: 10px; font-weight: 700; }.view-all span { font-size: 15px; margin-left: 3px; }.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }.agent-card { position: relative; min-height: 220px; padding: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.018); overflow: hidden; }.agent-card.featured { border-color: rgba(150,235,200,.25); background: linear-gradient(135deg, rgba(150,235,200,.095), rgba(255,255,255,.02) 49%, rgba(255,255,255,.012)); }.agent-card-top { display: flex; align-items: center; min-height: 25px; }.agent-card-top button { border: 0; margin-left: auto; color: var(--faint); background: transparent; font-weight: 800; }.agent-orb { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid rgba(150,235,200,.33); border-radius: 50%; background: radial-gradient(circle at 34% 28%, #d7ffe9, #72ba9a 27%, #1f5041 49%, #11251f 70%); box-shadow: 0 0 23px rgba(104,225,181,.22); }.pulse-orb { animation: breathe 3s ease-in-out infinite; }.grid-orb { border-radius: 8px; background-color: #254d6f; background-image: linear-gradient(rgba(180,225,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(180,225,255,.2) 1px, transparent 1px); background-size: 5px 5px; }.plus-orb { border-color: var(--line-strong); background: transparent; color: var(--muted); font-size: 20px; box-shadow: none; }.agent-status { margin-left: 8px; color: var(--mint); font: 8px var(--mono); }.agent-status i, .activity-live i { display: inline-block; width: 5px; height: 5px; margin-right: 4px; vertical-align: 1px; border-radius: 50%; background: var(--mint); }.agent-status.quiet { color: #a9b0aa; }.agent-status.quiet i { background: #a9b0aa; }.agent-card h3 { margin: 15px 0 6px; font-size: 14px; letter-spacing: -.025em; }.agent-card p { max-width: 190px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }.agent-metric { display: flex; align-items: end; justify-content: space-between; margin-top: 25px; }.agent-metric span { color: var(--faint); font-size: 9px; }.agent-metric b { color: var(--mint); font: 20px/1 var(--mono); }.agent-metric b span { font-size: 10px; color: var(--mint); }.metric-word { font-size: 16px !important; }.mini-meter { height: 4px; margin-top: 10px; background: rgba(150,235,200,.1); }.mini-meter i { display: block; height: 100%; background: var(--mint); box-shadow: 0 0 8px rgba(150,235,200,.7); }.allocation { display: flex; gap: 4px; margin-top: 16px; }.allocation i { height: 4px; width: 16%; background: #528d75; }.allocation i:nth-child(2) { width: 23%; background: #8ee7c4; }.allocation i:nth-child(3) { width: 12%; background: #6094b8; }.allocation i:nth-child(4) { width: 27%; background: #ddbd7e; }.allocation i:nth-child(5) { flex: 1; background: #40514a; }.agent-action { position: absolute; bottom: 14px; left: 16px; right: 16px; display: flex; justify-content: space-between; padding: 0; border: 0; background: transparent; color: #c9d0ca; font-size: 10px; text-align: left; }.agent-action:hover { color: var(--mint); }.agent-action span { color: var(--mint); font-size: 15px; }.open-card { background: linear-gradient(135deg, transparent, rgba(255,255,255,.025)); border-style: dashed; }.open-card::after { content: ""; position: absolute; right: -30px; bottom: -50px; width: 140px; height: 140px; border: 1px solid rgba(150,235,200,.09); border-radius: 50%; }.open-card h3 { margin-top: 29px; }.open-card p { margin-top: 8px; }
.activity-panel { padding: 24px 20px 0; }.activity-live { color: var(--mint); font: 9px var(--mono); }.activity-list { border-top: 1px solid var(--line); }.activity-list article { display: flex; align-items: center; gap: 10px; min-height: 68px; border-bottom: 1px solid var(--line); }.activity-icon { display: grid; place-items: center; flex: 0 0 auto; width: 25px; height: 25px; border-radius: 7px; font-size: 13px; }.mint { color: var(--mint); background: rgba(150,235,200,.11); }.blue { color: #a6cfff; background: rgba(119,180,255,.12); }.gold { color: var(--gold); background: rgba(242,211,146,.1); }.activity-list p { flex: 1; margin: 0; display: grid; gap: 4px; }.activity-list p b { color: #d7ddd7; font-size: 10px; font-weight: 700; }.activity-list p span { color: var(--faint); font: 8px var(--mono); }.activity-list button { padding: 0; border: 0; color: var(--mint); background: transparent; font-size: 9px; }.activity-footer { display: flex; justify-content: space-between; width: 100%; padding: 18px 0; }.activity-footer span { font-size: 15px; }

footer { display: flex; align-items: center; min-height: 53px; padding: 0 24px; border-top: 1px solid var(--line); color: var(--faint); font: 9px var(--mono); }.tiny-logo { display: inline-block; width: 20px; height: 20px; margin-right: 5px; vertical-align: middle; }footer em { margin-left: 8px; color: #555e57; font-style: normal; }footer p { margin: 0 auto; }.footer-links { display: flex; gap: 14px; }.footer-links a:hover { color: var(--ink); }.footer-links i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }

.mcp-modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }.mcp-modal.open { visibility: visible; opacity: 1; }.mcp-backdrop { position: absolute; inset: 0; background: rgba(2,6,5,.78); backdrop-filter: blur(14px); }.mcp-dialog { position: relative; width: min(790px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; border: 1px solid rgba(150,235,200,.3); background: #0d1311; box-shadow: 0 30px 100px rgba(0,0,0,.6); transform: translateY(20px) scale(.985); transition: transform .3s cubic-bezier(.2,.8,.2,1); }.mcp-modal.open .mcp-dialog { transform: translateY(0) scale(1); }.mcp-dialog > header { min-height: 75px; display: flex; justify-content: space-between; align-items: center; padding: 0 22px; border-bottom: 1px solid var(--line); }.mcp-dialog h2 { margin: 7px 0 0; font-size: 18px; }.modal-close { width: 31px; height: 31px; border: 1px solid var(--line); color: var(--muted); background: transparent; font-size: 18px; }.connect-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }.connect-steps span { min-height: 46px; display: flex; align-items: center; gap: 8px; padding: 0 17px; border-right: 1px solid var(--line); color: var(--faint); font-size: 8px; }.connect-steps span:last-child { border-right: 0; }.connect-steps span.active { color: var(--ink); background: rgba(150,235,200,.035); }.connect-steps i { color: var(--mint); font: 7px var(--mono); font-style: normal; }.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; padding: 20px; }.platform-card { min-height: 94px; display: grid; grid-template-columns: 29px 1fr; grid-template-rows: 1fr auto; gap: 6px 8px; padding: 12px; border: 1px solid var(--line); text-align: left; background: rgba(255,255,255,.012); }.platform-card.selected { border-color: rgba(150,235,200,.5); background: rgba(150,235,200,.045); }.platform-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--ink); background: #1b2420; }.chatgpt-icon { color: var(--mint); }.codex-icon { color: #a4ceff; }.claude-icon { color: #e1b28a; }.other-icon { color: var(--muted); }.platform-card p { display: grid; gap: 4px; margin: 0; }.platform-card b { font-size: 9px; }.platform-card small { color: var(--faint); font-size: 7px; }.platform-card em { grid-column: 1 / -1; color: var(--faint); font: 6px var(--mono); font-style: normal; }.platform-card.selected em { color: var(--mint); }.modal-endpoint { display: flex; align-items: center; gap: 15px; margin: 0 20px; padding: 13px; border: 1px solid rgba(150,235,200,.2); background: rgba(150,235,200,.025); }.modal-endpoint > div { min-width: 0; display: grid; gap: 6px; }.modal-endpoint span { color: var(--faint); font: 7px var(--mono); }.modal-endpoint code { overflow: hidden; color: #d0d8d1; font: 9px var(--mono); text-overflow: ellipsis; }.modal-endpoint button { margin-left: auto; padding: 7px 8px; border: 1px solid var(--line); color: var(--mint); background: transparent; font: 7px var(--mono); }.modal-permissions { display: grid; grid-template-columns: 35px 1fr auto; gap: 11px; align-items: start; margin: 14px 20px 0; padding: 14px; border: 1px solid var(--line); }.permission-shield { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid rgba(150,235,200,.23); border-radius: 50%; color: var(--mint); }.modal-permissions h3 { margin: 1px 0 6px; font-size: 11px; }.modal-permissions p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.55; }.permission-expand { border: 0; color: var(--mint); background: transparent; font: 6px var(--mono); }.modal-note { display: grid; grid-template-columns: 110px 1fr; gap: 10px; margin: 14px 20px 0; padding: 10px 14px; background: rgba(224,193,122,.05); }.modal-note span { color: #ddc57e; font: 7px var(--mono); }.modal-note p { margin: 0; color: var(--muted); font-size: 8px; }.mcp-dialog > footer { display: flex; gap: 18px; min-height: 72px; margin-top: 16px; padding: 0 20px; background: rgba(0,0,0,.15); }.mcp-dialog > footer a { color: var(--muted); font-size: 8px; }.mcp-dialog > footer a:hover { color: var(--mint); }.mcp-dialog > footer button { height: 36px; margin-left: auto; padding: 0 12px; border: 0; color: #07140f; background: var(--mint); font-size: 9px; font-weight: 800; }.mcp-dialog > footer button span { margin-left: 15px; }

.toast { position: fixed; z-index: 30; right: 25px; bottom: 25px; display: flex; align-items: start; gap: 10px; max-width: 370px; padding: 14px; border: 1px solid rgba(150,235,200,.35); background: rgba(15, 24, 21, .94); box-shadow: 0 12px 45px rgba(0,0,0,.45); transform: translateY(140%); opacity: 0; transition: transform .35s cubic-bezier(.2,.9,.2,1), opacity .25s; }.toast.visible { transform: translateY(0); opacity: 1; }.toast > span { color: var(--mint); }.toast p { margin: 0; display: grid; gap: 4px; }.toast b { font-size: 11px; }.toast small { color: var(--muted); font-size: 9px; }.toast button { margin-left: 5px; padding: 0; border: 0; color: var(--muted); background: transparent; font-size: 16px; }.privy-wallet-toast { position: fixed; z-index: 60; right: 25px; bottom: 25px; display: grid; gap: 4px; max-width: 370px; padding: 14px; border: 1px solid rgba(150,235,200,.35); color: var(--ink); background: rgba(15,24,21,.96); box-shadow: 0 12px 45px rgba(0,0,0,.45); transform: translateY(140%); opacity: 0; transition: transform .35s cubic-bezier(.2,.9,.2,1), opacity .25s; }.privy-wallet-toast.visible { transform: translateY(0); opacity: 1; }.privy-wallet-toast b { font-size: 11px; }.privy-wallet-toast small { color: var(--muted); font-size: 9px; line-height: 1.5; }

@keyframes breathe { 50% { transform: scale(1.07); box-shadow: 0 0 30px rgba(104,225,181,.42); } }
@media (max-width: 1150px) { .workspace { grid-template-columns: 220px minmax(0, 1fr) 285px; }.instrument-stats { gap: 14px; }.instrument-stats div:last-child { display: none; }.mcp-pill > span:nth-child(2) { display: none; }.workbench-view[data-view="copilot"] { grid-template-columns: minmax(390px, 1.35fr) minmax(245px, .8fr) minmax(245px, .8fr); }.workbench-heading { gap: 16px; }.lower-grid { grid-template-columns: minmax(0, 1fr) 345px; }.agent-desk { padding: 19px; }.agent-grid { gap: 8px; }.agent-card { padding: 13px; }.agent-action { left: 13px; right: 13px; } }
@media (max-width: 900px) { .terminal-shell { width: min(100% - 22px, 700px); margin-top: 11px; }.topbar { gap: 20px; height: 64px; padding: 0 16px; }.main-nav { gap: 16px; }.main-nav a:nth-child(3), .main-nav a:nth-child(4), .network-pill { display: none; }.mcp-pill { padding: 0 7px; }.workspace { grid-template-columns: minmax(0, 1fr) 290px; }.watchlist { display: none; }.workbench-heading { grid-template-columns: 1fr auto; padding: 12px 18px 0; }.workbench-heading > div:first-child { display: none; }.workbench-tabs { grid-column: 1; grid-row: 1; min-height: 51px; }.agent-connection-button { grid-column: 2; grid-row: 1; }.workbench-view[data-view="copilot"] { grid-template-columns: 1fr 1fr; }.strategy-thread { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }.approval-queue { border-right: 1px solid var(--line); }.tools-view, .permissions-view { grid-template-columns: 1fr; }.trace-hero, .permission-intro { border-right: 0; border-bottom: 1px solid var(--line); }.permission-callout { grid-column: 1; }.lower-grid { grid-template-columns: 1fr; }.agent-desk { border-right: 0; border-bottom: 1px solid var(--line); }.activity-panel { padding-bottom: 0; }.market-tape { padding-left: 16px; }.tape-item:nth-child(n+4) { display: none; } }
@media (max-width: 620px) { .terminal-shell { width: 100%; margin: 0; border-left: 0; border-right: 0; }.topbar { gap: 13px; }.main-nav { display: none; }.top-actions { margin-left: auto; }.mcp-pill { width: 34px; padding: 0; justify-content: center; }.mcp-pill em { display: none; }.wallet-button { padding: 0 9px; }.workspace { grid-template-columns: 1fr; }.order-panel { border-top: 1px solid var(--line); }.chart-column { border-right: 0; }.instrument-stats div:nth-child(2) { display: none; }.chart-area { min-height: 325px; }.workbench-heading { min-height: 108px; grid-template-columns: 1fr; padding: 10px 14px 0; }.workbench-tabs { grid-column: 1; grid-row: 2; justify-content: space-between; gap: 12px; }.agent-connection-button { grid-column: 1; grid-row: 1; justify-self: stretch; }.workbench-view[data-view="copilot"] { grid-template-columns: 1fr; }.strategy-thread, .approval-queue { grid-column: 1; border-right: 0; border-bottom: 1px solid var(--line); }.thread-body { padding: 13px; }.thread-message { grid-template-columns: 38px 1fr; }.thread-message time { display: none; }.allocation-draft { margin-left: 0; }.prompt-presets { overflow-x: auto; }.account-scope { padding-bottom: 22px; }.tools-view, .permissions-view { display: none; }.tools-view.active, .permissions-view.active { display: grid; }.trace-hero, .permission-intro { padding: 32px 20px; }.tool-trace-list { padding: 10px 15px; overflow: hidden; }.tool-trace-list article { grid-template-columns: 22px 19px minmax(0,1fr); }.tool-trace-list article > em { display: none; }.tool-trace-list code { overflow: hidden; text-overflow: ellipsis; }.permission-matrix { margin: 22px 12px 0; overflow-x: auto; }.permission-matrix > div { min-width: 460px; }.permission-callout { grid-template-columns: 20px 1fr; margin: 12px; }.permission-callout .manage-connection { grid-column: 2; }.lower-grid { display: block; }.agent-grid { grid-template-columns: 1fr; }.agent-card { min-height: 190px; }.agent-card.open-card { min-height: 165px; }.market-tape { height: 45px; }.tape-label { padding-right: 14px; }.tape-item { padding: 0 10px; gap: 6px; }.tape-item:nth-child(n+3) { display: none; }.tape-settings { display: none; }.instrument-bar { padding-left: 15px; padding-right: 15px; }.chart-controls { padding: 0 12px; }.indicator-btn { display: none; }.mcp-modal { padding: 10px; }.mcp-dialog { max-height: calc(100vh - 20px); }.platform-grid { grid-template-columns: 1fr 1fr; padding: 14px; }.modal-endpoint, .modal-permissions, .modal-note { margin-left: 14px; margin-right: 14px; }.modal-permissions { grid-template-columns: 35px 1fr; }.permission-expand { display: none; }.modal-note { grid-template-columns: 1fr; }.mcp-dialog > footer { min-height: 120px; flex-wrap: wrap; padding: 12px 14px; }.mcp-dialog > footer button { width: 100%; margin-left: 0; }footer { gap: 10px; padding: 14px 15px; align-items: start; flex-wrap: wrap; }footer p { width: 100%; order: 3; margin: 0; }.footer-links { margin-left: auto; } }

/* Multi-page application refinement */
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 9px 12px; color: #07130f; background: var(--mint); font-size: 11px; font-weight: 800; transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
body[data-page] { min-height: 100dvh; }
body[data-page] button, body[data-page] a { transition: color .2s ease, border-color .2s ease, background-color .2s ease, opacity .2s ease, transform .2s ease; }
body[data-page] button:active, body[data-page] a:active { transform: translateY(1px); }
body[data-page] button:disabled { cursor: not-allowed; opacity: .45; }
body[data-page] [hidden] { display: none !important; }
body[data-page] strong, body[data-page] b, body[data-page] td:not(:first-child) { font-variant-numeric: tabular-nums; }
.topbar { position: relative; z-index: 12; backdrop-filter: blur(18px); }
.main-nav a { gap: 6px; }
.nav-icon { display: none; color: var(--mint); font: 12px var(--mono); }
.account-link { display: inline-flex; align-items: center; }
.quick-switcher { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); background: rgba(10,15,15,.72); }
.quick-switcher > a { min-height: 92px; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 13px; padding: 0 21px; border-right: 1px solid var(--line); }
.quick-switcher > a:last-child { border-right: 0; }
.quick-switcher > a:hover { background: rgba(150,235,200,.035); }
.quick-index { color: var(--mint); font: 8px var(--mono); }
.quick-switcher div { display: grid; gap: 6px; min-width: 0; }
.quick-switcher small { color: var(--faint); font: 7px var(--mono); letter-spacing: .11em; }
.quick-switcher b { overflow: hidden; color: #cbd2cc; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.quick-switcher b i { margin-left: 6px; color: var(--mint); font-style: normal; }
.quick-switcher em { color: var(--mint); font: 8px var(--mono); font-style: normal; white-space: nowrap; }
.app-footer { display: flex; align-items: center; min-height: 58px; padding: 0 24px; }

.app-page-head { min-height: 315px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 50px; padding: 58px 54px 47px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 78% 20%, rgba(84,155,126,.11), transparent 34%); }
.app-page-head h1 { max-width: 780px; margin: 19px 0 22px; font-size: clamp(42px, 4.6vw, 70px); line-height: .98; letter-spacing: -.062em; text-wrap: balance; }
.app-page-head h1 em { color: var(--mint); font-family: var(--display); font-weight: 600; }
.app-page-head p { max-width: 610px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; text-wrap: pretty; }
.page-number { color: var(--mint); font: 8px var(--mono); letter-spacing: .16em; }
.page-head-actions { align-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 15px; }
.page-head-actions > a { color: var(--mint); font-size: 10px; font-weight: 700; }
.page-head-actions > a span { margin-left: 12px; }
.compact-head { min-height: 280px; }
.account-state { padding: 9px 11px; border: 1px solid var(--line); color: #aeb7b0; background: rgba(255,255,255,.018); font: 8px var(--mono); }
.account-state i { display: inline-block; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 9px var(--mint); }

.status-rail { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.status-rail > div { min-height: 88px; display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; align-content: center; padding: 0 21px; border-right: 1px solid var(--line); background: rgba(255,255,255,.009); }
.status-rail > div:last-child { border-right: 0; }
.status-key { color: var(--faint); font: 7px var(--mono); letter-spacing: .1em; }
.status-rail b { grid-row: 1 / 3; grid-column: 2; align-self: center; color: #dce3dd; font: 17px var(--mono); }
.status-rail small { color: var(--muted); font-size: 8px; }
.status-rail .gold-text { color: var(--gold); }
.workspace-context { justify-self: end; display: grid; grid-template-columns: 13px auto; column-gap: 8px; align-items: center; }
.workspace-context .connection-pulse { grid-row: 1 / 3; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 9px var(--mint); }
.workspace-context b { font-size: 8px; }
.workspace-context small { color: var(--faint); font: 7px var(--mono); }
.thread-state { color: var(--mint); font: 7px var(--mono); }
.thread-state i { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: var(--mint); }
body[data-page="agents"] .agentic-workbench { border-top: 0; }
body[data-page="agents"] .workbench-view[data-view="copilot"] { grid-template-columns: minmax(0, 1.65fr) minmax(310px, .75fr); }
body[data-page="agents"] .approval-queue { border-right: 0; }
body[data-page="agents"] .permissions-view { grid-template-columns: 330px minmax(0, 1fr); }
body[data-page="agents"] .permission-content { min-width: 0; }
body[data-page="agents"] .permission-content .permission-intro { padding: 34px 32px 6px; border: 0; }
body[data-page="agents"] .permission-content .permission-matrix { margin-top: 24px; }
body[data-page="agents"] .permission-content .permission-callout { grid-column: auto; }
.allocation-nvda { --w: 28%; --c: #96ebc8; }.allocation-avgo { --w: 24%; --c: #8db7ec; }.allocation-tsm { --w: 20%; --c: #d7c17f; }.allocation-anet { --w: 16%; --c: #bd8fe5; }.allocation-vrt { --w: 12%; --c: #6f8178; }
.budget-used { width: 34%; }
.meter-87 { width: 87%; }
.agents-roster-section { padding: 28px 24px 31px; border-top: 1px solid var(--line); }
.agents-roster-section .panel-heading { margin-bottom: 20px; }
.agents-roster-section .agent-grid { grid-template-columns: 1.15fr 1fr .85fr; }
.roster-note { color: var(--faint); font: 8px var(--mono); }

.portfolio-overview { display: grid; grid-template-columns: minmax(0, 1.8fr) 330px; border-bottom: 1px solid var(--line); }
.portfolio-hero { min-width: 0; padding: 28px 30px 0; border-right: 1px solid var(--line); }
.portfolio-hero > header { display: flex; justify-content: space-between; align-items: start; }
.portfolio-hero header > div:first-child { display: grid; gap: 7px; }
.portfolio-hero strong { font: 500 clamp(30px, 3vw, 44px)/1 var(--mono); letter-spacing: -.05em; }
.portfolio-hero header p { margin: 0; color: var(--muted); font-size: 10px; }
.portfolio-hero header p b { margin-right: 5px; color: var(--mint); }
.range-tabs { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--line); }
.range-tabs button { min-width: 38px; height: 27px; border: 0; color: var(--faint); background: transparent; font: 8px var(--mono); }
.range-tabs button:hover, .range-tabs button.active { color: #08140f; background: var(--mint); }
.portfolio-chart { position: relative; height: 260px; margin-top: 22px; overflow: hidden; }
.portfolio-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(209,228,216,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(209,228,216,.05) 1px, transparent 1px); background-size: 20% 25%; }
.portfolio-chart svg { position: absolute; inset: 0 0 24px; width: 100%; height: calc(100% - 24px); overflow: visible; }
.portfolio-fill { fill: url(#portfolioFill); }
.portfolio-line { fill: none; stroke: var(--mint); stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(150,235,200,.4)); }
.portfolio-chart circle { fill: #d7ffea; stroke: var(--mint); stroke-width: 3; vector-effect: non-scaling-stroke; }
.chart-axis { position: absolute; right: 0; bottom: 7px; left: 0; display: flex; justify-content: space-between; color: var(--faint); font: 7px var(--mono); }
.portfolio-side-stats { display: flex; flex-direction: column; }
.portfolio-side-stats > div { min-height: 91px; display: grid; gap: 6px; align-content: center; padding: 0 22px; border-bottom: 1px solid var(--line); }
.portfolio-side-stats span { color: var(--faint); font: 7px var(--mono); letter-spacing: .1em; }
.portfolio-side-stats b { font: 16px var(--mono); }
.portfolio-side-stats small { color: var(--muted); font-size: 8px; }
.portfolio-side-stats > a { display: flex; justify-content: space-between; margin: auto 22px 20px; padding: 13px 0; border-bottom: 1px solid rgba(150,235,200,.24); color: var(--mint); font-size: 9px; font-weight: 700; }
.holdings-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.holdings-panel { min-width: 0; border-right: 1px solid var(--line); }
.section-toolbar { min-height: 84px; display: flex; align-items: center; justify-content: space-between; padding: 0 25px; border-bottom: 1px solid var(--line); }
.section-toolbar h2, .risk-head h2 { margin: 7px 0 0; font-size: 16px; letter-spacing: -.035em; }
.toolbar-actions { display: flex; gap: 8px; }
.table-search { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--line); color: var(--faint); }
.table-search input { width: 125px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 9px; }
.export-button { min-height: 34px; padding: 0 11px; border: 1px solid var(--line); color: #bfc7c1; background: rgba(255,255,255,.018); font-size: 8px; font-weight: 700; }
.export-button:hover { border-color: rgba(150,235,200,.4); color: var(--mint); }
.holdings-table-wrap { overflow-x: auto; }
.holdings-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.holdings-table th { height: 38px; padding: 0 14px; color: var(--faint); text-align: right; font: 7px var(--mono); font-weight: 400; letter-spacing: .08em; }
.holdings-table th:first-child { text-align: left; padding-left: 24px; }
.holdings-table td { height: 65px; padding: 0 14px; border-top: 1px solid var(--line); color: #b9c2bb; text-align: right; font: 9px var(--mono); }
.holdings-table td:first-child { display: flex; align-items: center; gap: 10px; padding-left: 24px; text-align: left; }
.holdings-table td:first-child > span:last-child { display: grid; gap: 3px; }
.holdings-table td:first-child b { color: var(--ink); font-size: 10px; }
.holdings-table td:first-child small { color: var(--faint); font: 8px var(--sans); }
.holdings-table tbody tr:hover { background: rgba(150,235,200,.025); }
.holdings-table td.positive, .positive { color: var(--mint); }
.holdings-table td.negative, .negative { color: var(--red); }
.holdings-table td:last-child a { color: var(--mint); font: 8px var(--sans); font-weight: 700; }
.broadcom { color: #fff; background: #c14e40; }.tsm { color: #fff; background: #353d46; }.arista { color: #fff; background: #246c96; }.vertiv { color: #071410; background: #a7d85e; }
.weight-bar { display: inline-block; width: 45px; height: 3px; margin-right: 7px; vertical-align: 2px; background: rgba(150,235,200,.09); }
.weight-bar i { display: block; height: 100%; background: var(--mint); }.weight-28 { width: 93%; }.weight-24 { width: 80%; }.weight-20 { width: 67%; }.weight-16 { width: 53%; }.weight-12 { width: 40%; }
.table-foot { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-top: 1px solid var(--line); color: var(--faint); font: 7px var(--mono); }
.risk-panel { padding: 26px 22px; }
.risk-head p { margin: 13px 0 0; color: var(--muted); font-size: 9px; line-height: 1.65; }
.risk-gauge { width: 154px; height: 154px; display: grid; place-items: center; align-content: center; gap: 7px; margin: 28px auto; border: 1px solid rgba(150,235,200,.24); border-radius: 50%; background: radial-gradient(circle, rgba(150,235,200,.08), transparent 66%); box-shadow: inset 0 0 35px rgba(150,235,200,.035); }
.risk-gauge div { display: flex; align-items: end; }
.risk-gauge span { color: var(--mint); font: 36px/1 var(--mono); }
.risk-gauge small { margin-bottom: 3px; color: var(--faint); font: 9px var(--mono); }
.risk-gauge p { margin: 0; color: var(--faint); font: 7px var(--mono); letter-spacing: .12em; }
.risk-metrics { border-top: 1px solid var(--line); }
.risk-metrics p { display: flex; justify-content: space-between; margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 8px; }
.risk-metrics b { color: #c6cec8; font: 8px var(--mono); }
.agent-insight { display: grid; grid-template-columns: 29px 1fr; gap: 11px; margin-top: 22px; padding: 13px; border: 1px solid rgba(150,235,200,.18); background: rgba(150,235,200,.025); }
.agent-insight b { font-size: 9px; }.agent-insight p { margin: 6px 0 10px; color: var(--muted); font-size: 8px; line-height: 1.55; }.agent-insight a { color: var(--mint); font-size: 8px; font-weight: 700; }

.activity-toolbar { min-height: 66px; display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; padding: 0 21px; border-bottom: 1px solid var(--line); }
.activity-filters { align-self: stretch; display: flex; gap: 25px; }
.activity-filters button { position: relative; border: 0; color: var(--faint); background: transparent; font-size: 9px; font-weight: 700; }
.activity-filters button span { margin-left: 5px; color: #59625b; font: 7px var(--mono); }
.activity-filters button.active { color: var(--ink); }.activity-filters button.active::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--mint); }
.activity-search { height: 33px; display: flex; align-items: center; gap: 7px; padding: 0 9px; border: 1px solid var(--line); color: var(--faint); }
.activity-search input { width: 135px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 9px; }
.retention-note { color: var(--faint); font: 7px var(--mono); }
.activity-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; }
.audit-stream { min-height: 690px; border-right: 1px solid var(--line); }
.stream-day { min-height: 43px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; border-bottom: 1px solid var(--line); color: var(--faint); background: rgba(255,255,255,.01); font: 7px var(--mono); letter-spacing: .1em; }
.activity-event { position: relative; width: 100%; min-height: 79px; display: grid; grid-template-columns: 48px 28px minmax(0, 1fr) 78px 18px; gap: 11px; align-items: center; padding: 0 21px; border: 0; border-bottom: 1px solid var(--line); text-align: left; background: transparent; }
.activity-event::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: transparent; }
.activity-event:hover, .activity-event.selected { background: rgba(150,235,200,.028); }.activity-event.selected::before { background: var(--mint); }
.event-time { color: var(--faint); font: 8px var(--mono); }
.event-node { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 7px; font: 10px var(--mono); }
.event-copy { display: grid; gap: 5px; min-width: 0; }.event-copy b { overflow: hidden; color: #cfd6d0; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.event-copy small { overflow: hidden; color: var(--faint); font: 8px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.event-type { color: #657068; text-align: right; font: 7px var(--mono); }.event-arrow { color: var(--mint); opacity: .35; }.activity-event:hover .event-arrow, .activity-event.selected .event-arrow { opacity: 1; }
.activity-empty { min-height: 260px; place-items: center; align-content: center; gap: 8px; color: var(--muted); text-align: center; }.activity-empty:not([hidden]) { display: grid; }.activity-empty span { color: var(--mint); font-size: 23px; }.activity-empty b { font-size: 12px; }.activity-empty p { margin: 0; color: var(--faint); font-size: 9px; }
.event-inspector { min-width: 0; padding: 23px 21px; }
.event-inspector > header { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.event-id { color: var(--faint); font: 7px var(--mono); }
.inspector-status { display: grid; grid-template-columns: 32px 1fr; gap: 11px; align-items: center; padding: 23px 0; }
.inspector-status > div { display: grid; gap: 5px; }.inspector-status b { font-size: 11px; line-height: 1.35; }.inspector-status time { color: var(--faint); font: 7px var(--mono); }
.inspector-summary { margin: 0 0 20px; color: var(--muted); font-size: 9px; line-height: 1.7; }
.inspector-meta { margin: 0; border-top: 1px solid var(--line); }.inspector-meta div { display: grid; grid-template-columns: 100px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }.inspector-meta dt { color: var(--faint); font: 7px var(--mono); }.inspector-meta dd { margin: 0; color: #b7c0b9; font: 8px var(--mono); text-align: right; }
.inspector-hash { position: relative; display: grid; gap: 6px; margin-top: 20px; padding: 11px; border: 1px solid var(--line); }.inspector-hash span { color: var(--faint); font: 6px var(--mono); }.inspector-hash code { color: #bac3bc; font: 8px var(--mono); }.inspector-hash button { position: absolute; right: 8px; bottom: 8px; border: 0; color: var(--mint); background: transparent; font: 6px var(--mono); }
.inspector-note { display: grid; grid-template-columns: 18px 1fr; gap: 7px; margin: 14px 0 20px; padding: 10px; color: var(--faint); background: rgba(255,255,255,.015); }.inspector-note span { color: var(--mint); font: 9px var(--mono); }.inspector-note p { margin: 0; font-size: 7px; line-height: 1.55; }
.inspector-action { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(150,235,200,.23); color: var(--mint); font-size: 9px; font-weight: 700; }

@media (max-width: 1000px) {
  body[data-page="agents"] .workbench-view[data-view="copilot"], body[data-page="agents"] .permissions-view { grid-template-columns: 1fr; }
  body[data-page="agents"] .strategy-thread { grid-column: auto; border-bottom: 1px solid var(--line); }
  body[data-page="agents"] .account-scope { border-bottom: 1px solid var(--line); }
  .portfolio-overview { grid-template-columns: 1fr 285px; }
  .holdings-layout { grid-template-columns: 1fr; }
  .holdings-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .risk-panel { display: grid; grid-template-columns: 1fr 180px 1fr; gap: 25px; align-items: center; }
  .agent-insight { margin-top: 0; }
  .activity-layout { grid-template-columns: minmax(0, 1fr) 320px; }
}

@media (max-width: 760px) {
  body[data-page] { padding-bottom: 63px; }
  body[data-page] .terminal-shell { width: 100%; margin: 0; border-right: 0; border-left: 0; }
  body[data-page] .topbar { height: 62px; padding: 0 14px; backdrop-filter: none; }
  body[data-page] .main-nav { position: fixed; z-index: 45; right: 0; bottom: 0; left: 0; display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 0; height: 63px; border-top: 1px solid var(--line-strong); background: rgba(8,13,12,.97); backdrop-filter: blur(18px); }
  body[data-page] .main-nav a, body[data-page] .main-nav a:nth-child(3), body[data-page] .main-nav a:nth-child(4) { display: flex; flex-direction: column; justify-content: center; gap: 5px; color: var(--faint); font-size: 9px; }
  body[data-page] .main-nav a.active { color: var(--ink); background: rgba(150,235,200,.035); }
  body[data-page] .main-nav a.active::after { top: 0; right: 22%; bottom: auto; left: 22%; }
  .nav-icon { display: block; }
  .nav-badge { position: absolute; top: 9px; right: calc(50% - 22px); margin: 0; font-size: 6px; }
  body[data-page] .network-pill { display: none; }
  body[data-page] .mcp-pill { width: 34px; justify-content: center; padding: 0; }
  body[data-page] .mcp-pill > span:nth-child(2), body[data-page] .mcp-pill em { display: none; }
  body[data-page] .wallet-button { padding: 0 9px; font-size: 9px; }
  .quick-switcher { grid-template-columns: 1fr; }
  .quick-switcher > a { min-height: 76px; border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-switcher > a:last-child { border-bottom: 0; }
  .app-page-head { min-height: 285px; grid-template-columns: 1fr; gap: 25px; padding: 45px 24px 35px; }
  .app-page-head h1 { font-size: 45px; }
  .page-head-actions { align-items: flex-start; }
  .status-rail { grid-template-columns: 1fr 1fr; }
  .status-rail > div:nth-child(2) { border-right: 0; }
  .status-rail > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  body[data-page="agents"] .workbench-heading { min-height: 115px; }
  body[data-page="agents"] .workbench-heading > div:first-child { display: block; grid-column: 1 / -1; }
  body[data-page="agents"] .workspace-context { display: none; }
  .agents-roster-section .agent-grid { grid-template-columns: 1fr; }
  .portfolio-overview { grid-template-columns: 1fr; }
  .portfolio-hero { border-right: 0; border-bottom: 1px solid var(--line); }
  .portfolio-side-stats { display: grid; grid-template-columns: 1fr 1fr; }
  .portfolio-side-stats > div { border-right: 1px solid var(--line); }
  .portfolio-side-stats > div:nth-child(2) { border-right: 0; }
  .portfolio-side-stats > div:nth-child(3) { border-top: 1px solid var(--line); }
  .portfolio-side-stats > a { align-self: center; margin-bottom: 0; }
  .section-toolbar { align-items: flex-start; flex-direction: column; justify-content: center; gap: 14px; padding: 18px; }
  .toolbar-actions { width: 100%; }.table-search { flex: 1; }.table-search input { width: 100%; }
  .holdings-table { min-width: 0; table-layout: fixed; }
  .holdings-table th:nth-child(2), .holdings-table td:nth-child(2), .holdings-table th:nth-child(3), .holdings-table td:nth-child(3) { display: none; }
  .holdings-table th, .holdings-table td { padding-right: 7px; padding-left: 7px; font-size: 7px; }
  .holdings-table th:first-child, .holdings-table td:first-child { width: 34%; padding-left: 16px; }
  .holdings-table th:nth-child(4) { width: 22%; }.holdings-table th:nth-child(5) { width: 14%; }.holdings-table th:nth-child(6) { width: 19%; }.holdings-table th:last-child { width: 11%; }
  .holdings-table td:first-child small { font-size: 6px; }
  .weight-bar { display: none; }
  .risk-panel { grid-template-columns: 1fr; }
  .risk-gauge { margin: 12px auto; }
  .activity-toolbar { grid-template-columns: 1fr; gap: 12px; padding: 14px; }
  .activity-filters { min-height: 42px; gap: 18px; overflow-x: auto; }
  .activity-search input { width: 100%; }.retention-note { display: none; }
  .activity-layout { grid-template-columns: 1fr; }
  .audit-stream { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .event-inspector { min-height: 450px; }
}

@media (max-width: 480px) {
  body[data-page] .brand { font-size: 12px; }
  body[data-page] .wallet-button { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .app-page-head h1 { font-size: 39px; }
  .app-page-head p { font-size: 11px; }
  .status-rail { grid-template-columns: 1fr; }
  .status-rail > div { min-height: 74px; border-right: 0; border-bottom: 1px solid var(--line); }
  .portfolio-hero { padding: 23px 17px 0; }
  .portfolio-hero > header { gap: 20px; }.portfolio-hero strong { font-size: 27px; }
  .range-tabs button { min-width: 31px; }
  .portfolio-chart { height: 225px; }
  .portfolio-side-stats { grid-template-columns: 1fr; }
  .portfolio-side-stats > div { border-right: 0; }
  .portfolio-side-stats > div:nth-child(2) { border-top: 1px solid var(--line); }
  .portfolio-side-stats > a { margin: 16px 22px; }
  .toolbar-actions { flex-direction: column; }.export-button { width: 100%; }
  .risk-panel { padding: 24px 17px; }
  .activity-filters { gap: 14px; }.activity-filters button { flex: 0 0 auto; }
  .activity-event { grid-template-columns: 37px 27px minmax(0,1fr) 14px; gap: 8px; padding: 0 13px; }
  .event-type { display: none; }.event-copy b, .event-copy small { max-width: 100%; }
  .event-inspector { padding: 21px 16px; }
  .app-footer { min-height: 83px; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page] *, body[data-page] *::before, body[data-page] *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
