:root{--bg: #0d0f12;--panel: #131313;--panel-2: #1c1b1b;--panel-3: #232326;--line: rgba(255, 255, 255, .08);--text: #f3f6fc;--muted: #9097a3;--blue: #1A73E8;--green: #16c784;--red: #ea3943;--amber: #c9a15f;--shadow: 0 24px 60px rgba(0, 0, 0, .35);--radius: 20px}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{min-height:100vh;background:radial-gradient(circle at top right,rgba(26,115,232,.18),transparent 28%),radial-gradient(circle at bottom left,rgba(22,199,132,.08),transparent 26%),linear-gradient(160deg,#0b0d10,#101114 48%,#0c0e12);color:var(--text);font-family:Inter,Segoe UI,sans-serif;font-variant-numeric:tabular-nums}button,input{font:inherit}button{border:0}.terminal-shell{min-height:100vh}.brand-sub,.panel-kicker,.summary-label,.summary-hint,.asset-exchange,.earnings-quarter,.earnings-bar-label,.watchlist-market,.header-status{color:var(--muted);font-size:11px;letter-spacing:.14em;text-transform:uppercase}.filter-row button,.chart-timeframes button,.chart-settings,.topbar-links button{border:1px solid var(--line);background:#ffffff05;color:var(--text);border-radius:14px;cursor:pointer;transition:.16s ease}.filter-row button:hover,.filter-row button.active,.chart-timeframes button:hover,.chart-timeframes button.active,.chart-settings:hover,.topbar-links button:hover{border-color:#1a73e873;background:#1a73e829}.terminal-main{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:100vh}.terminal-topbar{display:grid;grid-template-columns:auto minmax(240px,1fr) auto;align-items:center;gap:16px;padding:20px 24px 0}.topbar-links{display:flex;gap:10px}.topbar-links button{padding:10px 14px}.topbar-search input,.watchlist-search input{width:100%;border:1px solid var(--line);background:#ffffff0a;color:var(--text);border-radius:16px;padding:12px 14px}.user-pill{width:38px;height:38px;display:grid;place-items:center;border-radius:999px;background:#ffffff14;font-weight:700}.terminal-content{min-height:0;height:calc(100vh - 78px);padding:20px 24px 24px;overflow:auto}.content-stage,.analysis-shell,.market-dashboard{display:grid;gap:16px;min-height:0}.content-stage,.analysis-shell{grid-template-rows:auto auto auto;height:auto;overflow:visible}.content-header{display:flex;align-items:end;justify-content:space-between;gap:16px}.content-header h1,.asset-symbol-row h2,.panel-head h3{margin:0}.content-header h1{font-size:34px}.filter-row{display:flex;flex-wrap:wrap;gap:8px}.filter-row button,.chart-timeframes button,.chart-settings{padding:10px 12px}.terminal-grid{display:grid;grid-template-columns:320px minmax(0,1fr);gap:16px;min-height:0;height:auto;align-items:start}.ledger-panel{border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(180deg,#1c1b1bf5,#131313fa);box-shadow:var(--shadow)}.watchlist-panel,.asset-panel,.market-panel{padding:20px}.chart-panel,.earnings-panel{padding:20px 20px 12px}.watchlist-panel{display:flex;flex-direction:column;min-height:0;max-height:calc(100vh - 170px);overflow:hidden}.panel-head{display:flex;align-items:start;justify-content:space-between;gap:16px}.panel-head h3{font-size:24px}.panel-copy,.watchlist-copy,.asset-name{margin:8px 0 0;color:#c6cfdb;line-height:1.5}.watchlist-search{flex:1 1 220px;min-width:0}.watchlist-search-row{margin-top:16px}.watchlist-sort-row{margin-top:10px;display:flex;justify-content:flex-start}.watchlist-sort{display:inline-flex;align-items:center;gap:6px;padding:4px;border:1px solid var(--line);border-radius:999px;background:#ffffff08;box-shadow:inset 0 1px #ffffff08}.watchlist-sort button{padding:8px 12px;border:0;border-radius:999px;background:transparent;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;cursor:pointer;transition:.16s ease}.watchlist-sort button:hover{color:var(--text);background:#ffffff0d}.watchlist-sort button.active{color:var(--text);background:linear-gradient(135deg,#1a73e847,#7e8cff2e);box-shadow:0 10px 24px #1a73e82e}.watchlist-list{margin-top:16px;display:grid;gap:10px;min-height:0;flex:1 1 auto;max-height:calc(100vh - 330px);overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:rgba(144,151,163,.35) rgba(255,255,255,.03)}.watchlist-list::-webkit-scrollbar{width:10px}.watchlist-list::-webkit-scrollbar-track{background:#ffffff08;border-radius:999px}.watchlist-list::-webkit-scrollbar-thumb{background:#9097a359;border:2px solid rgba(19,19,19,.96);border-radius:999px}.watchlist-list::-webkit-scrollbar-thumb:hover{background:#9097a380}.watchlist-item{padding:14px;border:1px solid var(--line);border-radius:16px;background:#ffffff05;color:inherit;text-align:left;cursor:pointer}.watchlist-item:hover,.watchlist-item.active{border-color:#1a73e866;background:#1a73e81a}.watchlist-main,.watchlist-bottom,.asset-header,.asset-symbol-row,.chart-toolbar,.chart-legend,.summary-grid,.earnings-grid{display:flex}.watchlist-main,.watchlist-bottom,.asset-header,.chart-toolbar,.chart-legend,.summary-grid{justify-content:space-between;gap:12px}.watchlist-main,.watchlist-bottom,.asset-symbol-row,.chart-toolbar,.chart-legend{align-items:center}.watchlist-price,.summary-value,.earnings-eps{font-size:22px;font-weight:700}.watchlist-name{font-size:17px;font-weight:700}.watchlist-pattern,.watchlist-change,.summary-hint,.tooltip-row,.market-axis-label{font-size:12px}.summary-grid,.earnings-grid{flex-wrap:wrap}.summary-grid{margin-top:16px}.summary-card{flex:1 1 200px;min-height:108px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#ffffff08}.summary-value{margin-top:10px}.tone-positive .summary-value,.tone-positive,.watchlist-change.tone-positive,.earnings-yoy.tone-positive{color:var(--green)}.tone-negative .summary-value,.watchlist-change.tone-negative,.earnings-yoy.tone-negative{color:var(--red)}.asset-exchange{padding:6px 10px;border-radius:999px;background:#ffffff0f}.asset-update{text-align:right;color:#dbe3ee}.chart-panel-head{align-items:center}.chart-title-meta{font-weight:400;color:var(--muted)}.chart-timeframes{display:flex;flex-wrap:wrap;gap:8px}.chart-settings{min-width:88px}.chart-legend{flex-wrap:wrap;margin-top:14px;color:var(--muted);font-size:12px}.chart-legend span{display:inline-flex;align-items:center;gap:8px}.chart-legend i{width:14px;height:3px;border-radius:999px;display:inline-block}.chart-wrap{position:relative;margin-top:12px;min-height:540px;height:540px;overflow:hidden}.chart-host,.market-line-host{width:100%;height:100%}.market-line-host{min-height:280px;height:280px}.tooltip{position:absolute;z-index:20;pointer-events:none;background:#121418f5;border:1px solid var(--line);border-radius:14px;padding:10px 12px;min-width:220px}.tooltip-title{font-weight:700;margin-bottom:8px}.tooltip-row{display:flex;justify-content:space-between;gap:12px;color:var(--muted);margin-top:4px}.tooltip-row strong{color:var(--text)}.earnings-grid{margin-top:12px;gap:12px;align-items:start}.earnings-card{flex:1 1 180px;min-width:160px;padding:16px 16px 12px;border:1px solid var(--line);border-radius:18px;background:#ffffff08}.earnings-card.emphasized{border-color:#1a73e870;box-shadow:inset 0 0 0 1px #1a73e847;background:linear-gradient(180deg,#1a73e82e,#ffffff08)}.earnings-yoy{margin-top:6px;font-size:14px;font-weight:600}.earnings-bars{display:flex;gap:16px;margin-top:10px}.earnings-bar-col{display:grid;gap:8px;justify-items:center}.earnings-bar-track{width:24px;height:56px;display:flex;align-items:end;justify-content:center;border-radius:999px;background:#ffffff0f}.earnings-bar{width:14px;border-radius:999px}.earnings-bar.eps{background:var(--blue)}.earnings-bar.yoy.tone-positive{background:var(--green)}.earnings-bar.yoy.tone-negative{background:var(--red)}.earnings-bar.yoy.tone-neutral{background:var(--amber)}.market-breakout-host{margin-top:16px;min-height:320px}.market-breakout-svg{width:100%;height:320px}.market-axis,.market-grid-line{stroke:#ffffff1f}.market-axis-label{fill:var(--muted)}.market-axis-label-left{text-anchor:end}.market-rate-line{fill:none;stroke:#7e8cff;stroke-width:2.2}.sparkline{width:96px;height:28px}.sparkline path{fill:none;stroke-width:2}.sparkline-positive path{stroke:var(--green)}.sparkline-negative path{stroke:var(--red)}.sparkline-neutral path{stroke:#9bb3ce}.empty{display:grid;place-items:center;color:var(--muted);min-height:120px}@media (max-width: 1180px){.terminal-content{height:auto;overflow:auto}.content-stage,.analysis-shell{height:auto;overflow:visible}.terminal-grid{grid-template-columns:1fr;height:auto}.watchlist-list{max-height:480px}}@media (max-width: 720px){.watchlist-sort-row{justify-content:stretch}.watchlist-sort{justify-content:center;width:100%}.terminal-topbar,.content-header,.asset-header,.chart-toolbar{grid-template-columns:1fr;display:grid}.terminal-content,.terminal-topbar{padding-left:12px;padding-right:12px}.content-header h1{font-size:28px}}.watchlist-text{min-width:0}.watchlist-pattern{margin-top:6px;color:var(--muted);letter-spacing:.04em;text-transform:uppercase}.watchlist-metrics{display:inline-flex;gap:12px;color:var(--muted);font-size:11px;letter-spacing:.12em;text-transform:uppercase}.watchlist-price-block{text-align:right}.market-dashboard{grid-template-columns:1fr}
