/* Alpha Stochastic Research — Terminal uniform UI v13.18.53
   Final visual-only convergence pass for every preserved Terminal desk.
   No layout, visibility, interaction, data hook or runtime behavior is changed. */

body.asr-current-v131824.asrion-terminal-v131718[data-asrion-vnext] [data-terminal-view]{
  --term-u-surface:#0b0b10;
  --term-u-surface-2:#101018;
  --term-u-surface-3:#15131d;
  --term-u-line:rgba(247,245,251,.085);
  --term-u-line-strong:rgba(169,141,251,.22);
  --term-u-text:#f7f5fb;
  --term-u-muted:#9a95a3;
  --term-u-dim:#706978;
  --term-u-violet:#a98dfb;
  --term-u-violet-2:#7656d8;
  --term-u-green:#72cf9e;
  --term-u-red:#ef7d8b;
  --term-u-gold:#d9b36c;
  color:var(--term-u-text)!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view] :where(h1,h2,h3,h4,strong,b){color:var(--term-u-text)!important}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view] :where(p,small,.sub,.meta,.deep-footnote){color:var(--term-u-muted)!important}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view] :where(.panel-body,.max-body,.afte-card-body){
  background:transparent!important;
  color:#bdb6c4!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view] :where(.view-toolbar,.risk67-toolbar){
  border:1px solid var(--term-u-line)!important;
  border-radius:15px!important;
  background:linear-gradient(180deg,rgba(16,16,24,.98),rgba(9,9,13,.98))!important;
  box-shadow:0 14px 40px rgba(0,0,0,.16)!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view] :where(button,.board-tabs button,.deep-calendar-toolbar button,.risk67-actions button,.afte-rescan,.pricing78-back){
  border-color:rgba(247,245,251,.10)!important;
  border-radius:9px!important;
  background:#0f0e14!important;
  color:#aaa3b1!important;
  box-shadow:none!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view] :where(button,.board-tabs button,.deep-calendar-toolbar button,.risk67-actions button,.afte-rescan,.pricing78-back):hover{
  border-color:rgba(169,141,251,.32)!important;
  background:#17131f!important;
  color:#fff!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view] :where(button.active,button[aria-selected="true"],button.primary,.primary){
  border-color:rgba(169,141,251,.42)!important;
  background:linear-gradient(135deg,rgba(169,141,251,.96),rgba(118,86,216,.96))!important;
  color:#09070d!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view] :where(select,input:not([type="checkbox"]):not([type="radio"]),textarea){
  border-color:rgba(247,245,251,.10)!important;
  border-radius:10px!important;
  background:#09080d!important;
  color:#f3eef7!important;
  box-shadow:none!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view] :where(select,input:not([type="checkbox"]):not([type="radio"]),textarea):focus{
  border-color:rgba(169,141,251,.44)!important;
  box-shadow:0 0 0 3px rgba(169,141,251,.07)!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view] :where(a){color:#bca9ef}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view] :where(a:hover){color:#e3d9ff}

/* Overview */
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="overview"] .board-tabs{
  border-color:var(--term-u-line)!important;
  background:#09080d!important;
  border-radius:10px!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="overview"] :where(.hero-quote,.hero-meta,.session-list,.heatmap,.yield-wrap,.term-rate-summary,.term-macro-grid,.asrion-globe-wrap){
  border-color:var(--term-u-line)!important;
  background:#09080d!important;
  border-radius:12px!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="overview"] .hero-quote :where(.symbol,.price){color:#f3eef7!important}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="overview"] .hero-meta{color:#807987!important}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="overview"] :where(.session-list>*,.term-macro-grid>*){
  border-color:rgba(247,245,251,.065)!important;
  background:#0b0a10!important;
  border-radius:9px!important;
}
body.asr-current-v131824[data-asrion-vnext] :is([data-terminal-view="overview"],[data-terminal-view="markets"]) :where(.term-globe-topline-v13184,.term-globe-tooltip-v13184,.term-globe-markets-v13184){
  border-color:rgba(247,245,251,.08)!important;
  background:rgba(10,9,14,.94)!important;
  color:#c3bcc9!important;
  box-shadow:0 16px 42px rgba(0,0,0,.28)!important;
}

/* Global Markets */
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="global"] :where(.global-globe-host,.global-globe-panel,.global-agenda-panel,.global-console,.global-search){
  border:1px solid var(--term-u-line)!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#0d0c12,#09080d)!important;
  box-shadow:0 16px 46px rgba(0,0,0,.16)!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="global"] :where(.region-list>*,.global-leaders>*,.signal-list>*,.data-quality-copy>*,.microstream-list>*,.global-agenda-list>*){
  border-color:rgba(247,245,251,.07)!important;
  border-radius:9px!important;
  background:#0b0a10!important;
  color:#aaa3b1!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="global"] :where(.global-status,.global-badge,.global-agenda-trigger,.global-agenda-toggle){
  border-color:rgba(169,141,251,.18)!important;
  border-radius:999px!important;
  background:rgba(118,86,216,.09)!important;
  color:#c7b9eb!important;
}

/* Markets */
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="markets"] :where(.heatmap,.asrion-globe-wrap){
  border-color:var(--term-u-line)!important;
  border-radius:12px!important;
  background:#09080d!important;
}

/* Deep desks: Rates, FX, Commodities, Equities, Crypto, Macro, Risk, Calendar */
body.asr-current-v131824[data-asrion-vnext] :is(
  [data-terminal-view="rates"],
  [data-terminal-view="fx"],
  [data-terminal-view="commodities"],
  [data-terminal-view="equity"],
  [data-terminal-view="crypto"],
  [data-terminal-view="macro"],
  [data-terminal-view="risk"],
  [data-terminal-view="calendar"]
) .deep-grid{color:#bcb5c2!important}
body.asr-current-v131824[data-asrion-vnext] :is(
  [data-terminal-view="rates"],
  [data-terminal-view="fx"],
  [data-terminal-view="commodities"],
  [data-terminal-view="equity"],
  [data-terminal-view="crypto"],
  [data-terminal-view="macro"],
  [data-terminal-view="risk"],
  [data-terminal-view="calendar"]
) :where(.deep-bars,.deep-regime,.deep-calendar-list,.deep-source-grid,.v66-correlation-host){
  border-color:var(--term-u-line)!important;
  border-radius:11px!important;
  background:#09080d!important;
}
body.asr-current-v131824[data-asrion-vnext] :is(
  [data-terminal-view="rates"],
  [data-terminal-view="fx"],
  [data-terminal-view="commodities"],
  [data-terminal-view="equity"],
  [data-terminal-view="crypto"],
  [data-terminal-view="macro"],
  [data-terminal-view="risk"],
  [data-terminal-view="calendar"]
) :where(.deep-bar-row,.deep-factor,.deep-ratio,.deep-signal,.deep-event,.deep-regime-grid>*,.deep-source-grid>*,.deep-calendar-summary,.deep-calendar-sensitivity,.deep-calendar-sources){
  border-color:rgba(247,245,251,.07)!important;
  border-radius:9px!important;
  background:#0b0a10!important;
  color:#aaa3b1!important;
}
body.asr-current-v131824[data-asrion-vnext] :is(
  [data-terminal-view="rates"],
  [data-terminal-view="fx"],
  [data-terminal-view="commodities"],
  [data-terminal-view="equity"],
  [data-terminal-view="crypto"],
  [data-terminal-view="macro"],
  [data-terminal-view="risk"],
  [data-terminal-view="calendar"]
) :where(.deep-kicker,.deep-focus-meta,.deep-macro-chart-meta,.deep-risk-copy){color:#817a89!important}
body.asr-current-v131824[data-asrion-vnext] :is(
  [data-terminal-view="rates"],
  [data-terminal-view="fx"],
  [data-terminal-view="commodities"],
  [data-terminal-view="equity"],
  [data-terminal-view="crypto"],
  [data-terminal-view="macro"],
  [data-terminal-view="risk"],
  [data-terminal-view="calendar"]
) .max-inline-body.locked{
  border-color:rgba(169,141,251,.10)!important;
  background:#09080d!important;
  color:#77707f!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="calendar"] .deep-calendar-toolbar{
  border-color:var(--term-u-line)!important;
  border-radius:10px!important;
  background:#0b0a10!important;
}

/* Risk Suite */
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="risk"] .risk67-toolbar-copy :where(h1,p){color:inherit!important}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="risk"] .risk67-eyebrow{color:#b9a5ef!important}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="risk"] .risk67-status-strip{
  border:1px solid var(--term-u-line)!important;
  border-radius:13px!important;
  background:#09080d!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="risk"] .risk67-status-strip>*{
  border-color:rgba(247,245,251,.065)!important;
  background:#0b0a10!important;
  border-radius:9px!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="risk"] :where(.risk67-kpi,.risk67-card,.risk67-stat,.risk67-breakdown-row,.risk67-tail-card,.risk67-scenario-card,.risk67-alert,.risk67-threshold){
  border-color:rgba(247,245,251,.07)!important;
  border-radius:10px!important;
  background:#0b0a10!important;
  color:#aaa3b1!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="risk"] :where(.risk67-status,.risk67-alert-state,.risk67-method,.risk67-note,.risk67-corr-regime){
  border-color:rgba(169,141,251,.16)!important;
  border-radius:999px!important;
  background:rgba(118,86,216,.08)!important;
  color:#bdaeed!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="risk"] :where(.risk67-up){color:var(--term-u-green)!important}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="risk"] :where(.risk67-down){color:var(--term-u-red)!important}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="risk"] :where(.risk67-warn){color:var(--term-u-gold)!important}

/* Intelligence / ASRION Max */
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="max"] :where(.max-workspace-hero-v23,.asrion-ai-panel-v24){
  border:1px solid var(--term-u-line)!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#100e16,#09080d)!important;
  box-shadow:0 18px 52px rgba(0,0,0,.18)!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="max"] :where(.max-access-feature-v23,.asrion-ai-summary-v24>section,.ai-empty-v24,.max-kpis>*,.max-hyp-list>*,.max-detail-card,.max-metric,.max-persist-row,.max-feature-row,.max-context-strip){
  border-color:rgba(247,245,251,.075)!important;
  border-radius:10px!important;
  background:#0b0a10!important;
  color:#aaa3b1!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="max"] :where(.max-access-eyebrow-v23,.eyebrow,.max-badge){color:#bca9ef!important}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="max"] .max-subscription-price-v23 strong{color:#e6ddfb!important}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="max"] .asrion-ai-head-v24{
  border-bottom-color:rgba(247,245,251,.07)!important;
  background:#0c0b11!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="max"] .asrion-ai-status-v24{
  border-color:rgba(114,207,158,.18)!important;
  border-radius:999px!important;
  background:rgba(30,86,56,.09)!important;
  color:#9adeba!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="max"] :where(.max-detail,.max-saved-v23,.max-wide-v23){
  border-color:rgba(247,245,251,.065)!important;
}

/* Trading Lab */
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="trading"] :where(.afte-toolbar-actions,.afte-lab-actions){
  border-color:rgba(247,245,251,.07)!important;
  border-radius:10px!important;
  background:#09080d!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="trading"] :where(.afte-live,.afte-live-status,.afte-server-state,.afte-method-pill){
  border-color:rgba(169,141,251,.16)!important;
  border-radius:999px!important;
  background:rgba(118,86,216,.08)!important;
  color:#bdaeed!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="trading"] :where(.afte-access-card,.afte-shadow-card,.afte-evidence-row,.afte-history-row,.afte-replay-run,.afte-server-summary,.afte-server-diagnostics,.afte-hypothesis,.afte-stage,.afte-test,.afte-threshold,.afte-process>*){
  border-color:rgba(247,245,251,.075)!important;
  border-radius:10px!important;
  background:#0b0a10!important;
  color:#aaa3b1!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="trading"] :where(.afte-good){color:var(--term-u-green)!important}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="trading"] :where(.afte-bad){color:var(--term-u-red)!important}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="trading"] :where(.afte-gold){color:var(--term-u-gold)!important}

/* Pricing */
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="pricing"] :where(.pricing78-top,.pricing78-hero,.pricing78-compare,.pricing79-value,.pricing79-payments){
  border:1px solid var(--term-u-line)!important;
  border-radius:15px!important;
  background:linear-gradient(180deg,#0f0e15,#09080d)!important;
  box-shadow:0 16px 48px rgba(0,0,0,.16)!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="pricing"] :where(.pricing78-state,.pricing78-hero-note,.pricing78-capability,.pricing78-compare-grid>*,.pricing79-value-item,.pricing79-payment-methods>span){
  border-color:rgba(247,245,251,.075)!important;
  border-radius:10px!important;
  background:#0b0a10!important;
  color:#aaa3b1!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="pricing"] :where(.pricing78-eyebrow,.pricing78-plan-kicker,.pricing78-label){color:#b9a5ec!important}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="pricing"] .pricing78-price strong,
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="pricing"] .pricing79-value-price{color:#f0eaff!important}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="pricing"] :where(.pricing78-summary,.pricing79-payments-copy span,.pricing79-payment-note,.pricing78-disclosure){color:#8b8492!important}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="pricing"] .asrion-pricing-legal-v131784{
  border-color:rgba(247,245,251,.065)!important;
  background:#09080d!important;
  color:#8b8492!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="pricing"] .asrion-pricing-legal-v131784 a{color:#bca9ef!important}

/* Explicit desk roots keep the same visual language even when historical CSS is highly specific. */
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="rates"] :where(.panel,.deep-panel),
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="fx"] :where(.panel,.deep-panel),
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="commodities"] :where(.panel,.deep-panel),
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="equity"] :where(.panel,.deep-panel),
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="crypto"] :where(.panel,.deep-panel),
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="macro"] :where(.panel,.deep-panel){
  border-color:var(--term-u-line)!important;
  background:linear-gradient(180deg,#0f0e15,#09090d)!important;
  box-shadow:0 16px 46px rgba(0,0,0,.16)!important;
}
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="calendar"] :where(.panel,.deep-panel),
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="risk"] :where(.panel,.deep-panel),
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="trading"] .afte-card,
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="max"] :where(.max-panel,.max-access-card-v23),
body.asr-current-v131824[data-asrion-vnext] [data-terminal-view="pricing"] .pricing78-card{
  border-color:var(--term-u-line)!important;
  background:linear-gradient(180deg,#0f0e15,#09090d)!important;
  box-shadow:0 16px 46px rgba(0,0,0,.16)!important;
}

@media(max-width:980px){
  body.asr-current-v131824[data-asrion-vnext] [data-terminal-view] :where(.panel,.deep-panel,.max-panel,.afte-card,.pricing78-card,.view-toolbar,.risk67-toolbar){
    border-radius:12px!important;
  }
}
