.copy-capacity{margin:12px 0;padding:12px 14px;border:1px solid #3b5266;border-radius:12px;background:#142230;color:#d6eaff;font:650 14px/1.5 system-ui}.copy-capacity small{display:block;font-size:12px;font-weight:400}
.copy-budget-overview{padding:12px 0;border-top:1px solid #2c3c4b;margin-top:12px}.copy-budget-overview dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.copy-budget-overview dl>div{min-width:0}.copy-budget-overview dt,.copy-trader-comparison dt{font-size:11px;color:#99aabc}.copy-budget-overview dd{margin:3px 0 0;font-weight:700;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.copy-budget-overview p{font-size:11px;color:#99aabc;margin:9px 0 0}
.copy-latest-skipped,.copy-attention{padding:11px 12px;border-radius:10px;border:1px solid #67512e;color:#f5d394;background:#29231a;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.copy-latest-skipped time{display:block;color:#a9a391;font-size:10px;margin-top:4px}.copy-attention{border-color:#7b3948;color:#ffb7c4;background:#281c24}
.copy-close-position{grid-column:2/-1;justify-self:start;min-height:44px!important;max-width:100%;margin-top:6px;white-space:normal!important}.copy-close-position:disabled{opacity:.55}
.copy-trader-comparison{display:flex;flex-wrap:wrap;gap:8px 14px;margin:8px 0 2px}.copy-trader-comparison dd{margin:3px 0 0;color:#d8e1ed;font:650 12px system-ui}.copy-trader-comparison dt{font-size:10px}

/* Smart Copy action clarity on iOS dark UI.
   Keep Pause / Resume legible even when a later theme overrides the
   first-button gold fill. Only this action is targeted, not trading logic. */
#app .top-five .external-copy-controls button[id^="copy-session-pause-"]{
  appearance:none;
  background:#182534!important;
  color:#f7b955!important;
  border:1px solid #b78642!important;
  border-radius:10px!important;
  font-weight:800!important;
  opacity:1!important;
  text-shadow:none!important;
  -webkit-text-fill-color:#f7b955!important;
  min-height:44px!important;
}
#app .top-five .external-copy-controls button[id^="copy-session-pause-"]:focus-visible{
  outline:2px solid #f7b955!important;
  outline-offset:2px;
}
#app .top-five .external-copy-controls button[id^="copy-session-pause-"]:disabled{
  background:#18202b!important;
  color:#bac5d1!important;
  border-color:#516071!important;
  -webkit-text-fill-color:#bac5d1!important;
  opacity:.82!important;
  cursor:not-allowed;
}

/* Trader cards: one scannable column with four meaningful, auditable KPIs. */
#app .top-five-row,#app .top-five-row.tr-rank-1{
 display:grid;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;
 padding:14px!important;align-items:stretch;
}
#app .top-five-row .top-five-left,#app .top-five-row .top-five-actions,
#app .top-five-row .copy-trader-comparison,#app .top-five-row .top-five-detail-panel,
#app .top-five-row .copy-trader-evidence{grid-column:1/-1!important;min-width:0}
#app .top-five-row .top-five-left{display:flex;align-items:center;gap:12px}
#app .top-five-row .top-five-name{font-size:16px!important;white-space:normal;overflow-wrap:anywhere}
#app .top-five-row .top-five-avatar{width:46px;height:46px;flex:0 0 46px}
#app .top-five-row .copy-trader-comparison{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
 gap:8px;margin:0;
}
#app .top-five-row .copy-stat-tile{
 min-width:0;padding:11px 12px;border:1px solid #2c3b4b;
 border-radius:12px;background:#151f2a;
}
#app .top-five-row .copy-stat-tile dt{color:#9cacc0;font-size:11px;line-height:1.35}
#app .top-five-row .copy-stat-tile dd{display:block;margin:6px 0 0;color:#e9eff6;font-size:18px;font-weight:750;letter-spacing:-.3px;line-height:1.2;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#app .top-five-row .copy-stat-tile .top-five-profit{font-size:18px!important;color:#7ae0b4;white-space:normal;overflow:visible}
#app .top-five-row .copy-stat-tile .top-five-profit.negative{color:#ff9baa}
#app .top-five-row .copy-stat-tile .copy-stat-unknown{color:#788898}
#app .top-five-row .copy-trader-evidence{
 margin:0;padding:8px 11px;border-radius:10px;
 color:#afbdcb;background:#151f2a;border:1px solid #304052;
 font-size:11px;line-height:1.5;
}
#app .top-five-row .copy-trader-evidence.is-ready{color:#a7e7cc;background:#142b28;border-color:#305d50}
#app .top-five-row .top-five-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch}
#app .top-five-row .top-five-actions>.smart-copy-action{grid-column:1/-1;min-height:46px!important}
#app .top-five-row .top-five-actions>.top-five-detail{
 min-height:44px;min-width:0;padding:8px!important;
 border:1px solid #2d3b49!important;border-radius:10px;
 background:#111923!important;color:#c7d3df!important;
 font-size:12px!important;
}
#app .top-five-row .top-five-detail-panel{margin:0;padding:12px 2px 0}
@media(max-width:360px){
 #app .top-five-row .copy-stat-tile{padding:10px 8px}
 #app .top-five-row .copy-stat-tile dd{font-size:15px}
 #app .top-five-row .copy-stat-tile .top-five-profit{font-size:15px!important}
}
