/* PivotFlow v2.19.1 — isolated AutoTrading UI. */
body.autoAccess nav{grid-template-columns:repeat(5,1fr)!important}
#autoNav span{white-space:nowrap}.autoRestricted.hidden{display:none!important}
.autoHero{border:1px solid #24435d;background:linear-gradient(180deg,#0e1720,#0b1016)}
.autoHero .row>div>small,#autoProfilePanel>div>small{display:block;margin-top:4px;color:#8fa3b8;font-size:13px;line-height:1.4}
.autoState{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.autoMetric{background:#080b0f;border:1px solid #252c34;border-radius:10px;padding:10px}.autoMetric small{display:block;color:#8fa3b8;margin-bottom:3px}.autoMetric b{font-size:18px}
.autoStrategyLine{color:#c4d0db;line-height:1.45;margin-top:8px}.autoSymbols{color:#8fa3b8;font-size:12px;margin:8px 0 4px}.autoDanger{border-color:#703139!important;background:#361b20!important;color:#fff!important}.autoOn{border-color:#0b8d57!important;background:#0b5e3f!important;color:#fff!important}
.autoTabs{display:grid;grid-template-columns:1fr;gap:8px;margin:8px 0 14px}body.autoAccess .autoTabs{grid-template-columns:1fr 1fr}.autoTabs button.sel{background:#123d64;border-color:#226aa3}.autoTabs button.hidden{display:none!important}.autoTabs button.hidden:first-child+button{} 
.autoTradeCard{padding:12px;border:1px solid #242c34;border-radius:12px;background:#0b0f14;margin:8px 0}.autoTradeHead{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:800}.autoTradeHead small{font-weight:700}.autoTradeLevels{font-size:13px;color:#93a7b8;margin-top:7px;line-height:1.45}.autoPnlPos{color:#24d486}.autoPnlNeg{color:#ff5a62}.autoPnlFlat{color:#9aabb8}
.autoWarn{border:1px solid #624d1c;background:#201b0d;border-radius:10px;padding:10px;color:#e1c875;margin-top:10px;font-size:12px;line-height:1.45}.autoOk{color:#24d486}.autoError{color:#ff747a;white-space:pre-wrap}
#autoTradesPane.hidden,#signalTradesPane.hidden{display:none!important}
/* PIVOTFLOW_TRADES_REPORT_MINIMAL_STYLE_V231 */
/* PIVOTFLOW_TRADES_REPORT_DASHBOARD_STYLE_V232 */
/* PIVOTFLOW_TRADES_REPORT_METRICS_POLISH_STYLE_V233 */
/* PIVOTFLOW_TRADES_REPORT_THIN_NUMBERS_STYLE_V234 */
/* PIVOTFLOW_TRADES_REPORT_MOBILE_2X2_STYLE_V235 */
/* PIVOTFLOW_TRADES_REPORT_VALUES_COMPACT_V236 */
/* PIVOTFLOW_TRADES_REPORT_VALUES_SMALLER_V237 */
.dealReportCard{position:relative;margin:0 0 16px!important;padding:16px!important;border-radius:18px!important;overflow:hidden;background:linear-gradient(145deg,#0d151d 0%,#0b1016 58%,#0a0f14 100%)!important;border:1px solid #263544!important;box-shadow:0 16px 38px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.018)!important}
.dealReportCard:before{content:"";position:absolute;inset:-1px auto auto -1px;width:62%;height:1px;background:linear-gradient(90deg,#319eff,rgba(49,158,255,0));opacity:.7;pointer-events:none}
.dealReportTop{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.dealReportHeading{display:flex;align-items:center;gap:11px;min-width:0}
.dealReportMark{width:36px;height:36px;display:flex;align-items:flex-end;justify-content:center;gap:3px;padding:9px 8px;border-radius:12px;box-sizing:border-box;background:#0a1118;border:1px solid #1e2c38}
.dealReportMark i{display:block;width:4px;border-radius:3px;background:#eaf3fa}.dealReportMark i:nth-child(1){height:8px}.dealReportMark i:nth-child(2){height:13px}.dealReportMark i:nth-child(3){height:19px}
.dealReportTitle{font-size:19px;font-weight:850;line-height:1.1;color:#f5f8fb;letter-spacing:-.015em}
.dealReportDownload{flex:0 0 auto;width:38px!important;height:38px!important;min-height:38px!important;margin:0!important;padding:0!important;display:grid!important;place-items:center;border-radius:50%!important;background:#0b1218!important;border:1px solid #385a75!important;color:#cce7fb!important;box-shadow:inset 0 0 0 1px rgba(42,145,223,.04)!important}
.dealReportDownload svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dealReportDownload:active{transform:scale(.96)}.dealReportDownload:disabled{opacity:.58}.dealDownloadBusy{font-size:16px;line-height:1}
.dealReportHint{margin:0 0 13px;padding:0 2px;color:#8598a9;font-size:12px;line-height:1.45}.dealReportHint.hidden{display:none!important}
.dealReportDashboard{display:grid;grid-template-columns:88px minmax(0,1fr);gap:10px;align-items:stretch}
.dealReportTabs{display:flex;flex-direction:column;align-items:stretch;gap:7px;padding:0!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important}
.dealReportTabs button{width:100%!important;min-height:38px!important;padding:7px 8px!important;border:1px solid #202d38!important;border-radius:10px!important;background:#0a0f14!important;color:#7f91a1!important;font-size:12px!important;font-weight:720!important;box-shadow:none!important}
.dealReportTabs button.sel{background:linear-gradient(180deg,#153b5d,#102d47)!important;border-color:#287ab6!important;color:#e6f4ff!important;box-shadow:inset 0 0 18px rgba(42,145,223,.09)!important}
.dealReportTabs button.sel:after{display:none!important}
.dealReportMetrics{min-width:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #202d38;border-radius:14px;background:#0a1016;overflow:hidden}
.dealReportMetric{position:relative;min-width:0;padding:10px 5px 8px;border-left:1px solid #1b2731}.dealReportMetric:first-child{border-left:0}
.dealReportMetric>span{display:block;height:27px;color:#8b9ba9;font-size:9.4px;font-weight:500;line-height:1.12;overflow-wrap:anywhere}
.dealReportMetric>b{display:block;margin-top:1px;color:#eef4f8;font-size:clamp(10.9px,2.5vw,12.2px);line-height:1.02;font-weight:500;white-space:nowrap;letter-spacing:-.05em;font-variant-numeric:tabular-nums}.dealReportMetric>b.metricLong{font-size:10.1px;letter-spacing:-.058em}.dealReportMetric>b.metricXL{font-size:9.4px;letter-spacing:-.065em}
.dealReportMetric>b.positive{color:#4bc36a}.dealReportMetric>b.negative{color:#ff626b}
.dealReportSpark{display:block;width:100%;height:22px;margin-top:7px;overflow:visible}
.dealReportSpark polyline{fill:none;stroke:#2499ec;stroke-width:2;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
.reportLoading .dealReportMetric>b{opacity:.48}.reportLoading .dealReportSpark{opacity:.38}
.dealReportPeriod{display:flex;align-items:center;justify-content:center;gap:16px;min-height:42px;box-sizing:border-box;margin:13px 0 0;padding-top:11px;border-top:1px solid #18232c}
.dealReportPeriod.hidden{display:none!important}
.dealReportPeriodStatic .dealPeriodValue{min-width:132px;color:#dce7ef;font-weight:700}
.dealPeriodArrow{width:30px!important;height:30px!important;min-height:30px!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#91a4b4!important;font-size:24px!important;line-height:1!important}
.dealPeriodArrow:hover,.dealPeriodArrow:active{background:#101820!important;color:#fff!important}
.dealPeriodValue{min-width:132px;height:30px!important;border:0!important;background:transparent!important;display:flex;align-items:center;justify-content:center;font-size:15px!important;font-weight:800;color:#f0f5f8;letter-spacing:-.01em}
@media(max-width:560px){
  .dealReportCard{padding:14px!important}
  .dealReportDashboard{grid-template-columns:78px minmax(0,1fr);gap:8px}
  .dealReportTabs button{font-size:11px!important;padding:6px!important}
  .dealReportMetrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dealReportMetric{padding:9px 8px 7px;border-left:1px solid #1b2731}
  .dealReportMetric:first-child,.dealReportMetric:nth-child(3){border-left:0}
  .dealReportMetric:nth-child(3),.dealReportMetric:nth-child(4){border-top:1px solid #1b2731}
  .dealReportMetric>span{height:auto;min-height:14px;margin-bottom:3px;font-size:10.8px;font-weight:500;line-height:1.12;overflow-wrap:normal}
  .dealReportMetric>b{font-size:16px;line-height:1.02;font-weight:560;letter-spacing:-.03em}
  .dealReportMetric>b.metricLong{font-size:14px;letter-spacing:-.04em}
  .dealReportMetric>b.metricXL{font-size:12.2px;letter-spacing:-.05em}
  .dealReportMetric[data-metric="profit"]>b{font-size:15.5px}
  .dealReportMetric[data-metric="profit"]>b.metricLong{font-size:13.5px}
  .dealReportMetric[data-metric="profit"]>b.metricXL{font-size:11.8px}
  .dealReportSpark{height:18px;margin-top:6px}
  .dealReportSpark polyline{stroke-width:1.5}
}
@media(max-width:360px){
  .dealReportDashboard{grid-template-columns:74px minmax(0,1fr);gap:7px}
  .dealReportMetric{padding:8px 6px 6px}
  .dealReportMetric>span{font-size:10.2px}
  .dealReportMetric>b{font-size:15.5px}
  .dealReportMetric>b.metricLong{font-size:13.4px}
  .dealReportMetric>b.metricXL{font-size:11.8px}
  .dealReportMetric[data-metric="profit"]>b{font-size:15px}
  .dealReportMetric[data-metric="profit"]>b.metricLong{font-size:12.9px}
  .dealReportMetric[data-metric="profit"]>b.metricXL{font-size:11.4px}
  .dealReportSpark{height:17px;margin-top:5px}
}


.resultTradeMeta{font-size:13px;color:#9eb2c4;margin:0 0 8px;padding:0 2px}.resultChart{width:100%;height:420px;background:#070b0f;border:1px solid #202933;border-radius:14px;overflow:hidden}.resultChartEmpty{height:100%;min-height:360px;display:flex;align-items:center;justify-content:center;text-align:center;color:#8194a7;padding:20px;box-sizing:border-box}.modalCard:has(#resultChart){max-width:720px}.modalCard:has(#resultChart) .shareActions{margin-top:12px}

.shareLabel{margin:12px 0 8px;color:#b8c2cc;font-size:14px;font-weight:700}.shareActions{margin-top:10px}.shareActions button{flex:1}.tradeResult.muted{display:none}
.autoCoinList{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:7px 0 14px}.autoCoinRow{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #27313a;border-radius:10px;padding:9px 10px;background:#090d11;font-size:14px}.autoCoinRow .switch{margin:0}.autoCoinRow .switch span{margin:0}
@media(max-width:360px){.autoCoinList{grid-template-columns:1fr}}
