/* Agent Detail Performance only: a trading HUD rather than a card dashboard. */
.ad-tab-panel[data-agent-panel="performance"]{padding-top:18px}
.ap-performance{min-width:0;color:#eaf4ff}.ap-performance :is(button,summary):focus-visible{outline:2px solid #ffe36a;outline-offset:3px}.ap-eyebrow{font:800 10px 'JetBrains Mono',monospace;letter-spacing:.14em;color:#91b6e9}.ap-header{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:11px 0 24px;border-bottom:1px solid #658abe70}.ap-header h2{font-size:clamp(42px,4.7vw,71px);line-height:.95;letter-spacing:-.045em;margin:10px 0 7px;text-shadow:0 4px #06142c}.ap-header p{margin:0;color:#adc6e4;font-size:14px}.ap-header-actions{display:flex;align-items:center;gap:10px}.ap-mode{padding:9px 13px;border:1px solid #efcf6988;border-radius:999px;background:#edc44218;color:#ffe17c;font:800 10px 'JetBrains Mono',monospace;letter-spacing:.07em;white-space:nowrap}.ap-header-actions button{width:31px;height:31px;border:1px solid #8fb9e7;border-radius:50%;background:#173c66;color:#d9ecff;font-weight:900;cursor:pointer}.ap-warning{padding:12px 15px;border-left:3px solid #ffd95e;background:#8b6b1f33;color:#ffeaa4;font-size:12px}
.ap-pnl-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.24fr) minmax(0,1fr);gap:28px;align-items:center;min-height:250px;padding:32px 8px 35px;margin:0 0 28px;border-bottom:1px solid #658abe70;overflow:hidden}.ap-pnl-hero:before{content:"";position:absolute;top:5px;left:0;width:4px;height:65px;background:#ffdb51}.ap-pnl-primary{padding-left:22px}.ap-pnl-primary>strong{display:block;margin:12px 0 5px;font-size:clamp(40px,5.4vw,78px);line-height:1;font-weight:1000;letter-spacing:-.06em;font-variant-numeric:tabular-nums;white-space:nowrap}.ap-pnl-primary strong small{font-size:.34em;letter-spacing:0}.ap-pnl-primary p{margin:0;font-size:23px;font-weight:900}.ap-performance .positive{color:#5ce5bb}.ap-performance .negative{color:#ff8296}.ap-performance .neutral{color:#ecf5ff}.ap-pnl-support{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0}.ap-pnl-support>div{padding:16px 15px;border-bottom:1px solid #6c8ab25a}.ap-pnl-support>div:nth-child(odd){border-right:1px solid #6c8ab25a}.ap-pnl-support>div:nth-child(n+3){border-bottom:0}.ap-performance dt{font-size:10px;color:#8fb0d8;letter-spacing:.09em;text-transform:uppercase}.ap-performance dd{margin:7px 0 0;font-size:22px;font-weight:900;letter-spacing:-.02em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.ap-chart-section{position:relative;min-width:0;margin:0 0 32px;padding:24px 26px 22px;border:1px solid #4e76a873;border-radius:19px;background:radial-gradient(circle at 77% 8%,#16478067,transparent 37%),linear-gradient(160deg,#102b50,#071932 75%);box-shadow:inset 0 1px #9ac7ec2e,0 19px 44px #0209164d;overflow:hidden}.ap-chart-section:before{content:"";position:absolute;top:0;right:0;width:145px;height:55px;background:repeating-linear-gradient(135deg,#4788bb1f 0 5px,transparent 5px 15px);pointer-events:none}.ap-section-heading{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:17px}.ap-section-heading h3{margin:5px 0 0;font-size:clamp(19px,2.2vw,29px);line-height:1.1;letter-spacing:-.025em;text-transform:uppercase}.ap-about,.ap-section-heading [data-view-activity]{border:0;background:transparent;color:#a6caee;font-size:11px;font-weight:900;letter-spacing:.05em;cursor:pointer}.ap-about:hover,.ap-section-heading [data-view-activity]:hover{color:#ffde6f}.ap-about span{display:inline-grid;place-items:center;width:19px;height:19px;margin-left:4px;border:1px solid currentColor;border-radius:50%}.ap-range{display:flex;justify-content:flex-end;gap:3px;margin:0 0 9px}.ap-range button{min-width:42px;min-height:31px;padding:5px 9px;border:1px solid transparent;border-radius:5px;background:transparent;color:#9eb9da;font:800 11px 'JetBrains Mono',monospace;cursor:pointer}.ap-range button[aria-pressed="true"]{color:#101d32;background:#ffdc61;border-color:#ffeda2}.ap-range button:disabled{opacity:.35;cursor:not-allowed}.ap-chart-wrap{position:relative;min-width:0;height:340px;border-top:1px solid #44689652;background:linear-gradient(180deg,#0d244063,#091a2e7d)}.ap-chart{width:100%;height:100%;display:block;overflow:hidden;touch-action:pan-y}.ap-chart .ap-grid-line{stroke:#5278a35a;stroke-width:1;stroke-dasharray:3 7}.ap-chart .ap-capital-line{stroke:#e1c56c99;stroke-width:1.4;stroke-dasharray:7 6}.ap-chart .ap-capital-label{fill:#e9d487;font:800 10px 'JetBrains Mono',monospace;letter-spacing:.07em}.ap-chart .ap-axis{fill:#9db8da;font:11px 'JetBrains Mono',monospace}.ap-chart .ap-area{fill:url(#ap-area-gradient)}.ap-chart .ap-line{fill:none;stroke:url(#ap-line-gradient);stroke-width:3.2;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.ap-chart .ap-sample{fill:#74d9d4;opacity:.75}.ap-chart .ap-endpoint{fill:#ffdb73;stroke:#113957;stroke-width:3}.ap-chart .ap-last-value{fill:#ffe39a;font:800 12px 'JetBrains Mono',monospace}.ap-chart .ap-crosshair{stroke:#d8ebff;stroke-width:1;stroke-dasharray:3 4}.ap-chart .ap-hover-dot{fill:#ffdf78;stroke:#091b32;stroke-width:2}.ap-tooltip{position:absolute;z-index:2;display:grid;gap:5px;min-width:180px;max-width:230px;padding:10px 13px;border:1px solid #9bbbe8;border-radius:9px;background:#091b35f2;box-shadow:0 12px 26px #020917b8;pointer-events:none;transform:translate(-25%,-110%);font-size:11px}.ap-tooltip[hidden]{display:none}.ap-tooltip time{color:#a4bfdf}.ap-tooltip strong{font-size:16px;color:#fff}.ap-tooltip span{color:#d0e3fa}.ap-chart-empty{min-height:260px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;border-top:1px solid #44689652;background:repeating-linear-gradient(90deg,#355c8052 0 1px,transparent 1px 60px),linear-gradient(170deg,#17365b88,#0a1b32)}.ap-chart-empty strong{max-width:36ch;font-size:20px}.ap-chart-empty p{max-width:45ch;color:#a9c3e2;font-size:13px;line-height:1.55}
.ap-stats-rail{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:0 0 40px;padding:16px 0;border-block:1px solid #6889b463}.ap-stats-rail>div{min-width:0;padding:12px 16px;border-right:1px solid #6889b463}.ap-stats-rail>div:first-child{padding-left:0}.ap-stats-rail>div:last-child{border-right:0}.ap-stats-rail dd{font-size:clamp(16px,1.8vw,25px)}
.ap-section{padding:25px 0 27px;border-top:1px solid #6889b463}.ap-funnel-section{padding-top:0;border:0}.ap-funnel{position:relative;padding:15px 0 7px}.ap-funnel ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;margin:0;padding:0}.ap-funnel li{position:relative;display:grid;align-content:start;gap:8px;padding:13px 22px 17px 0;min-width:0}.ap-funnel li:not(:last-child):after{content:"→";position:absolute;right:13px;top:45px;color:#f9d55b;font-size:25px}.ap-funnel li:not(:last-child):before{content:"";position:absolute;left:50%;right:30px;top:62px;border-top:1px solid #5d8db1}.ap-funnel-index{color:#7eabdb;font:800 10px 'JetBrains Mono',monospace}.ap-funnel strong{position:relative;z-index:1;font-size:clamp(28px,3.5vw,47px);line-height:1;color:#fff}.ap-funnel li>span:last-child{font-size:11px;font-weight:900;letter-spacing:.12em;color:#a7c2e5}.ap-funnel li:last-child strong{color:#67ddc9}.ap-funnel-branch{margin:0 0 0 25%;padding:10px 15px;border-left:2px solid #ffb17d;background:#a7583624;color:#ffc8a8;font-size:11px;font-weight:900;letter-spacing:.06em}.ap-funnel-branch strong{font-size:18px;margin-right:5px}.ap-funnel-branch span{color:#b6bfd4;font-weight:500;letter-spacing:0}.ap-subtle{margin:12px 0 0;color:#809fca;font-size:11px;line-height:1.45}
.ap-lower{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:25px}.ap-lower>.ap-section{min-width:0}.ap-strategies,.ap-results{list-style:none;margin:0;padding:0}.ap-strategies li{padding:13px 0;border-bottom:1px solid #6889b452}.ap-strategy-name{display:flex;align-items:center;gap:9px}.ap-strategy-name strong{font-size:15px}.ap-strategy-name span{padding:3px 7px;border:1px solid #e9c458;border-radius:3px;color:#ffe185;font-size:9px;font-weight:900}.ap-strategies li.current{padding-left:12px;border-left:3px solid #ffdc62}.ap-strategies dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:13px 0 8px}.ap-strategies dt{font-size:9px}.ap-strategies dd{font-size:14px}.ap-strategies details{color:#9ec5e9;font-size:11px}.ap-strategies summary{cursor:pointer;list-style:none;font-weight:800}.ap-strategies details p{max-width:48ch;line-height:1.5;color:#aec6e0}.ap-results li{border-bottom:1px solid #6889b452}.ap-results button{display:grid;grid-template-columns:minmax(80px,1.1fr) 54px minmax(68px,.8fr) minmax(100px,1fr) 44px 14px;align-items:center;gap:8px;width:100%;min-height:65px;padding:9px 0;border:0;background:transparent;color:#eaf3ff;text-align:left;cursor:pointer}.ap-results button:hover{background:#24467c3b}.ap-results .ap-token{font-size:13px;font-weight:900;overflow-wrap:anywhere}.ap-result{font-size:10px;font-weight:900}.ap-results strong{font-size:15px;font-variant-numeric:tabular-nums}.ap-results small{color:#a4bbd9}.ap-inline-empty{padding:21px;border:1px dashed #5277a266;border-radius:8px;color:#aac2df;font-size:13px}.ap-technical{margin:12px 0 22px;padding:16px 0;border-top:1px solid #6889b463;color:#a7bfdc;font-size:12px}.ap-technical summary{cursor:pointer;font-weight:900}.ap-technical dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.ap-technical dd{font-size:13px}.ap-technical p{line-height:1.5}
.ap-dialog{width:min(560px,calc(100vw - 24px));max-height:min(85vh,760px);padding:28px;border:1px solid #6898d2;border-radius:17px;background:#0d2547;color:#eaf3ff;box-shadow:0 24px 75px #020915}.ap-dialog::backdrop{background:#020b1bc9}.ap-dialog h2{font-size:28px;margin:12px 0}.ap-dialog p{color:#bbd0ec;line-height:1.55;font-size:13px}.ap-dialog form{position:absolute;right:14px;top:12px}.ap-dialog-close{width:34px;height:34px;border:1px solid #729ac9;border-radius:50%;background:#183e6b;color:#fff;font-size:24px;cursor:pointer}.ap-dialog dl{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ap-dialog dl>div{padding:10px 0;border-bottom:1px solid #607eab70}.ap-dialog dd{font-size:16px}.ap-error{padding:24px;border:1px solid #547aaa;border-radius:12px;background:#10294a}.ap-error h2{font-size:24px}.ap-error p{color:#c4d9ef}.ap-error button{padding:10px 16px;border:1px solid #ffdc6c;border-radius:7px;background:#ffe16a;color:#10223d;cursor:pointer}
@media(max-width:900px){.ap-pnl-hero{grid-template-columns:1fr;gap:13px}.ap-pnl-primary{padding-left:16px}.ap-stats-rail{grid-template-columns:repeat(3,minmax(0,1fr))}.ap-stats-rail>div:nth-child(3){border-right:0}.ap-stats-rail>div:nth-child(n+4){border-top:1px solid #6889b463}.ap-lower{grid-template-columns:1fr}.ap-results button{grid-template-columns:minmax(90px,1.1fr) 55px minmax(70px,.8fr) minmax(100px,1fr) 45px 14px}}
@media(max-width:520px){.ap-header{align-items:start;flex-direction:column;gap:12px}.ap-header h2{font-size:43px}.ap-header-actions{width:100%;justify-content:space-between}.ap-pnl-hero{padding:21px 0 23px;min-height:0}.ap-pnl-primary>strong{font-size:clamp(35px,9.5vw,48px);white-space:normal}.ap-pnl-primary p{font-size:19px}.ap-pnl-support dd{font-size:18px}.ap-chart-section{padding:18px 12px 14px}.ap-section-heading{align-items:start}.ap-section-heading h3{font-size:21px}.ap-about{font-size:9px}.ap-chart-wrap{height:275px}.ap-stats-rail{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}.ap-stats-rail>div{padding:12px 8px}.ap-stats-rail>div:nth-child(odd){border-right:1px solid #6889b463}.ap-stats-rail>div:nth-child(even){border-right:0}.ap-stats-rail>div:nth-child(n+3){border-top:1px solid #6889b463}.ap-stats-rail dd{font-size:16px}.ap-funnel ol{grid-template-columns:1fr}.ap-funnel li{grid-template-columns:28px 65px 1fr;align-items:center;padding:10px 7px;gap:8px}.ap-funnel li:not(:last-child):after{content:"↓";right:auto;left:36px;top:auto;bottom:-15px;font-size:19px}.ap-funnel li:not(:last-child):before{left:44px;right:auto;top:auto;bottom:-7px;height:15px;border-top:0;border-left:1px solid #5d8db1}.ap-funnel strong{font-size:26px}.ap-funnel-branch{margin:12px 0 0 32px}.ap-funnel-branch span{display:block;margin-top:3px}.ap-results button{grid-template-columns:1fr 50px 68px;gap:4px 8px;padding:12px 2px}.ap-results button strong:nth-of-type(2){grid-column:3}.ap-results button small{grid-column:1}.ap-results button>span:last-child{display:none}.ap-technical dl{grid-template-columns:repeat(2,minmax(0,1fr))}.ap-dialog{padding:20px}}
.ap-chart-mobile-key{display:none}.ap-current-empty{margin:9px 0 0;color:#a9c4e2;font-size:11px}
.ap-chart .ap-hover-dot,.ap-chart .ap-crosshair,.ap-chart .ap-endpoint{pointer-events:none}
@media(max-width:520px){.ap-chart .ap-axis{font-size:24px}.ap-chart .ap-capital-label,.ap-chart .ap-last-value{display:none}.ap-chart-mobile-key{display:flex;justify-content:space-between;gap:7px;margin:7px 2px 0;color:#9db9dc;font:800 10px 'JetBrains Mono',monospace}.ap-chart-mobile-key strong{color:#ffe197}}
.ap-chart-mobile-axis,.ap-chart-mobile-dates{display:none}
@media(max-width:520px){.ap-chart .ap-axis-y,.ap-chart .ap-axis-x{display:none}.ap-chart-mobile-axis,.ap-chart-mobile-dates{display:flex;justify-content:space-between;gap:10px;margin:8px 2px 0;color:#a8c2e0;font:800 9px 'JetBrains Mono',monospace}.ap-chart-mobile-dates{font-weight:500}.ap-chart-mobile-dates time{max-width:48%;overflow-wrap:anywhere}}

/* Home design language for Agent Performance; only the curve/funnel stay specialized. */
.ap-performance{font-family:'Nunito Sans',sans-serif;color:#fff9ed}
.ap-performance .ap-header{align-items:center;gap:15px;margin:0 0 16px;padding:0 0 12px;border-bottom:1px solid #35507a}
.ap-performance .ap-eyebrow{font:800 11px/1.2 'Nunito Sans',sans-serif;letter-spacing:.16em;color:#70bdff}
.ap-performance .ap-header h2{font:400 29px/1 'Lilita One',sans-serif;letter-spacing:0;margin:7px 0 5px;text-shadow:none}
.ap-performance .ap-header p{font:600 13px/1.4 'Nunito Sans',sans-serif;color:#b4c8e7}
.ap-performance .ap-mode{padding:9px 13px;border:1px solid #746129;border-radius:8px;background:#5c4c2044;color:#ffda53;font:400 12px/1 'Lilita One',sans-serif;letter-spacing:0}
.ap-performance .ap-header-actions button,.ap-performance .ap-about{display:inline-grid;place-items:center;min-width:31px;height:31px;padding:0;border:1px solid #3973d4;border-radius:8px;background:linear-gradient(#163f97,#0b2360);box-shadow:inset 0 1px #759eff44;color:#fff;font:800 13px 'Nunito Sans',sans-serif;cursor:pointer}
.ap-performance .ap-about span{display:none}
.ap-performance .ap-pnl-hero,.ap-performance .ap-stats-rail{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;align-items:stretch;min-height:0;margin:0 0 22px;padding:10px 8px;border:1px solid #285cbd;border-top-color:#4689f2;border-radius:12px;background:linear-gradient(115deg,#0b2051,#071534 65%,#081938);box-shadow:inset 0 1px #527bd026,0 5px #030c23;overflow:visible}
.ap-performance .ap-pnl-hero:before{display:none}
.ap-performance .ap-pnl-hero>div,.ap-performance .ap-stats-rail>div{min-width:0;padding:2px 13px;border:0;border-right:1px solid #24498166}
.ap-performance .ap-pnl-hero>div:last-child,.ap-performance .ap-stats-rail>div:last-child{border-right:0}
.ap-performance .ap-pnl-hero dt,.ap-performance .ap-stats-rail dt{margin:0 0 6px;color:#a8bff3;font:600 10px/1.3 'Nunito Sans',sans-serif;letter-spacing:.045em;white-space:nowrap}
.ap-performance .ap-pnl-hero dd,.ap-performance .ap-stats-rail dd{display:flex;align-items:center;gap:7px;min-height:28px;margin:0;color:#fff9ed}
.ap-performance .ap-pnl-hero dd strong,.ap-performance .ap-stats-rail dd strong{font:900 18px/1.1 'Nunito Sans',sans-serif;letter-spacing:0;overflow-wrap:anywhere}
.ap-performance .ap-pnl-hero dd strong,.ap-performance .ap-stats-rail dd strong{font-size:clamp(13px,1.2vw,18px);white-space:nowrap}
.ap-performance .ap-pnl-hero dd strong.positive,.ap-performance .ap-stats-rail dd strong.positive{color:#22e6a7}
.ap-performance .ap-pnl-hero dd strong.negative,.ap-performance .ap-stats-rail dd strong.negative{color:#ff7c86}
.ap-performance .network-stat-icon{width:25px;height:25px;flex:0 0 25px}
.ap-performance .ap-stats-rail{grid-template-columns:repeat(5,minmax(0,1fr))}
.ap-performance .ap-chart-section,.ap-performance .ap-funnel-section,.ap-performance .ap-lower>.ap-section{min-width:0;margin:0 0 16px;padding:16px;border:1px solid #2878ec;border-top-color:#55a8ff;border-radius:15px;background:linear-gradient(120deg,#0c2251,#040e2c 75%);box-shadow:inset 0 1px #87bcff25,0 4px #020a22}
.ap-performance .ap-chart-section:before{display:none}
.ap-performance .ap-section-heading{align-items:center;margin-bottom:14px}
.ap-performance .ap-section-heading h3{font:400 25px/1.15 'Lilita One',sans-serif;letter-spacing:0;margin:5px 0 0}
.ap-performance .ap-range{justify-content:flex-start;gap:5px;width:max-content;max-width:100%;padding:4px;margin:0 0 12px;border:1px solid #365788;border-radius:9px;background:#08172f}
.ap-performance .ap-range button{min-width:42px;min-height:32px;padding:8px 10px;border:0;border-radius:6px;color:#a8bfdf;background:transparent;font:800 11px 'Nunito Sans',sans-serif}
.ap-performance .ap-range button[aria-pressed=true]{background:linear-gradient(#3768e9,#1740aa);color:#fff;box-shadow:inset 0 1px #aac3ff73}
.ap-performance .ap-range button:disabled{opacity:.4}
.ap-performance .ap-chart-wrap{border:1px solid #23467e;border-radius:8px;background:linear-gradient(180deg,#102753,#071534);overflow:hidden}
.ap-performance .ap-chart .ap-axis,.ap-performance .ap-chart .ap-capital-label,.ap-performance .ap-chart .ap-last-value{font-family:'Nunito Sans',sans-serif}
.ap-performance .ap-funnel li{padding:10px 22px 13px 0}
.ap-performance .ap-funnel strong{font:400 clamp(24px,3vw,38px)/1 'Lilita One',sans-serif}
.ap-performance .ap-funnel-index,.ap-performance .ap-funnel li>span:last-child,.ap-performance .ap-funnel-branch{font-family:'Nunito Sans',sans-serif}
.ap-performance .ap-funnel-branch{border:1px solid #746129;border-left:3px solid #ffda53;border-radius:7px;background:#5c4c2044;color:#ffda53}
.ap-performance .ap-lower{gap:16px}
.ap-performance .ap-strategies li,.ap-performance .ap-results li{margin-bottom:3px;padding:0;border:1px solid #23467e;border-radius:7px;background:linear-gradient(100deg,#112e5d99,#0b193e88)}
.ap-performance .ap-strategies li{padding:10px 12px}
.ap-performance .ap-strategies li.current{border-color:#746129;box-shadow:inset 3px 0 #ffda53}
.ap-performance .ap-strategy-name strong{font:400 15px 'Lilita One',sans-serif}
.ap-performance .ap-strategy-name span{padding:5px 9px;border:1px solid #746129;border-radius:5px;background:#5c4c2044;color:#ffda53;font:400 11px 'Lilita One',sans-serif}
.ap-performance .ap-strategies dl{margin:9px 0 6px}
.ap-performance .ap-strategies dd{font:900 13px 'Nunito Sans',sans-serif}
.ap-performance .ap-strategies summary{color:#ffdc43;font:900 11px 'Nunito Sans',sans-serif}
.ap-performance .ap-results button{min-height:49px;padding:7px 9px;border-radius:7px;color:#fff9ed}
.ap-performance .ap-results button:hover{background:#153c7a}
.ap-performance .ap-results .ap-token{font:800 12px 'Nunito Sans',sans-serif}
.ap-performance .ap-results .ap-result{width:max-content;padding:5px 9px;border:1px solid #746129;border-radius:5px;background:#5c4c2044;color:#ffda53;font:400 12px 'Lilita One',sans-serif}
.ap-performance .ap-results .ap-result.positive{color:#21efaf;background:#005f394d;border-color:#009765}
.ap-performance .ap-results .ap-result.negative{color:#ff678d;background:#70233b55;border-color:#963958}
.ap-performance .ap-results strong{font:900 12px 'Nunito Sans',sans-serif}
.ap-performance .ap-section-heading [data-view-activity]{padding:9px 15px;border:1px solid #3973d4;border-radius:8px;background:linear-gradient(#163f97,#0b2360);color:#fff;box-shadow:inset 0 1px #759eff44;font:800 12px/1.2 'Nunito Sans',sans-serif;letter-spacing:0}
.ap-performance .ap-technical{margin:0 0 22px;padding:0;border:1px solid #2878ec;border-radius:12px;background:linear-gradient(120deg,#0c2251,#040e2c 75%)}
.ap-performance .ap-technical summary{padding:15px;font:400 17px 'Lilita One',sans-serif;color:#fff9ed}
.ap-performance .ap-technical dl,.ap-performance .ap-technical p{margin-inline:15px}
@media(max-width:900px){.ap-performance .ap-pnl-hero{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:12px}.ap-performance .ap-pnl-hero>div:nth-child(3){border-right:0}.ap-performance .ap-stats-rail{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:12px}.ap-performance .ap-stats-rail>div:nth-child(3){border-right:0}.ap-performance .ap-stats-rail>div:nth-child(n+4){border-top:0}}
@media(max-width:520px){.ap-performance .ap-header{display:block}.ap-performance .ap-header h2{font-size:29px}.ap-performance .ap-header-actions{margin-top:10px}.ap-performance .ap-pnl-hero,.ap-performance .ap-stats-rail{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px 4px}.ap-performance .ap-pnl-hero>div,.ap-performance .ap-stats-rail>div{padding:7px 10px}.ap-performance .ap-pnl-hero>div:nth-child(3),.ap-performance .ap-stats-rail>div:nth-child(3){border-right:1px solid #24498166}.ap-performance .ap-pnl-hero>div:nth-child(even),.ap-performance .ap-stats-rail>div:nth-child(even){border-right:0}.ap-performance .ap-pnl-hero dd strong,.ap-performance .ap-stats-rail dd strong{font-size:15px}.ap-performance .network-stat-icon{width:22px;height:22px;flex-basis:22px}.ap-performance .ap-section-heading h3{font-size:21px}.ap-performance .ap-chart-section,.ap-performance .ap-funnel-section,.ap-performance .ap-lower>.ap-section{padding:13px 10px}.ap-performance .ap-lower{gap:0}.ap-performance .ap-results button{grid-template-columns:minmax(0,1fr) auto auto;gap:7px}.ap-performance .ap-results button .ap-token{grid-column:1;grid-row:1}.ap-performance .ap-results button .ap-result{grid-column:2;grid-row:1}.ap-performance .ap-results button strong:nth-of-type(1){grid-column:3;grid-row:1}.ap-performance .ap-results button strong:nth-of-type(2){grid-column:1/3;grid-row:2}.ap-performance .ap-results button small{grid-column:3;grid-row:2;text-align:right}.ap-performance .ap-funnel li{padding:10px 7px}.ap-performance .ap-funnel strong{font-size:26px}}

/* Performance is an analytics extension of the clean Agent workspace. */
.ap-performance.ap-clean{width:100%;font:600 14px/1.5 'Nunito Sans',sans-serif;color:#eef5ff}
.ap-performance.ap-clean .ap-header{margin:0 0 25px;padding:0;border:0;align-items:center}
.ap-performance.ap-clean .ap-header h2{margin:8px 0 0;font:400 29px/1 'Lilita One',sans-serif;letter-spacing:0;text-shadow:none}
.ap-performance.ap-clean .ap-header [data-methodology]{width:28px;height:28px;border:1px solid #31527b;border-radius:50%;background:#12315d;color:#a9c5e2;font:900 13px 'Nunito Sans',sans-serif;cursor:pointer}
.ap-performance.ap-clean .ap-eyebrow{color:#70bdff;font:800 12px/1.2 'Nunito Sans',sans-serif;letter-spacing:.09em}
.ap-performance.ap-clean .ap-pnl-primary{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 18px;margin:0 0 25px}
.ap-performance.ap-clean .ap-pnl-primary>span:first-child{flex-basis:100%;color:#9eb8d8;font:800 12px 'Nunito Sans',sans-serif}
.ap-performance.ap-clean .ap-pnl-primary strong{font:900 clamp(34px,4vw,50px)/1.05 'Nunito Sans',sans-serif;letter-spacing:-.04em}
.ap-performance.ap-clean .ap-pnl-primary .ap-roi{font:900 20px 'Nunito Sans',sans-serif}
.ap-performance.ap-clean .positive{color:#35dfac}.ap-performance.ap-clean .negative{color:#ff8094}
.ap-performance.ap-clean .ap-summary-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 48px;padding:17px 0;border-top:1px solid #31527b;border-bottom:1px solid #31527b}
.ap-performance.ap-clean .ap-summary-rail>div{min-width:0;padding:0 20px;border-right:1px solid #31527b}
.ap-performance.ap-clean .ap-summary-rail>div:first-child{padding-left:0}.ap-performance.ap-clean .ap-summary-rail>div:last-child{border-right:0}
.ap-performance.ap-clean .ap-summary-rail dt,.ap-performance.ap-clean .ap-trade-metrics dt,.ap-performance.ap-clean .ap-strategy-metrics dt{color:#9eb8d8;font:800 12px/1.25 'Nunito Sans',sans-serif}
.ap-performance.ap-clean .ap-summary-rail dd{margin:8px 0 0;color:#fff;font:900 18px/1.2 'Nunito Sans',sans-serif}
.ap-performance.ap-clean .ap-chart-section{margin:0 0 48px;padding:24px;border:1px solid var(--tw-home-panel-border,#2862c9);border-top-color:var(--tw-home-panel-top-border,#4285f3);border-radius:var(--tw-home-panel-radius,14px);background:var(--tw-home-panel-fill,linear-gradient(125deg,#0b214e,#050f2b 75%));box-shadow:var(--tw-home-panel-shadow,0 5px #020a20)}
.ap-performance.ap-clean .ap-section-heading{margin:0 0 20px;align-items:center}
.ap-performance.ap-clean .ap-section-heading h3{margin:0;font:400 26px/1.1 'Lilita One',sans-serif;letter-spacing:0}
.ap-performance.ap-clean .ap-chart-wrap{background:#081831;border-color:#31527b}
.ap-performance.ap-clean .ap-chart .ap-axis,.ap-performance.ap-clean .ap-chart .ap-capital-label,.ap-performance.ap-clean .ap-chart .ap-last-value{font:700 13px 'Nunito Sans',sans-serif;letter-spacing:0}
.ap-performance.ap-clean .ap-range button{min-width:45px;min-height:36px;font:800 12px 'Nunito Sans',sans-serif}
.ap-performance.ap-clean .ap-tooltip{font:700 12px/1.4 'Nunito Sans',sans-serif;min-width:192px}
.ap-performance.ap-clean .ap-tooltip span{display:block}.ap-performance.ap-clean .ap-tooltip strong{font-size:15px}
.ap-performance.ap-clean .ap-outcomes{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:24px;margin:0 0 48px}
.ap-performance.ap-clean .ap-outcomes>section{min-width:0}
.ap-performance.ap-clean .ap-trade-results{padding:0 24px 0 0;border-right:1px solid #31527b}
.ap-performance.ap-clean .ap-trade-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0}
.ap-performance.ap-clean .ap-trade-metrics dd,.ap-performance.ap-clean .ap-strategy-metrics dd{margin:7px 0 0;font:900 17px 'Nunito Sans',sans-serif}
.ap-performance.ap-clean .ap-sample-context{color:#aabfdb;font-size:13px;margin:18px 0 0}
.ap-performance.ap-clean .ap-strategy-focus{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}
.ap-performance.ap-clean .ap-strategy-focus strong{font:900 19px 'Nunito Sans',sans-serif}
.ap-performance.ap-clean .ap-strategy-focus small{color:#ffdc43;font:800 11px 'Nunito Sans',sans-serif}
.ap-performance.ap-clean .ap-strategy-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:20px 0 0}
.ap-performance.ap-clean .ap-strategy-history{margin-top:18px;color:#ffdc43;font-size:13px}.ap-performance.ap-clean .ap-strategy-history summary{cursor:pointer;font-weight:900}.ap-performance.ap-clean .ap-strategy-history ol{padding-left:18px;color:#d5e3f4}.ap-performance.ap-clean .ap-strategy-history li{margin:9px 0}.ap-performance.ap-clean .ap-strategy-history li span{display:block;font-size:12px}
.ap-performance.ap-clean .ap-history{margin:0 0 40px}.ap-performance.ap-clean .ap-history [data-view-activity]{padding:0;border:0;background:none;box-shadow:none;color:#ffdc43;font:900 13px 'Nunito Sans',sans-serif}
.ap-performance.ap-clean .ap-results-columns,.ap-performance.ap-clean .ap-results button{display:grid;grid-template-columns:minmax(100px,1.2fr) minmax(145px,1.6fr) minmax(75px,.8fr) minmax(75px,.8fr) minmax(100px,1fr) minmax(65px,.6fr) minmax(115px,1fr);align-items:center;gap:14px}
.ap-performance.ap-clean .ap-results-columns{padding:0 10px 10px;border-bottom:1px solid #31527b;color:#9eb8d8;font:800 12px 'Nunito Sans',sans-serif}
.ap-performance.ap-clean .ap-results li{margin:0;border:0;border-bottom:1px solid #31527b;border-radius:0;background:transparent}
.ap-performance.ap-clean .ap-results button{width:100%;min-height:62px;padding:10px;border:0;border-radius:0;background:transparent;color:#eef5ff;text-align:left}
.ap-performance.ap-clean .ap-results button:hover{background:#173d704d}
.ap-performance.ap-clean .ap-results button>*{min-width:0;overflow-wrap:anywhere;font:700 13px/1.35 'Nunito Sans',sans-serif}
.ap-performance.ap-clean .ap-results .ap-token{font-weight:900;font-size:14px}
.ap-performance.ap-clean .ap-results button small{display:none}
.ap-performance.ap-clean .ap-inline-empty{padding:10px 0;border:0;background:none;font:700 14px 'Nunito Sans',sans-serif}
.ap-performance.ap-clean .ap-details{margin:0 0 28px;border-top:1px solid #31527b}.ap-performance.ap-clean .ap-details summary{padding:16px 0;cursor:pointer;font:400 18px 'Lilita One',sans-serif}.ap-performance.ap-clean .ap-details-inner{padding:12px 0 24px}.ap-performance.ap-clean .ap-details-inner>dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.ap-performance.ap-clean .ap-details-inner dd{margin:4px 0 0}
@media(max-width:900px){.ap-performance.ap-clean .ap-results-columns{display:none}.ap-performance.ap-clean .ap-results button{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 15px}.ap-performance.ap-clean .ap-results button small{display:block;color:#9eb8d8;font:800 11px 'Nunito Sans',sans-serif}.ap-performance.ap-clean .ap-results .ap-token{grid-column:1/-1}}
@media(max-width:540px){.ap-performance.ap-clean .ap-header{display:flex}.ap-performance.ap-clean .ap-summary-rail{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 0}.ap-performance.ap-clean .ap-summary-rail>div:nth-child(odd){padding-left:0}.ap-performance.ap-clean .ap-summary-rail>div:nth-child(even){border-right:0}.ap-performance.ap-clean .ap-chart-section{padding:20px 12px}.ap-performance.ap-clean .ap-chart-wrap{height:220px}.ap-performance.ap-clean .ap-outcomes{grid-template-columns:1fr;gap:30px}.ap-performance.ap-clean .ap-trade-results{padding:0 0 26px;border:0;border-bottom:1px solid #31527b}.ap-performance.ap-clean .ap-results button{grid-template-columns:repeat(2,minmax(0,1fr))}.ap-performance.ap-clean .ap-results .ap-token{grid-column:1/-1}.ap-performance.ap-clean .ap-results button strong:nth-of-type(1),.ap-performance.ap-clean .ap-results button strong:nth-of-type(2){grid-column:auto}.ap-performance.ap-clean .ap-section-heading h3{font-size:24px}.ap-performance.ap-clean .ap-details-inner>dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.ap-performance.ap-clean .ap-results button>*{grid-column:auto;grid-row:auto;text-align:left}.ap-performance.ap-clean .ap-results button .ap-token{grid-column:1/-1;grid-row:auto}}
@media(max-width:540px){.ap-performance.ap-clean .ap-results button>*{grid-column:auto!important;grid-row:auto!important;text-align:left!important}.ap-performance.ap-clean .ap-results button .ap-token{grid-column:1/-1!important}.ap-performance.ap-clean .ap-results button .ap-closed{grid-column:1/-1!important}.ap-performance.ap-clean .ap-results button small{display:block!important}}
@media(max-width:900px){.ap-performance.ap-clean .ap-results button>span:not(.ap-token),.ap-performance.ap-clean .ap-results button>strong{display:flex;flex-direction:column-reverse;align-items:flex-start;gap:3px}.ap-performance.ap-clean .ap-results button small{display:block!important}}
