:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#020914;--bg-soft:#06111f;--panel:#0a1626eb;--panel-strong:#0b1628;--panel-soft:#0f1d33;--line:#1c304c;--line-bright:#274260;--text:#e7eefb;--muted:#9aa9bd;--green:#38d977;--green-soft:#38d97724;--blue:#35a7ff;--blue-soft:#35a7ff29;--purple:#9b6cff;--purple-soft:#9b6cff29;--yellow:#f5b73b;--yellow-soft:#f5b73b26;--red:#ff4d5e;--red-soft:#ff4d5e26}*{box-sizing:border-box}html{width:100%;max-width:100%;overflow-x:hidden}body{background:radial-gradient(circle at top left, #1f70a333, transparent 34rem), radial-gradient(circle at bottom right, #1db9681f, transparent 30rem), var(--bg);color:var(--text);width:100%;max-width:100%;margin:0;font-family:Segoe UI,Roboto,Helvetica,Arial,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;font-size:15px;line-height:1.45;overflow-x:hidden}a{color:inherit;text-decoration:none}button,textarea{font:inherit}button{border:0}.appFrame{grid-template-columns:236px minmax(1040px,1fr);width:100%;max-width:100%;min-height:100vh;display:grid;overflow-x:hidden}.sidebar{border-right:1px solid var(--line);background:linear-gradient(#081422,#050c17 72%);flex-direction:column;gap:18px;min-height:100vh;padding:18px 14px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:8px;margin-bottom:10px;display:flex}.brandMark{color:var(--green);background:radial-gradient(circle at 52% 42%,#2cb8ff2e,#0000 65%),#061525;border:1px solid #2cb8ff47;border-radius:10px;flex:0 0 38px;justify-content:center;align-items:center;width:38px;height:38px;padding:4px;display:inline-flex;box-shadow:0 0 18px #2cb8ff21}.brandMark svg{filter:drop-shadow(0 0 8px #2cb8ff57);width:100%;height:100%;display:block}.brand span:last-child,.copyright,.systemCard span,.systemCard small,.userMenu small,.pageHeader p,.panelHeader small,.metricCard small,.metricCard span,.feedItem p,.feedItem small,.textSections p,.statusRow span,.subMeta,.pipelineColumn p,.brokerBlock span,.statCell span{color:var(--muted)}.sideNav{gap:5px;display:grid}.sideItem{color:#b5c2d5;border-radius:10px;align-items:center;gap:11px;min-height:40px;padding:0 11px;font-size:14px;display:flex;position:relative}.sideItem:hover,.sideItem.active{color:var(--text);background:#0d1c31}.sideItem.active:after{background:var(--green);content:"";border-radius:999px;width:3px;position:absolute;top:7px;bottom:7px;right:-14px}.sideItem b,.iconButton span{background:var(--red);color:#fff;border-radius:999px;margin-left:auto;padding:2px 6px;font-size:10px}.systemCard{border:1px solid var(--line);border-radius:10px;margin-top:auto;padding:13px}.systemCard strong{color:var(--green);margin:8px 0;font-size:12px;display:block}.copyright{font-size:11px;display:block}.workspace{width:100%;min-width:0;max-width:100%;padding:14px 18px 28px}.topBar{align-items:center;gap:14px;margin-bottom:14px;display:flex}.searchBox{border:1px solid var(--line);color:var(--muted);background:#050d19;border-radius:8px;flex:0 540px;padding:11px 14px;font-size:14px}.topSpacer{flex:1}.miniSelect,.ghostButton,.iconButton{border:1px solid var(--line);color:#cbd7e7;cursor:pointer;background:#07111f;border-radius:8px;min-height:34px;padding:8px 12px}.iconButton{width:38px;position:relative}.iconButton span{position:absolute;top:-6px;right:-6px}.userMenu{align-items:center;gap:10px;display:flex}.userMenu strong,.userMenu small{font-size:13px;display:block}.avatar{background:linear-gradient(135deg,#f0a77b,#633629);border-radius:999px;place-items:center;width:34px;height:34px;font-weight:800;display:grid}.pageGrid{gap:12px;display:grid}.pageHeader{justify-content:space-between;align-items:start;display:flex}.pageHeader h1{margin:0 0 4px;font-size:25px}.pageHeader p{margin:0;font-size:14px}.loginShell{place-items:center;min-height:100vh;padding:24px;display:grid}.loginPanel{background:var(--panel);border:1px solid var(--line-bright);border-radius:10px;gap:18px;width:min(100%,420px);max-width:420px;padding:28px;display:grid;box-shadow:0 22px 70px #00000052}.loginPanel h1{margin:0;font-size:28px}.loginEyebrow{color:var(--green);letter-spacing:0;text-transform:uppercase;margin:0 0 6px;font-size:12px;font-weight:800}.loginPanel label{color:var(--muted);gap:8px;font-size:14px;display:grid}.loginPanel input{border:1px solid var(--line);color:var(--text);font:inherit;background:#050d19;border-radius:8px;min-height:44px;padding:10px 12px}.loginPanel input:focus{border-color:var(--green);outline:2px solid var(--green-soft)}.loginPanel button{background:var(--green);color:#021008;cursor:pointer;font:inherit;border-radius:8px;min-height:44px;padding:10px 14px;font-weight:800}.loginError{color:var(--red);margin:0}.headerActions{gap:10px;display:flex}.metricStrip{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.metricCard,.panel,.pipelineColumn,.miniPanel{border:1px solid var(--line);background:linear-gradient(#0f1f34eb,#07111feb);box-shadow:0 16px 40px #0000002e}.metricCard{border-radius:10px;align-items:center;gap:14px;min-height:96px;padding:17px;display:flex}.metricIcon{border-radius:999px;flex:0 0 54px;place-items:center;height:54px;font-size:28px;display:grid}.metricCard.blue .metricIcon,.badge.blue{background:var(--blue-soft);color:var(--blue)}.metricCard.green .metricIcon,.badge.positive,.badge.green{background:var(--green-soft);color:var(--green)}.metricCard.purple .metricIcon,.badge.purple{background:var(--purple-soft);color:var(--purple)}.metricCard.yellow .metricIcon,.badge.warning,.badge.yellow{background:var(--yellow-soft);color:var(--yellow)}.metricCard.red .metricIcon,.badge.negative{background:var(--red-soft);color:var(--red)}.metricCard strong{font-size:29px;line-height:1.05;display:block}.metricCard span{font-size:13px}.metricCard small{margin-top:6px;font-size:12px;display:block}.dashboardGrid,.detailGrid{grid-template-columns:repeat(12,minmax(0,1fr));gap:10px;display:grid}.ideasDetailGrid{grid-template-rows:minmax(720px,calc(100vh - 244px)) auto;align-items:start}.ideasDetailGrid>.panel:first-child,.ideasDetailGrid>.panel:nth-child(2){height:max(720px,100vh - 244px);min-height:720px;display:grid}.ideasDetailGrid>.panel:first-child{grid-template-rows:auto minmax(0,1fr)}.ideasDetailGrid>.panel:nth-child(2){grid-template-rows:auto auto auto minmax(0,1fr)}.ideasDetailGrid>.panel:nth-child(3){grid-column:1/-1}.span3{grid-column:span 3}.span4{grid-column:span 4}.span5{grid-column:span 5}.span6{grid-column:span 6}.span7{grid-column:span 7}.span8{grid-column:span 8}.span9{grid-column:span 9}.span12{grid-column:span 12}.panel{border-radius:10px;min-width:0;padding:12px}.panelHeader{border-bottom:1px solid #27426073;align-items:center;gap:10px;margin-bottom:11px;padding-bottom:9px;display:flex}.panelHeader h2{letter-spacing:.02em;text-transform:uppercase;flex:1;margin:0;font-size:14px}.badge{border:1px solid;border-radius:6px;padding:4px 7px;font-size:11px;line-height:1;display:inline-flex}.pipelinePreview{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.strategyOpsGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.strategyOpsCard{background:#081426;border:1px solid #27426094;border-radius:9px;align-content:start;gap:9px;min-height:242px;padding:12px;display:grid}.brandedStrategyCard{--strategy-accent:#3ba7ff;border-color:color-mix(in srgb, var(--strategy-accent) 34%, #2742609e);border-top-color:var(--strategy-accent);box-shadow:inset 0 1px 0 color-mix(in srgb, var(--strategy-accent) 18%, transparent), 0 0 12px #0a182a57;position:relative;overflow:hidden}.brandedStrategyCard:before{background:linear-gradient(90deg, color-mix(in srgb, var(--strategy-accent) 72%, transparent), transparent 68%);content:"";opacity:.8;height:1px;position:absolute;top:0;left:12px;right:12px}.strategyOpsCard.inTrade{background:#081426;border-color:#f5b54985;animation:2.8s ease-in-out infinite trade-card-glow;position:relative}.strategyOpsCard.inTrade:after{content:"";opacity:.8;background:linear-gradient(90deg,#0000,#f5b5492e,#38d9771f,#0000);height:1px;animation:3.6s ease-in-out infinite trade-heat-sweep;position:absolute;top:0;left:12px;right:12px}.strategyOpsHeader{z-index:1;justify-content:space-between;align-items:start;gap:12px;min-width:0;height:58px;min-height:58px;display:flex;position:relative}.strategyOpsHeader h3{color:#fff;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:34px;margin:0;font-size:14px;line-height:1.15;display:-webkit-box;overflow:hidden}.strategyBrandHeader{align-items:flex-start;gap:12px;width:100%;min-width:0;display:flex}.strategyBrandMark{background:radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--strategy-accent) 16%, transparent), transparent 68%), #071321;border:1px solid color-mix(in srgb, var(--strategy-accent) 38%, #2742608c);color:var(--strategy-accent);opacity:.96;border-radius:8px;flex:0 0 46px;justify-content:center;align-items:center;width:46px;height:46px;padding:7px;display:flex}.strategyBrandMark svg{filter:drop-shadow(0 0 10px color-mix(in srgb, var(--strategy-accent) 30%, transparent));width:100%;height:100%;display:block}.strategyBrandCopy{grid-template-rows:22px 34px;min-width:0;display:grid;overflow:hidden}.strategyCodename{color:var(--strategy-accent);letter-spacing:.04em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;font-size:17px;font-weight:900;line-height:1.05;overflow:hidden}.strategyOpsDescription{color:#dcebffb8;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:36px;font-size:13px;line-height:1.35;display:-webkit-box;overflow:hidden}.strategyReferenceWrap{padding-bottom:4px;overflow-x:auto}.strategyReferenceTable{border-collapse:collapse;table-layout:fixed;width:100%;min-width:2200px}.strategyReferenceTable th,.strategyReferenceTable td{text-align:left;vertical-align:middle;border-bottom:1px solid #27426073;max-width:320px;padding:7px 10px;font-size:12px;line-height:1.28}.strategyReferenceTable tr{height:1px}.strategyReferenceTable th{color:#dcecff;letter-spacing:.04em;text-transform:uppercase;z-index:1;font-size:11px;position:sticky;top:0}.strategyReferenceTable th,.strategyReferenceTable td{background:#081426}.strategyReferenceTable td:first-child,.strategyReferenceTable th:first-child{z-index:2;position:sticky;left:0}.strategyReferenceTable td:nth-child(2),.strategyReferenceTable th:nth-child(2){z-index:2;position:sticky;left:158px}.strategyReferenceTable th:first-child,.strategyReferenceTable th:nth-child(2){z-index:3}.strategyReferenceTable td:first-child,.strategyReferenceTable th:first-child{width:158px;min-width:158px}.strategyReferenceTable td:nth-child(2),.strategyReferenceTable th:nth-child(2){width:260px;min-width:260px}.strategyReferenceTable td:nth-child(3),.strategyReferenceTable th:nth-child(3){width:260px}.strategyReferenceTable td:nth-child(4),.strategyReferenceTable th:nth-child(4){width:160px}.strategyReferenceTable td:nth-child(5),.strategyReferenceTable th:nth-child(5),.strategyReferenceTable td:nth-child(6),.strategyReferenceTable th:nth-child(6){width:210px}.strategyReferenceTable td:nth-child(7),.strategyReferenceTable th:nth-child(7),.strategyReferenceTable td:nth-child(8),.strategyReferenceTable th:nth-child(8),.strategyReferenceTable td:nth-child(9),.strategyReferenceTable th:nth-child(9),.strategyReferenceTable td:nth-child(13),.strategyReferenceTable th:nth-child(13){width:300px}.strategyReferenceTable td:nth-child(10),.strategyReferenceTable th:nth-child(10),.strategyReferenceTable td:nth-child(11),.strategyReferenceTable th:nth-child(11),.strategyReferenceTable td:nth-child(12),.strategyReferenceTable th:nth-child(12){width:220px}.strategyReferenceTable td:nth-child(14),.strategyReferenceTable th:nth-child(14){width:360px}.strategyReferenceTable strong,.strategyReferenceTable small{display:block}.strategyReferenceTable small{color:var(--muted);margin-top:4px}.strategyReferenceName{gap:3px;display:grid}.strategyReferenceName span{color:var(--strategy-accent);letter-spacing:.04em;text-transform:uppercase;font-size:15px;font-weight:900}.strategyCompactCell{-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:32px;display:-webkit-box;overflow:hidden}.strategyPillList,.strategyVariablesDetails summary{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.strategyPillList span{color:#bdd9f8;white-space:nowrap;background:#35a7ff1a;border:1px solid #35a7ff38;border-radius:999px;padding:3px 7px}.strategyDetailCell summary,.strategyVariablesDetails summary{cursor:pointer;list-style:none}.strategyDetailCell summary::-webkit-details-marker{display:none}.strategyVariablesDetails summary::-webkit-details-marker{display:none}.strategyDetailCell summary{-webkit-line-clamp:2;color:#cfe6ff;-webkit-box-orient:vertical;max-height:32px;display:-webkit-box;overflow:hidden}.strategyDetailCell code{color:#bfd7f4;white-space:pre-wrap;background:#030a14cc;border:1px solid #35a7ff2e;border-radius:6px;max-height:160px;margin-top:6px;padding:8px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11px;display:block;overflow:auto}.strategyVariableList{scrollbar-width:thin;flex-wrap:wrap;gap:6px;min-width:0;max-width:100%;max-height:180px;margin-top:8px;padding-bottom:2px;display:flex;overflow:auto}.strategyVariable{color:#cbd7e7;white-space:nowrap;background:#071321db;border:1px solid #35a7ff2e;border-radius:999px;flex:none;gap:5px;max-width:100%;padding:5px 8px;display:inline-flex}.strategyVariablesDetails:not([open]) .strategyVariable{padding-block:3px}.strategyVariable b{color:var(--blue);text-transform:uppercase}.strategyVariable.muted{color:var(--muted);border-color:#2742606b}.subMetaLabel,.strategyFootnotes span,.strategyOpsMeta span:last-child,.strategyStats span{color:var(--muted);font-size:12px}.statusLight{background:var(--red);box-shadow:0 0 0 4px var(--red-soft);border-radius:999px;flex:0 0 12px;width:12px;height:12px;margin-top:5px}.statusLight.enabled{background:var(--green);box-shadow:0 0 0 4px var(--green-soft), 0 0 18px #38d97775}.statusLight.inTrade{background:var(--yellow);box-shadow:0 0 0 4px var(--yellow-soft), 0 0 20px #f5b549b3;animation:1.4s ease-in-out infinite trade-light-pulse}.strategyOpsMeta{z-index:1;justify-content:space-between;align-items:center;gap:9px;min-height:26px;display:flex;position:relative}.strategyOpsMeta span:last-child{text-align:right;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.bankrollTracker{background:#071321;border:1px solid #35a7ff38;border-radius:7px;grid-template-columns:1fr;align-content:start;gap:9px;height:222px;padding:8px;display:grid;overflow:hidden}.bankrollTracker div{min-width:0}.bankrollTracker span,.bankrollTracker small{color:var(--muted);font-size:11px;line-height:1.2;display:block}.bankrollTracker strong{color:var(--text);margin:2px 0;font-size:14px;line-height:1.2;display:block}.bankrollHero{border-bottom:1px solid #94a3b824;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;padding-bottom:7px;display:grid}.bankrollHeroValue{text-align:right;min-width:0}.bankrollHero strong{margin:0;font-size:18px}.bankrollHero small{max-width:250px}.bankrollTracker .bankrollHorizonStrip{display:block}.bankrollHorizonItems{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:5px;display:grid}.bankrollHorizonItem{background:#0206173d;border:1px solid #94a3b81f;border-radius:6px;padding:6px}.bankrollHorizonItem b{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:700;line-height:1.1;display:block}.bankrollHorizonItem strong{font-size:13px}.bankrollKpiGrid{border-top:1px solid #94a3b824;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding-top:7px;display:grid}.bankrollKpiGrid>div{min-width:0}.symbolFilterRow{scrollbar-width:none;flex-wrap:nowrap;align-items:center;gap:6px;height:34px;min-height:34px;display:flex;overflow:auto hidden}.symbolFilterRow::-webkit-scrollbar{display:none}.symbolFilterButton{color:var(--muted);cursor:pointer;background:#071321;border:1px solid #35a7ff47;border-radius:999px;flex:none;min-height:26px;padding:7px 9px;font-size:11px;font-weight:700;line-height:1}.symbolFilterButton:hover,.symbolFilterButton.active{background:color-mix(in srgb, var(--strategy-accent) 17%, #071321);border-color:color-mix(in srgb, var(--strategy-accent) 60%, #35a7ff47);color:var(--text)}.inTradeBadge{align-items:center;gap:5px;animation:1.8s ease-in-out infinite trade-badge-pulse}.tradeFlame{background:linear-gradient(#ffe08a 0%,#f5b549 48%,#f97316 100%);border-radius:70% 70% 55% 55%;width:9px;height:12px;animation:.9s ease-in-out infinite alternate trade-flame-flicker;display:inline-block;position:relative;transform:rotate(45deg)}.tradeFlame:after{content:"";background:#fff5c2e6;border-radius:70% 70% 55% 55%;width:4px;height:6px;position:absolute;top:4px;left:3px}.strategyStats{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.strategyStats div{background:#071321;border:1px solid #27426066;border-radius:7px;min-width:0;padding:8px}.strategyStats strong{margin-top:2px;font-size:16px;display:block}.gateInsightStrip{background:#071321;border:1px solid #2742607a;border-radius:7px;justify-content:space-between;align-items:center;gap:10px;min-height:58px;padding:9px 10px;display:flex}.gateInsightStrip.high{background:#ff4d5e1a;border-color:#ff4d5e6b}.gateInsightStrip.medium{background:#f5b73b1a;border-color:#f5b73b61}.gateInsightStrip.empty{border-style:dashed}.gateInsightStrip span,.gateInsightStrip small{color:var(--muted);font-size:11px;display:block}.gateInsightStrip strong{margin:2px 0;font-size:13px;display:block}.gateInsightStrip button{color:#dcecff;cursor:pointer;background:#35a7ff24;border:1px solid #35a7ff8c;border-radius:7px;flex:none;min-height:32px;padding:7px 9px;font-size:11px;font-weight:800}.gateInsightStrip button:disabled{color:var(--muted);cursor:default;border-color:#27426080}.openTradePill{color:inherit;text-align:left;background:#35a7ff1f;border:1px solid #35a7ff61;border-radius:7px;justify-content:space-between;align-items:center;width:100%;min-height:38px;padding:8px 10px;font-size:13px;display:flex}.openTradePillStack{gap:6px;display:grid}.tradeHistoryToggle{cursor:pointer;font-family:inherit}.tradeHistoryToggle:hover{border-color:#35a7ffb8}.tradeHistoryToggle>span{flex-direction:column;align-items:flex-end;gap:2px;display:inline-flex}.tradeHistoryToggle small{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:800;display:block}.strategyOpsCard.inTrade .openTradePill{background:#f5b5491f;border-color:#f5b5496b;animation:2s ease-in-out infinite trade-pill-pulse}.openTradePill.quiet{color:var(--muted);background:#071321;border-color:#27426066}.openTradePill.quiet strong{color:var(--muted);font-weight:500}.strategyTradeHistory{background:#071321c7;border:1px solid #2742606b;border-radius:7px;gap:8px;padding:9px 10px;display:grid}.strategyTradeHistoryHeader{color:var(--text);justify-content:space-between;align-items:center;font-size:12px;font-weight:800;display:flex}.strategyTradeHistoryHeader small{color:var(--muted);font-size:11px;font-weight:700}.strategyTradeHistoryRows{gap:5px;display:grid}.strategyTradeHistoryRow{border-top:1px solid #27426057;grid-template-columns:74px minmax(94px,1fr) minmax(88px,1fr) 72px 46px;align-items:center;gap:7px;min-width:0;padding-top:6px;font-size:11px;display:grid}.strategyTradeHistoryRow span,.strategyTradeHistoryRow strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.strategyTradeHistoryRow em{color:var(--muted);text-align:right;font-style:normal;font-weight:800}.strategyTradeHistoryEmpty{color:var(--muted);font-size:12px}.decisionSnapshotStrip{flex-wrap:wrap;gap:6px;min-width:0;display:flex}.decisionSnapshotChip{color:#cbd7e7;text-overflow:ellipsis;white-space:nowrap;background:#071321eb;border:1px solid #2742608f;border-radius:999px;align-items:center;gap:5px;max-width:100%;min-height:24px;padding:4px 8px;font-size:11px;line-height:1.2;display:inline-flex;overflow:hidden}.decisionSnapshotChip b{color:var(--muted);text-transform:uppercase;font-size:10px}.decisionSnapshotChip.good{color:#bff8de;border-color:#1cd68a6b}.decisionSnapshotChip.warn{color:#ffe3a6;border-color:#f5b54975}.decisionSnapshotChip.bad{color:#ffc3ca;border-color:#ff4d5e7a}@keyframes trade-card-glow{0%,to{box-shadow:0 0 #f5b54900}50%{box-shadow:0 0 22px #f5b54929}}@keyframes trade-light-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.22)}}@keyframes trade-badge-pulse{0%,to{box-shadow:0 0 #f5b54900}50%{box-shadow:0 0 14px #f5b5493d}}@keyframes trade-flame-flicker{0%{filter:brightness(.95);transform:rotate(45deg)scale(.92)}to{filter:brightness(1.18);transform:rotate(45deg)scale(1.08)}}@keyframes trade-heat-sweep{0%,to{opacity:.25;transform:scaleX(.35)}50%{opacity:.85;transform:scaleX(1)}}@keyframes trade-pill-pulse{0%,to{border-color:#f5b5495c}50%{border-color:#f5b549b3}}@media (prefers-reduced-motion:reduce){.strategyOpsCard.inTrade,.strategyOpsCard.inTrade:after,.statusLight.inTrade,.inTradeBadge,.tradeFlame,.strategyOpsCard.inTrade .openTradePill{animation:none}}.strategyFootnotes{border-top:1px solid #27426052;gap:4px;padding-top:9px;display:grid}.gateInsightsOverlay{z-index:50;background:#020914ad;justify-content:flex-end;display:flex;position:fixed;inset:0}.gateInsightsDrawer{background:#06111f;border-left:1px solid #35a7ff47;grid-template-rows:auto auto 1fr;gap:12px;width:min(1120px,96vw);max-width:1120px;height:100vh;padding:18px;display:grid;overflow:auto;box-shadow:-24px 0 70px #00000070}.gateInsightsHeader{border-bottom:1px solid #27426080;justify-content:space-between;align-items:start;gap:12px;padding-bottom:12px;display:flex}.gateInsightsHeader h2{margin:3px 0 0;font-size:20px}.drawerCloseButton{color:var(--muted);cursor:pointer;background:#071321;border:1px solid #274260cc;border-radius:7px;width:34px;height:34px;font-weight:900}.gateScopeFilter{margin:2px 0 0}.gateInsightSummary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.gateInsightSummary>div,.counterfactualCard,.whyRankedBox,.affectedTradesPanel,.gateInsightMetricCard{background:#071321;border:1px solid #27426085;border-radius:8px;padding:10px}.gateInsightSummary>div{height:104px;overflow:hidden}.gateInsightSummary span,.gateInsightSummary small,.gateInsightMetricCard span,.gateInsightMetricCard small,.whyRankedBox p,.affectedTradeRow span{color:var(--muted);font-size:12px}.gateInsightSummary strong{-webkit-line-clamp:1;-webkit-box-orient:vertical;margin:3px 0;font-size:16px;display:-webkit-box;overflow:hidden}.gateInsightSummary small{-webkit-line-clamp:3;-webkit-box-orient:vertical;line-height:1.55;display:-webkit-box;overflow:hidden}.gateInsightLayout{grid-template-columns:330px minmax(0,1fr);gap:14px;min-height:0;display:grid}.rankedGateList{align-content:start;gap:8px;display:grid}.rankedGateItem{color:inherit;cursor:pointer;text-align:left;background:#071321;border:1px solid #27426085;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;height:104px;padding:9px;display:grid}.rankedGateItem>div{min-width:0}.rankedGateItem.active{box-shadow:inset 3px 0 0 var(--blue);border-color:#35a7ffb8}.rankedGateItem.high{background:#ff4d5e14}.rankedGateItem.medium{background:#f5b73b14}.rankedGateItem strong,.whyRankedBox h3,.affectedTradesPanel h3{margin:0;font-size:13px}.rankedGateItem strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.rankedGateItem small{color:var(--muted);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin-top:3px;font-size:11px;line-height:1.35;display:-webkit-box;overflow:hidden}.rankedGateItem small.stackDelta{-webkit-line-clamp:1;color:#9fc3e8;font-weight:700}.rankedGateItem small.stackDelta.positive{color:var(--green)}.rankedGateItem small.stackDelta.negative{color:var(--red)}.rankedGateItem small.stackDelta.neutral{color:var(--muted)}.rankNumber{color:var(--blue);font-size:12px;font-weight:900}.gateInsightDetail{align-content:start;gap:10px;display:grid}.counterfactualCard{justify-content:space-between;align-items:start;gap:10px;height:96px;display:flex;overflow:hidden}.counterfactualCard span,.counterfactualCard small{color:var(--muted);font-size:12px;display:block}.counterfactualCard span{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.counterfactualCard small{-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.45;display:-webkit-box;overflow:hidden}.counterfactualCard strong{color:var(--green);margin:2px 0;font-size:24px;display:block}.actualSimGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.gateInsightMetricCard.highlight{background:#38d97714;border-color:#38d97780}.gateInsightMetricCard{height:124px;overflow:hidden}.gateInsightMetricCard strong{margin:4px 0;font-size:18px;display:block}.gateInsightMetricCard div{gap:2px;display:grid}.whyRankedBox{grid-template-rows:auto minmax(0,1fr) auto;gap:7px;height:132px;display:grid;overflow:hidden}.whyRankedBox p{-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.55;display:-webkit-box;overflow:hidden}.affectedTradeList{grid-auto-rows:min-content;align-content:start;gap:5px;min-height:0;padding-right:3px;display:grid;overflow:auto}.affectedTradesPanel{grid-template-rows:auto minmax(0,1fr);height:520px;display:grid;overflow:hidden}.affectedTradeRow{border-top:1px solid #27426057;grid-template-columns:76px minmax(86px,1.1fr) 72px minmax(112px,1fr) 48px auto;align-items:center;gap:8px;min-height:34px;padding-top:5px;display:grid}.affectedTradeRow strong{font-size:12px}.activeTradeStack,.summaryStack{gap:8px;display:grid}.activeTradeCard{background:linear-gradient(#35a7ff21,#081426f5);border:1px solid #35a7ff57;border-radius:9px;gap:12px;padding:12px;display:grid}.activeTradeCard strong{margin-top:3px;font-size:20px;display:block}.tradePriceGrid{gap:4px;display:grid}.pipelineColumn{border-radius:9px;gap:8px;min-height:246px;padding:12px;display:grid}.pipelineColumn.blue{border-color:#24547a}.pipelineColumn.purple{border-color:#5c3ea1}.pipelineColumn.green{border-color:#28633c}.pipelineColumn h3{margin:0;font-size:14px}.pipelineColumn h3 span{border-radius:999px;place-items:center;width:22px;height:22px;margin-right:8px;display:inline-grid}.pipelineColumn.blue h3 span{background:var(--blue)}.pipelineColumn.purple h3 span{background:var(--purple)}.pipelineColumn.green h3 span{background:var(--green);color:#06240f}.pipelineColumn p{margin:0;font-size:12px}.strategyChip{border:1px solid var(--line);background:#0a1729;border-radius:6px;justify-content:space-between;align-items:center;gap:6px;padding:8px;font-size:13px;display:flex}.strategyChip b{color:#cbd7e7;background:#142744;border-radius:5px;padding:3px 6px;font-size:10px}.columnFooter,.linkButton{border:1px solid var(--line-bright);color:#74adff;cursor:pointer;text-align:center;background:0 0;border-radius:6px;padding:8px;font-size:12px}.twoCol{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.snapshot{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:8px;display:grid}.brokerBlock,.statCell{background:#081426;border:1px solid #27426080;border-radius:7px;padding:9px}.brokerBlock{grid-column:span 1}.statCell{text-align:center}.brokerBlock span,.statCell span{font-size:12px;display:block}.brokerBlock strong,.statCell strong{margin-top:4px;font-size:13px;display:block}.chartCard{background:#071321;border:1px solid #2742608c;border-radius:8px;min-height:151px;padding:10px}.chartCard h3,.miniPanel h3,.textSections h3{color:#cbd7e7;margin:0 0 7px;font-size:13px}.chartCard svg{width:100%;height:106px;overflow:visible}.barChart{align-items:end;gap:8px;height:112px;padding:10px 5px;display:flex}.bar{border-radius:4px 4px 0 0;flex:1}.positiveBar{background:var(--green)}.negativeBar{background:var(--red)}.donutCard{gap:8px;display:grid}.donut{background:conic-gradient(var(--green) 0 61%, var(--red) 61% 100%);border-radius:999px;place-items:center;width:92px;height:92px;margin:0 auto;display:grid;position:relative}.donut:after{content:"";background:#071321;border-radius:999px;position:absolute;inset:16px}.donut strong,.donut span{z-index:1;position:relative}.donut strong{font-size:20px}.donut span{color:var(--muted);margin-top:26px;font-size:11px;position:absolute}.tableWrap{overflow-x:auto}.tradeTableWrap table{min-width:1320px}.tradePagination{border-top:1px solid #2742605c;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;padding-top:10px;display:flex}.tradePagination div:first-child{gap:2px;display:grid}.tradePagination strong{color:var(--text);font-size:13px}.tradePagination span{color:var(--muted);font-size:12px}.tradePaginationActions{gap:8px;display:flex}.tradePaginationActions button{color:var(--text);cursor:pointer;background:#071321;border:1px solid #35a7ff47;border-radius:7px;min-height:34px;padding:8px 12px;font-weight:700}.tradePaginationActions button:disabled{color:var(--muted);cursor:not-allowed;opacity:.55}table{border-collapse:collapse;white-space:nowrap;min-width:100%}th,td{text-align:left;border-bottom:1px solid #2742605c;padding:8px;font-size:12px;line-height:1.35}th{color:var(--muted);font-weight:600}td{color:#cbd7e7}tr:hover td{background:#35a7ff0d}.right{text-align:right}.center{text-align:center}.tone-positive{color:var(--green)}.tone-negative{color:var(--red)}.tone-warning{color:var(--yellow)}.tone-purple{color:var(--purple)}.tone-neutral{color:var(--text)}.actionStack,.nextActions,.footerActions{gap:10px;display:flex}.actionStack{flex-direction:column}.primaryAction,.footerActions button,.nextActions button,.noteComposer button{background:var(--blue-soft);border:1px solid var(--blue);color:#dcecff;cursor:pointer;border-radius:8px;padding:12px 14px;font-weight:700}a.primaryAction{text-align:center;display:block}.placeholderText{color:#cbd7e7;margin:0;line-height:1.6}.primaryAction.purple,.purpleButton{background:var(--purple-soft);border-color:var(--purple);color:#dfd3ff}.primaryAction.green{background:var(--green-soft);border-color:var(--green);color:#c9f7d9}.warningButton{background:var(--yellow-soft)!important;border-color:var(--yellow)!important;color:#ffe1a3!important}.dangerButton{cursor:pointer;border-radius:8px;padding:12px 14px;font-weight:800;background:var(--red-soft)!important;border:1px solid var(--red)!important;color:#ffccd2!important}.subMeta{justify-content:space-between;margin-top:16px;font-size:11px;display:flex}.brokerList{gap:9px;display:grid}.brokerRow{background:#081426;border:1px solid #27426080;border-radius:8px;grid-template-columns:1.5fr 1fr 1.3fr 1fr auto;align-items:center;gap:10px;padding:10px;display:grid}.brokerRow strong,.brokerRow span,.brokerRow small{font-size:13px}.splitPanel{grid-template-columns:.95fr 1.4fr;gap:16px;display:grid}.statusRow{border-bottom:1px solid #27426047;justify-content:space-between;align-items:center;gap:12px;padding:7px 0;display:flex}.statusRow span,.statusRow strong{font-size:13px}.feed{gap:8px;display:grid}.feed.compact{gap:6px}.feedItem{grid-template-columns:12px 72px 1fr auto;align-items:start;gap:4px 8px;display:grid}.feedItem p{grid-column:3/-1;margin:0;font-size:12px}.feedItem strong{font-size:13px}.dot{border-radius:999px;width:8px;height:8px;margin-top:5px}.dot.green{background:var(--green)}.dot.blue{background:var(--blue)}.dot.purple{background:var(--purple)}.dot.yellow{background:var(--yellow)}.dot.red{background:var(--red)}.textSections{gap:9px;max-height:585px;padding-right:8px;display:grid;overflow:auto}.textSections div{border-left:2px solid #9b6cff73;padding-left:12px}.textSections p{margin:0;font-size:13px;line-height:1.55}.footerActions{border-top:1px solid #27426080;justify-content:end;margin-top:12px;padding-top:10px}.noteComposer{grid-template-columns:1fr auto;gap:8px;margin-top:12px;display:grid}.ideaComposer{grid-template-columns:1fr auto;gap:10px;display:grid}.ideaComposer button{background:var(--green-soft);border:1px solid var(--green);color:#c9f7d9;cursor:pointer;border-radius:8px;align-self:end;padding:12px 16px;font-weight:800}.noteComposer textarea{border:1px solid var(--line);color:var(--text);resize:vertical;background:#071321;border-radius:8px;min-height:48px;padding:10px}.ideaComposer textarea{border:1px solid var(--line);color:var(--text);resize:vertical;background:#071321;border-radius:10px;min-height:96px;padding:12px}.ideaList{gap:8px;margin-top:12px;display:grid}.ideaItem{background:#081426;border:1px solid #27426080;border-radius:8px;padding:12px}.ideaItem p{color:#cbd7e7;white-space:pre-wrap;margin:6px 0 0;line-height:1.55}.savedIdeaList{align-content:start;gap:8px;height:100%;min-height:0;padding-right:2px;display:grid;overflow:auto}.ideasDetailGrid .compactSections{height:100%;min-height:0;max-height:none}.killedIdeaDivider{border:1px solid #ff4d5e94;border-left:5px solid var(--red);background:linear-gradient(90deg,#ff4d5e38,#f5b73b1f);border-radius:8px;align-items:center;gap:4px;margin:6px 0 2px;padding:12px;display:grid}.killedIdeaDivider span{color:var(--red);letter-spacing:.12em;text-transform:uppercase;font-size:11px;font-weight:900}.killedIdeaDivider strong{color:#ffd8dd;font-size:14px}.killedIdeaDivider small{color:var(--muted);font-size:12px}.savedIdeaItem{color:inherit;cursor:pointer;text-align:left;background:#081426;border:1px solid #2742608c;border-radius:8px;gap:8px;width:100%;padding:12px;transition:border-color .14s,background .14s,transform .14s;display:grid}.savedIdeaItem.killed{opacity:.78;background:#0814269e;border-color:#ff4d5e3d}.savedIdeaItem.killed:hover,.savedIdeaItem.killed:focus-visible,.savedIdeaItem.killed.active{opacity:1}.savedIdeaItem:hover,.savedIdeaItem:focus-visible{background:#0a1a30;border-color:#35a7ffb8;outline:none}.savedIdeaItem:active{transform:translateY(1px)}.savedIdeaItem.active{border-color:var(--blue);box-shadow:inset 3px 0 0 var(--green);background:linear-gradient(#35a7ff29,#081426f5)}.savedIdeaItem.evidence-green{box-shadow:inset 3px 0 0 var(--green);border-color:#1de988a8}.savedIdeaItem.evidence-yellow{box-shadow:inset 3px 0 0 var(--yellow);border-color:#f5b5499e}.savedIdeaItem.evidence-green.active{border-color:var(--green);background:linear-gradient(#1de98826,#081426f5)}.savedIdeaItem.evidence-yellow.active{border-color:var(--yellow);background:linear-gradient(#f5b54924,#081426f5)}.ideaTitleRow{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.ideaTitleRow .badge{flex:none;margin-top:1px}.savedIdeaItem strong{margin-top:3px;line-height:1.25;display:block}.savedIdeaItem p{color:#cbd7e7;margin:0;line-height:1.45}.ideaMetaRow,.ideaDetailGrid{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.backtestLearning{gap:12px;display:grid}.learningSummaryGrid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.learningMetric{background:#050d19b8;border:1px solid #27426099;border-radius:8px;padding:10px}.learningMetric span,.coverageItem span{color:var(--muted);font-size:12px;display:block}.learningMetric strong{color:var(--text);margin-top:4px;font-size:20px;line-height:1.2;display:block}.learningNote{color:#cfe8d8;background:#38d97717;border:1px solid #38d9774d;border-radius:8px;padding:10px 12px}.bankrollPanel{background:#071321d1;border:1px solid #2742609e;border-radius:8px;gap:10px;padding:12px;display:grid}.bankrollHeader{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.bankrollHeader h3,.bankrollDetailGrid h4{color:var(--text);margin:0 0 4px;font-size:13px}.bankrollHeader p,.bankrollRead,.bankrollDetailGrid p{color:var(--muted);margin:0;line-height:1.45}.bankrollHeader span{color:#cfe8d8;flex:none;font-weight:800}.bankrollEstimateGrid,.bankrollDetailGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.bankrollDetailGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.bankrollEstimate{background:#050d19bd;border:1px solid #2742608a;border-radius:8px;padding:10px}.bankrollEstimate span,.bankrollEstimate small{color:var(--muted);font-size:12px;display:block}.bankrollEstimate strong{color:var(--text);margin:4px 0;font-size:18px;line-height:1.2;display:block}.learningSections{grid-template-columns:1.15fr .85fr;gap:12px;display:grid}.learningSections h3{margin:0 0 6px;font-size:13px}.learningSections p{color:#b8c8dc;margin:4px 0}.coverageGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.coverageItem{background:#081426d1;border:1px solid #2742608c;border-radius:8px;padding:9px}.coverageItem strong{margin-bottom:4px;display:block}.variantTableWrap{border:1px solid #27426099;border-radius:8px;overflow:auto}.variantTable{border-collapse:collapse;width:100%;min-width:880px}.variantTable th,.variantTable td{text-align:left;white-space:nowrap;border-bottom:1px solid #27426073;padding:8px 10px;font-size:12px}.variantTable th{color:var(--muted);font-weight:600}.variantTable td:first-child{color:#cbd7e7;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.emptyLearning{color:var(--muted);padding:12px 0}.gatesLayout{align-items:start}.gatesHeader{grid-template-columns:1fr auto;align-items:start;gap:16px;display:grid}.gatesControls{justify-content:end;gap:10px;padding-top:4px;display:flex}.gatesMetricStrip{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.gateMetric{border:1px solid var(--line);background:linear-gradient(#0f1f34eb,#07111feb);border-radius:8px;grid-template-columns:70px 1fr;align-items:center;gap:14px;min-height:104px;padding:16px;display:grid}.gateMetric.open{border-color:#23d88452}.gateMetric.closed{border-color:#ff4c6a52}.gateMetric.waiting{border-color:#ffbc4952}.gateMetric.conflict{border-color:#8b74ff5c}.gateMetricIcon{place-items:center;display:grid}.gateMetric span{color:var(--muted);font-size:13px}.gateMetric strong{font-size:34px;line-height:1;display:block}.gateMetric small{color:#cbd7e7;margin-top:7px;font-size:12px;display:block}.gateFlowPanel{overflow:hidden}.gatePipeline{grid-template-columns:74px repeat(var(--gate-count,8), minmax(112px, 132px)) 84px;isolation:isolate;scrollbar-color:#96f4ff80 #ffffff1f;align-items:center;gap:12px;width:100%;max-width:100%;min-height:398px;padding:44px 132px 26px 88px;display:grid;position:relative;overflow:auto hidden}.gatePipeline:before{background:radial-gradient(circle at 18% 48%, #2ad9ff29, transparent 28%), radial-gradient(circle at var(--flow-stop,58%) 50%, #ff4c6a1f, transparent 16%), linear-gradient(180deg, #132b462e, #050e1a26 52%, #050e1a57);content:"";pointer-events:none;z-index:0;position:absolute;inset:10px 0}.gateStream{z-index:1;background:linear-gradient(90deg,#1a465d24,#3e657d61,#1a465d24);border:1px solid #49a7cc1f;border-radius:999px;height:18px;position:absolute;top:52%;left:82px;right:82px;overflow:hidden;transform:translateY(-50%);box-shadow:inset 0 0 18px #112c3dd1}.gateStream:before{content:"";height:100%;width:var(--flow-stop,0%);background:radial-gradient(circle at 18%,#ffffffd1 0 2px,#0000 3px),radial-gradient(circle at 52% 45%,#ffffffa3 0 1px,#0000 3px),linear-gradient(90deg,#16aae02e,#37e2fff5,#18b5ecb8);border-radius:999px;position:absolute;top:0;left:0;box-shadow:0 0 20px #2ad8ffad,0 0 50px #2ad8ff33}.gateStream:after{content:"";opacity:.75;width:var(--flow-stop,0%);background:repeating-linear-gradient(90deg,#0000 0 8px,#ffffff73 8px 11px,#0000 11px 24px);border-radius:999px;animation:1.6s linear infinite waterDrift;position:absolute;inset:0 auto 0 0}.gatePipeline.blocked .gateStream{box-shadow:inset 0 0 18px #112c3dd1,0 0 18px #ff4c6a14}.gatePipeline.blocked .gateStream:before{-webkit-mask-image:linear-gradient(90deg,#000 0 calc(100% - 20px),#0000 100%);mask-image:linear-gradient(90deg,#000 0 calc(100% - 20px),#0000 100%)}.gatePipeline.blocked .gateStream:after{-webkit-mask-image:linear-gradient(90deg,#000 0 calc(100% - 18px),#0000 100%);mask-image:linear-gradient(90deg,#000 0 calc(100% - 18px),#0000 100%)}.gateStreamForeground{pointer-events:none;z-index:2;border-radius:999px;height:16px;position:absolute;top:52%;left:82px;right:82px;overflow:visible;transform:translateY(-50%)}.gateStreamForeground:before{content:"";mix-blend-mode:screen;opacity:.94;height:100%;width:var(--flow-stop,0%);background:radial-gradient(circle at 12%,#fffffff2 0 2px,#0000 3px),radial-gradient(circle at 34% 44%,#b4f6ffd1 0 2px,#0000 4px),radial-gradient(circle at 63% 56%,#ffffffb8 0 1px,#0000 3px),repeating-linear-gradient(90deg,#75efff47 0 8px,#ffffffd1 8px 11px,#2ad9ff8a 11px 24px),linear-gradient(90deg,#159cd72e,#4eeaffe6,#1fc0ef85);border:1px solid #98f4ffb8;border-radius:999px;animation:1.9s ease-in-out infinite waterPulse,1.15s linear infinite waterDrift;position:absolute;top:0;left:0;box-shadow:0 0 14px #39e2ffe0,0 0 34px #39e2ff6b,inset 0 0 9px #ffffff80}.gateStreamForeground:after{content:"";height:50px;left:var(--flow-stop,0%);opacity:0;background:radial-gradient(circle,#ebfdfff2 0 2px,#0000 3px),radial-gradient(circle,#5ae4ffe6 0 5px,#0000 8px),radial-gradient(circle,#5ae4ff66 0 16px,#0000 26px);border-radius:999px;width:50px;position:absolute;top:50%;transform:translate(-50%,-50%)}.gatePipeline.blocked .gateStreamForeground:after{opacity:.82;animation:1.4s ease-in-out infinite splashPulse}.gateFlowSvg{pointer-events:none;width:calc(100% - 164px);height:100%;position:absolute;top:0;left:82px;right:82px;overflow:visible}.gateFlowBack{z-index:1}.gateFlowFront{mix-blend-mode:screen;opacity:.72;z-index:4}.gateBeamDormant{stroke:#2a577261;stroke-linecap:round;stroke-width:5.5px}.gateBeamGlowWide,.gateBeamCore,.gateBeamHighlight{filter:url(#gate-water-glow);stroke-dasharray:var(--flow-stop-units,0) 100;stroke-linecap:round}.gateBeamGlowWide{opacity:.74;stroke:#47e2ff8a;stroke-width:13px}.gateBeamCore{opacity:.96;stroke:url(#gate-water-core);stroke-width:5.6px}.gateBeamHighlight{opacity:.86;stroke:#e8fdffd6;stroke-dasharray:2.2 4.2;stroke-dashoffset:0;stroke-width:2.2px;animation:1.8s ease-in-out infinite waterPulse}.gateWaterParticles{opacity:.72;pointer-events:none;height:20px;clip-path:inset(0 calc(100% - var(--flow-stop,0%)) 0 0);z-index:4;background:radial-gradient(circle at 8px,#fffffff2 0 2px,#0000 3px),radial-gradient(circle at 34px 48%,#8df1ffcc 0 1px,#0000 3px),repeating-linear-gradient(90deg,#0000 0 22px,#ffffffb3 22px 24px,#0000 24px 42px);border-radius:999px;animation:1.08s linear infinite waterDrift;position:absolute;top:50%;left:82px;right:82px;transform:translateY(-50%);box-shadow:0 0 20px #44e8ff57}.gateImpactBurst{background:radial-gradient(circle, #eefdfff5 0 4px, transparent 5px), radial-gradient(circle, #49e3ffcc 0 16px, transparent 30px), conic-gradient(from 12deg, transparent 0 18deg, #92efffc2 20deg 26deg, transparent 30deg 78deg, #ffffffb3 80deg 86deg, transparent 90deg 100%);height:84px;left:var(--flow-stop,0%);mix-blend-mode:screen;opacity:.92;pointer-events:none;z-index:8;border-radius:999px;width:96px;animation:1.18s ease-in-out infinite splashPulse;position:absolute;top:50%;transform:translate(-50%,-50%)}.gateEndpoint{z-index:7}@keyframes waterDrift{0%{background-position:0 0}to{background-position:48px 0}}@keyframes waterPulse{0%,to{filter:saturate()brightness();transform:scaleY(.86)}50%{filter:saturate(1.22)brightness(1.18);transform:scaleY(1.12)}}@keyframes splashPulse{0%,to{filter:blur();transform:translate(-50%,-50%)scale(.82)}50%{filter:blur(1px);transform:translate(-50%,-50%)scale(1.18)}}.gateEndpoint{text-align:center;z-index:7;background:#071321f0;border:1px solid #274260bf;border-radius:8px;align-items:center;gap:12px;min-height:104px;padding:12px 10px;display:grid;position:relative}.gateEndpoint strong{font-size:13px;line-height:1.3}.gateEndpoint span{color:#9fb2c7;font-size:34px}.gateNode{color:var(--text);cursor:pointer;text-align:left;z-index:5;background:linear-gradient(#0b1c30c2,#050e1ad1),radial-gradient(circle at 50% 43%,#42dcff14,#0000 42%);border:1px solid #2f4f72c7;border-radius:8px;grid-template-rows:70px 112px minmax(78px,1fr) 48px;gap:8px;min-width:96px;height:320px;padding:14px 10px 12px;transition:border-color .16s,transform .16s,background .16s,opacity .16s;display:grid;position:relative;box-shadow:inset 0 1px #ffffff0a,0 16px 34px #0000002e}.gateNode>*{z-index:2;position:relative}.gateNode:before{content:"";opacity:.65;background:linear-gradient(#48e3ff00,#48e3ff33,#48e3ff00),radial-gradient(circle,#48e3ff2e,#0000 52%);width:36px;position:absolute;inset:78px 50% 0;transform:translate(-50%)}.gateNode.flowing:after{content:"";pointer-events:none;z-index:1;background:radial-gradient(circle at 18%,#ffffffe6 0 2px,#0000 3px),repeating-linear-gradient(90deg,#75efff2e 0 8px,#fffc 8px 11px,#2ad9ff80 11px 24px),linear-gradient(90deg,#19ade05c,#5df1ffdb,#19ade05c);border:1px solid #98f4ff9e;border-radius:999px;height:18px;animation:1.9s ease-in-out infinite waterPulse,1.15s linear infinite waterDrift;position:absolute;top:154px;left:-16px;right:-16px;transform:translateY(-50%);box-shadow:0 0 13px #39e2ffe0,0 0 28px #39e2ff57,inset 0 0 8px #ffffff75}.gateNode.afterBlocker{opacity:.72}.gateNode.blocker{box-shadow:inset 0 1px #ffffff0a,0 0 0 1px #ff4c6a33,0 0 36px #ff4c6a33}.gateNode:hover,.gateNode:focus-visible,.gateNode.active{border-color:#6ba6ff;outline:none;transform:translateY(-2px);box-shadow:0 0 0 2px #6ba6ff47,0 0 34px #6ba6ff33,inset 0 1px #ffffff0f}.gateNode.open{border-color:#23d8848c}.gateNode.closed{border-color:#ff4c6aad}.gateNode.waiting{border-color:#ffbc49ad}.gateNode.conflict{border-color:#8b74ffb8}.gateNodeTitle{gap:6px;min-height:0;display:grid}.gateNodeTitle strong{font-size:13px;line-height:1.25}.gateStateText{font-size:12px;font-weight:700}.gateStateText.open{color:var(--green)}.gateStateText.closed{color:var(--red)}.gateStateText.waiting{color:var(--yellow)}.gateStateText.conflict{color:var(--purple)}.gateDoor{border-radius:8px;justify-content:center;align-self:center;align-items:center;width:78px;height:112px;margin:0;display:flex;position:relative}.gateDoor.open{transform:perspective(180px)rotateY(14deg)}.gateDoor:before,.gateDoor:after,.gateDoorBars:before,.gateDoorBars:after{content:"";background:linear-gradient(#ffffffe0,currentColor 18% 82%,#ffffff6b);border-radius:4px;position:absolute;box-shadow:0 0 10px,0 0 28px}.gateDoor:before,.gateDoor:after{width:8px;height:92px;top:10px}.gateDoor:before{left:8px}.gateDoor:after{right:8px}.gateDoorBars:before,.gateDoorBars:after{background:0 0;border-style:solid;border-color:currentColor;border-radius:50%;height:24px;left:14px;right:14px;box-shadow:0 0 11px,inset 0 0 8px}.gateDoorBars:before{border-width:4px 0 0;top:23px;transform:rotate(-4deg)}.gateDoorBars:after{border-width:0 0 4px;bottom:23px;transform:rotate(4deg)}.gateDoorAperture{opacity:.7;background:radial-gradient(circle,#43e9ff33,#0000 48%),linear-gradient(90deg,#0000,#5beeff29,#0000);border:1px solid #7bf5ff29;border-radius:999px;height:34px;position:absolute;top:50%;left:12px;right:12px;transform:translateY(-50%)}.gateDoorStatus{z-index:2;background:#050e1ae6;border:2px solid;border-radius:999px;place-items:center;width:32px;height:34px;font-weight:800;display:grid;position:relative;top:34px}.gateDoor.open{color:var(--green)}.gateDoor.open .gateDoorAperture{opacity:1;background:radial-gradient(circle,#ebfdff8c,#0000 42%),linear-gradient(90deg,#30dbff33,#79f8ffe6,#30dbff33);animation:1.55s ease-in-out infinite waterPulse;box-shadow:0 0 18px #47e2ff94,inset 0 0 10px #ffffff59}.gateDoor.closed{color:var(--red)}.gateDoor.closed .gateDoorAperture{background:radial-gradient(circle,#ff4c6a59,#0000 46%),linear-gradient(90deg,#ff4c6a14,#ff4c6a38,#ff4c6a14);box-shadow:inset 0 0 14px #ff4c6a2e}.gateDoor.waiting{color:var(--yellow)}.gateDoor.waiting .gateDoorAperture{background:radial-gradient(circle,#ffbc4957,#0000 44%),linear-gradient(90deg,#ffbc491a,#ffbc4961,#ffbc491a);animation:2.2s ease-in-out infinite waterPulse}.gateDoor.conflict{color:var(--purple)}.gateDoor.conflict .gateDoorAperture{background:radial-gradient(circle,#8b74ff52,#0000 44%),linear-gradient(90deg,#8b74ff14,#8b74ff57,#8b74ff14)}.gateDoor.mini{width:48px;height:48px;transform:scale(.72)}.gateDoor.mini:before,.gateDoor.mini:after{width:6px;height:58px;top:-5px}.gateDoor.mini .gateDoorBars:before{top:8px}.gateDoor.mini .gateDoorBars:after{bottom:8px}.gateNode small{color:var(--muted);min-height:0;line-height:1.45;overflow:hidden}.gateNodeFooter{color:var(--green);background:#23d88414;border:1px solid #23d8842e;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:8px;font-size:12px;display:flex}.gateFreshness{color:var(--muted);flex:none;font-size:11px}.gateFreshness.fresh{color:var(--green)}.gateFreshness.aging{color:var(--yellow)}.gateFreshness.stale{color:var(--red)}.gateNode.closed .gateNodeFooter{color:var(--red);background:#ff4c6a14;border-color:#ff4c6a33}.gateNode.waiting .gateNodeFooter{color:var(--yellow);background:#ffbc4914;border-color:#ffbc4933}.gateLegend{border:1px solid #274260a6;border-radius:8px;flex-wrap:wrap;align-items:center;gap:22px;margin:8px 12px 12px;padding:10px 14px;display:flex}.gateLegend span{color:#cbd7e7;font-size:13px}.gateAnalystStack{gap:18px;display:grid}.gateAnalystIntro{background:linear-gradient(90deg,#0f2a44b8,#050e1a5c);border:1px solid #274260b8;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:14px;display:flex}.gateAnalystIntro strong{margin-top:4px;font-size:16px;display:block}.gateAnalystIntro p{color:var(--muted);max-width:560px;margin:0}.gateQualityStrip{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.gateQualityStrip div,.conditionItem,.strategyImpactCard,.strategyInclusionCard{background:#050e1a8a;border:1px solid #274260a8;border-radius:8px;padding:12px}.gateQualityStrip span,.conditionItem span,.conditionItem small,.strategyImpactCard span,.strategyImpactCard p,.strategyInclusionCard small{color:var(--muted)}.gateQualityStrip strong{margin:4px 0;font-size:22px;display:block}.gateQualityStrip small,.conditionItem small{font-size:12px;display:block}.sectionTitleRow{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.sectionTitleRow h3{margin:0}.sectionTitleRow span{color:var(--muted);font-size:12px}.gateDataGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.gateDataPanel{min-width:0}.gateDataPanelWide{grid-column:1/-1}.familyGateInsightsPanel{border-color:#f5b73b61}.familyInsightGrid{gap:10px;display:grid}.familyInsightCard{background:#f5b73b0f;border:1px solid #f5b73b47;border-radius:8px;gap:10px;padding:10px;display:grid}.familyInsightHeader,.familyInsightItem{justify-content:space-between;align-items:center;gap:10px;display:flex}.familyInsightHeader strong{margin-top:2px;font-size:16px;display:block}.familyInsightList{gap:7px;display:grid}.familyInsightItem{background:#071321;border:1px solid #27426085;border-radius:7px;min-height:52px;padding:8px}.familyInsightItem.high{background:#ff4d5e14;border-color:#ff4d5e57}.familyInsightItem strong{font-size:13px;display:block}.familyInsightItem small{color:var(--muted);margin-top:2px;font-size:12px;display:block}.gateDataPanel h3{text-transform:uppercase;margin:0 0 10px;font-size:13px}.conditionList,.strategyImpactGrid,.strategyInclusionGrid{gap:10px;display:grid}.strategyInclusionGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.strategyInclusionCard{gap:8px;display:grid}.strategyInclusionCard.included{border-color:#23d88457}.strategyInclusionCard.excluded{opacity:.82}.strategyInclusionCard div{justify-content:space-between;align-items:center;gap:8px;display:flex}.conditionItem{gap:9px;display:grid}.conditionItem.caution{border-color:#ff4c6a70}.conditionItem strong{line-height:1.35}.conditionHeader{justify-content:space-between;align-items:center;gap:8px;display:flex}.conditionStats,.gateChipRow{flex-wrap:wrap;gap:7px;display:flex}.conditionStats span,.gateChip,.miniPill{border-radius:999px;padding:6px 8px;font-size:11px;line-height:1}.conditionStats span{color:#cbd7e7;background:#27426075}.gateChip{color:#d6f3ff;background:#00bcd41a;border:1px solid #49a7cc47}.gateChip.muted{color:var(--muted);background:#2742604d}.miniPill{color:#cbd7e7;white-space:nowrap;border:1px solid #27426099;display:inline-flex}.miniPill.positive{color:var(--green);background:#23d8841a;border-color:#23d88452}.miniPill.warning{color:var(--yellow);background:#ffbc491a;border-color:#ffbc4952}.miniPill.negative{color:var(--red);background:#ff4c6a1a;border-color:#ff4c6a52}.gateMatrixTable th,.gateMatrixTable td{vertical-align:top}.gateMatrixTable td:nth-child(2){min-width:300px}.strategyImpactGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.strategyImpactCard{gap:10px;display:grid}.strategyImpactHeader{justify-content:space-between;align-items:center;gap:10px;display:flex}.strategyImpactCard h4{text-transform:uppercase;margin:0 0 6px;font-size:12px}.strategyImpactCard p{margin:4px 0;font-size:12px}.legendDot{border-radius:999px;width:9px;height:9px;margin-right:7px;display:inline-block}.legendDot.open{background:var(--green)}.legendDot.closed{background:var(--red)}.legendDot.waiting{background:var(--yellow)}.legendDot.conflict{background:var(--blue)}.gateInspectorCard{border-color:#2f4f72c7}.gateInspectorCard.closed{border-color:#ff4c6a94}.gateInspector{border-bottom:1px solid #27426099;margin-bottom:10px;padding-bottom:10px}.gateInspector h3{margin:0 0 7px;font-size:18px}.gateInspectorState{gap:7px;font-size:13px;font-weight:700;display:inline-flex}.gateInspectorState.open{color:var(--green)}.gateInspectorState.closed{color:var(--red)}.gateInspectorState.waiting{color:var(--yellow)}.gateInspectorState.conflict{color:var(--purple)}.gateInspectorRows{gap:0;display:grid}.gateInspectorRows .statusRow{border-bottom:1px solid #2742607a;padding:10px 0}.gateInspectorRows .statusRow strong{text-align:right}.ideaMetaRow span:not(.badge){color:var(--muted);font-size:12px}.ideaDetailGrid{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:12px;display:grid}.compactSections{gap:8px}.reviewPanel{background:#071321;border:1px solid #2742608c;border-radius:8px;grid-template-columns:150px 1fr;gap:10px;margin-bottom:12px;padding:12px;display:grid}.reviewPanel p{color:#cbd7e7;grid-column:1/-1;margin:0;line-height:1.5}.reviewScore{gap:2px;display:grid}.reviewScore span,.reviewScore small{color:var(--muted);font-size:12px}.reviewScore strong{color:var(--green);font-size:28px;line-height:1}.reviewStats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.ruleList{gap:3px;display:grid}.riskGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.miniPanel{border-radius:9px;padding:11px}.miniPanel.green{background:linear-gradient(#1a482e73,#081614e6);border-color:#38d97752}.riskStatus{color:var(--green);margin-top:12px;font-size:22px;display:block}.miniPanel p{color:var(--muted);font-size:13px}.controlStrip{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:9px;display:grid}.productionActions{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:8px;display:grid}.modalBackdrop{z-index:20;background:#000000ad;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal{border:1px solid var(--line-bright);background:linear-gradient(#12223a,#071321);border-radius:16px;width:min(92vw,520px);max-width:520px;padding:24px;box-shadow:0 24px 80px #00000080}.dangerModal{border-color:var(--red);box-shadow:0 24px 80px #ff4d5e33}.modal h2{margin:0 0 10px}.modal p{color:#cbd7e7;line-height:1.55}.modalActions{justify-content:end;gap:10px;margin-top:20px;display:flex}@media (max-width:1280px){.appFrame{grid-template-columns:210px minmax(0,1fr)}.metricStrip{grid-template-columns:repeat(4,minmax(0,1fr))}.metricCard{min-height:82px}.gatePipeline{grid-template-columns:70px repeat(var(--gate-count,8), minmax(108px, 128px)) 76px}.gateInsightsDrawer{width:min(980px,96vw);max-width:980px}.gateInsightLayout{grid-template-columns:300px minmax(0,1fr)}}@media (max-width:1024px){body{background:var(--bg)}.appFrame{width:100%;max-width:100vw;min-height:100vh;display:block;overflow-x:hidden}.sidebar{border-bottom:1px solid var(--line);border-right:0;gap:12px;min-height:auto;padding:12px;position:static}.brand{margin-bottom:0}.sideNav{scrollbar-width:thin;gap:8px;max-width:calc(100vw - 20px);margin:0 -2px;padding:2px 2px 8px;display:flex;overflow-x:auto}.sideItem{white-space:nowrap;flex:none;min-height:36px;padding:0 10px}.sideItem.active:after,.systemCard,.copyright{display:none}.workspace{width:100%;max-width:100vw;padding:12px;overflow-x:hidden}.topBar{grid-template-columns:1fr auto auto;align-items:stretch;gap:8px;display:grid}.searchBox{grid-column:1/-1;min-width:0}.topSpacer{display:none}.userMenu{justify-content:end}.pageHeader{gap:10px;display:grid}.pageHeader h1{font-size:22px}.headerActions{padding-bottom:2px;overflow-x:auto}.dashboardGrid,.detailGrid{grid-template-columns:1fr;min-width:0;max-width:100%}.ideasDetailGrid{grid-template-rows:auto}.ideasDetailGrid>.panel:first-child,.ideasDetailGrid>.panel:nth-child(2){height:auto;min-height:auto;max-height:none}.savedIdeaList{max-height:560px}.bankrollEstimateGrid,.bankrollDetailGrid,.gateDataGrid,.gateQualityStrip,.strategyImpactGrid,.strategyInclusionGrid{grid-template-columns:1fr}.gateAnalystIntro{flex-direction:column;align-items:flex-start}.span3,.span4,.span5,.span6,.span7,.span8,.span9,.span12{grid-column:1/-1}.strategyOpsGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.gatesHeader{grid-template-columns:1fr}.gatesControls,.gatesMetricStrip{overflow-x:auto}.gatesMetricStrip{grid-template-columns:repeat(4,minmax(220px,1fr))}.gatePipeline{grid-template-columns:70px repeat(var(--gate-count,8), minmax(108px, 128px)) 76px;max-width:100%;overflow-x:auto}.splitPanel,.twoCol,.riskGrid,.ideaDetailGrid,.reviewPanel,.reviewStats,.controlStrip,.productionActions,.brokerRow{grid-template-columns:1fr}.gateInsightsDrawer{width:100vw;max-width:none}.gateInsightLayout,.gateInsightSummary,.actualSimGrid{grid-template-columns:1fr}.affectedTradeRow{grid-template-columns:76px minmax(90px,1fr) 70px minmax(108px,1fr) 48px auto}.affectedTradesPanel{height:420px}}@media (max-width:640px){body{font-size:14px}.sidebar{padding:10px}.gatePipeline{grid-template-columns:70px repeat(var(--gate-count,8), minmax(108px, 128px)) 76px;max-width:100%;margin:0;padding:34px 72px 22px}.brand strong{font-size:15px}.brand span:last-child,.searchBox,.userMenu small{display:none}.workspace{width:100%;max-width:100vw;padding:10px;overflow-x:hidden}.affectedTradesPanel{height:360px}.topBar{grid-template-columns:repeat(3,minmax(0,1fr))}.miniSelect,.ghostButton,.iconButton{min-width:0;padding:8px 9px}.iconButton{width:auto}.userMenu{gap:6px}.avatar{width:32px;height:32px}.pageGrid{gap:10px}.pageHeader h1{font-size:20px;line-height:1.2}.pageHeader p{font-size:13px}.panel{padding:10px}.panelHeader{align-items:start;gap:6px;display:grid}.panelHeader h2{font-size:13px}.strategyOpsGrid{grid-template-columns:1fr}.strategyOpsCard{min-height:0}.strategyOpsHeader{height:auto;min-height:0}.strategyBrandCopy{grid-template-rows:auto}.strategyOpsMeta{justify-content:stretch;align-items:start;display:grid}.symbolFilterRow{flex-wrap:nowrap;height:auto;min-height:26px;margin:0 -2px;padding:0 2px 2px;overflow-x:auto}.bankrollTracker{height:auto;overflow:visible}.bankrollHorizonItems,.bankrollKpiGrid,.strategyStats{grid-template-columns:repeat(2,minmax(0,1fr))}.openTradePill{align-items:start;gap:4px;display:grid}.strategyTradeHistoryRow{grid-template-columns:72px minmax(90px,1fr) 66px}.strategyTradeHistoryRow span:nth-child(3){grid-column:2/4}.strategyTradeHistoryRow em{text-align:left}.strategyFootnotes span{overflow-wrap:anywhere}.tableWrap{margin:0 -10px;padding:0 10px}.tradePagination{align-items:stretch;display:grid}.tradePaginationActions{grid-template-columns:1fr 1fr;display:grid}table{min-width:960px}.tradeTableWrap table{min-width:1040px}.tradeTableWrap th:nth-child(2),.tradeTableWrap td:nth-child(2){white-space:normal;overflow-wrap:anywhere;width:190px;min-width:170px;max-width:190px;font-size:10.5px;line-height:1.18}th,td{padding:7px}.actionStack,.nextActions,.footerActions,.modalActions{display:grid}}
