@charset "UTF-8";

/* =============================================================================
ART ARGENTUM — PUBLIC AI TRADING BENCHMARK
DARK / LEGACY VISUAL STYLE

Filters:
- AI model
- Agent
- Financial instrument
- Period
- Data only
============================================================================= */


/* =============================================================================
1. TOKENS
============================================================================= */

.trading-content--benchmark{
  --bench-bg:#030405;
  --bench-bg-soft:#07080a;
  --bench-bg-control:#050607;
  --bench-bg-hover:#0d0f12;

  --bench-line:rgba(255,255,255,.085);
  --bench-line-strong:rgba(255,255,255,.16);
  --bench-line-faint:rgba(255,255,255,.045);

  --bench-text:rgba(255,255,255,.94);
  --bench-soft:rgba(255,255,255,.64);
  --bench-muted:rgba(255,255,255,.38);
  --bench-faint:rgba(255,255,255,.22);

  --bench-positive:#82ddb0;
  --bench-negative:#eda6ae;
  --bench-gold:#ddc27f;
  --bench-blue:#bdd9ff;

  --bench-radius:0;
  --bench-control-radius:4px;

  --bench-font:
    var(
      --ui-font,
      Inter,
      ui-sans-serif,
      system-ui,
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      sans-serif
    );

  --bench-mono:
    var(
      --mono-font,
      ui-monospace,
      SFMono-Regular,
      Menlo,
      Monaco,
      Consolas,
      "Liberation Mono",
      monospace
    );
}


/* =============================================================================
2. ROOT
============================================================================= */

.trading-content--benchmark,
.trading-content--benchmark *,
.trading-content--benchmark *::before,
.trading-content--benchmark *::after{
  box-sizing:border-box;
  min-width:0;
}

.trading-content--benchmark{
  width:100%;
  max-width:100%;
  color:var(--bench-soft);
  background:transparent;
  font-family:var(--bench-font);
}

.trading-content--benchmark a{
  color:inherit;
  text-decoration:none;
}

.trading-content--benchmark button,
.trading-content--benchmark select,
.trading-content--benchmark input{
  font:inherit;
}


/* =============================================================================
3. MAIN PANEL
============================================================================= */

.trading-content--benchmark .trading-benchmark-panel{
  display:flex;
  flex-direction:column;
  gap:16px;

  width:100%;
  max-width:100%;
  margin:0;
  padding:16px;

  overflow:hidden;

  border:1px solid var(--bench-line);
  border-radius:var(--bench-radius) !important;

  background:var(--bench-bg);

  box-shadow:
    0 28px 80px rgba(0,0,0,.54),
    inset 0 1px 0 rgba(255,255,255,.018);
}


/* =============================================================================
4. HEADER
============================================================================= */

.trading-content--benchmark .trading-benchmark-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  gap:22px;

  padding:18px 18px 16px;

  border:1px solid var(--bench-line);
  border-radius:var(--bench-radius) !important;

  background:var(--bench-bg-soft);
}

.trading-content--benchmark .trading-benchmark-kicker{
  display:flex;
  align-items:center;
  gap:7px;

  margin:0 0 8px;

  color:var(--bench-muted);
  font-size:8px;
  font-weight:800;
  line-height:1;
  letter-spacing:.15em;
  text-transform:uppercase;
}

.trading-content--benchmark .trading-benchmark-kicker::before{
  content:"";

  display:block;
  flex:0 0 auto;

  width:5px;
  height:5px;

  background:rgba(255,255,255,.50);
}

.trading-content--benchmark .trading-benchmark-head h2{
  margin:0;

  color:var(--bench-text);
  font-size:clamp(24px,2.5vw,37px);
  font-weight:560;
  line-height:1.04;
  letter-spacing:-.03em;
}


/* =============================================================================
5. HEADER STATS
============================================================================= */

.trading-content--benchmark .trading-benchmark-stats{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:6px;

  max-width:560px;
}

.trading-content--benchmark .trading-benchmark-stats span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;

  min-height:30px;
  padding:0 9px;

  border:1px solid var(--bench-line);
  border-radius:var(--bench-radius) !important;

  background:var(--bench-bg);

  color:rgba(255,255,255,.43);
  font-size:8px;
  font-weight:760;
  line-height:1;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.trading-content--benchmark .trading-benchmark-stats strong{
  color:rgba(255,255,255,.86);
  font-size:9px;
  font-weight:650;
  letter-spacing:0;
}


/* =============================================================================
6. FILTERS
============================================================================= */

.trading-content--benchmark .trading-benchmark-filters{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  align-items:end;
  gap:10px;

  width:100%;
  padding:13px;

  border:1px solid var(--bench-line);
  border-radius:var(--bench-radius) !important;

  background:var(--bench-bg-soft);
}

.trading-content--benchmark .trading-benchmark-filters label{
  display:flex;
  flex-direction:column;
  gap:7px;

  color:var(--bench-muted);
  font-size:8px;
  font-weight:760;
  line-height:1;
  letter-spacing:.13em;
  text-transform:uppercase;
}


/* =============================================================================
7. SELECTS
============================================================================= */

.trading-content--benchmark .trading-benchmark-filters select{
  width:100%;
  height:39px;
  padding:0 11px;

  border:1px solid var(--bench-line);
  border-radius:var(--bench-control-radius) !important;
  outline:none;

  background:var(--bench-bg);
  color:rgba(255,255,255,.80);

  color-scheme:dark;
  appearance:auto;

  font-family:var(--bench-font);
  font-size:11px;
  font-weight:500;
  line-height:1;
  letter-spacing:0;
  text-transform:none;

  transition:
    background .14s ease,
    border-color .14s ease;
}

.trading-content--benchmark .trading-benchmark-filters select:hover{
  border-color:rgba(255,255,255,.13);
  background:#08090b;
}

.trading-content--benchmark .trading-benchmark-filters select:focus{
  border-color:var(--bench-line-strong);
  background:#08090b;
}

.trading-content--benchmark .trading-benchmark-filters select option{
  background:var(--bench-bg-control);
  color:#fff;

  font-family:var(--bench-font);
  font-size:11px;
  font-weight:400;
}


/* =============================================================================
8. DATA ONLY
============================================================================= */

.trading-content--benchmark .trading-benchmark-check{
  display:flex !important;
  flex-direction:row !important;
  align-items:center;
  justify-content:flex-start;
  gap:8px !important;

  min-height:39px;
  padding:0 10px;

  border:1px solid var(--bench-line);
  border-radius:var(--bench-control-radius) !important;

  background:var(--bench-bg);

  color:rgba(255,255,255,.44) !important;
  font-size:8px !important;
  font-weight:760 !important;
  letter-spacing:.11em !important;

  cursor:pointer;
}

.trading-content--benchmark .trading-benchmark-check input{
  flex:0 0 auto;

  width:15px;
  height:15px;
  margin:0;

  accent-color:#fff;
  cursor:pointer;
}


/* =============================================================================
9. TABLE WRAPPER
============================================================================= */

.trading-content--benchmark .trading-benchmark-table-wrap{
  width:100%;
  max-width:100%;

  overflow:auto;

  border:1px solid var(--bench-line);
  border-radius:var(--bench-radius) !important;

  background:var(--bench-bg);

  scrollbar-width:thin;
  scrollbar-color:
    rgba(255,255,255,.20)
    rgba(255,255,255,.035);
}

.trading-content--benchmark
.trading-benchmark-table-wrap::-webkit-scrollbar{
  width:9px;
  height:9px;
}

.trading-content--benchmark
.trading-benchmark-table-wrap::-webkit-scrollbar-track{
  background:var(--bench-bg-control);
}

.trading-content--benchmark
.trading-benchmark-table-wrap::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.16);
}


/* =============================================================================
10. TABLE
============================================================================= */

.trading-content--benchmark .trading-benchmark-table{
  width:100%;
  min-width:1040px;

  border-collapse:collapse;
  border-spacing:0;

  color:var(--bench-soft);
  font-family:var(--bench-font);
}

.trading-content--benchmark .trading-benchmark-table thead{
  position:sticky;
  z-index:2;
  top:0;

  background:#08090b;
}

.trading-content--benchmark .trading-benchmark-table th{
  padding:11px 10px;

  border-bottom:1px solid var(--bench-line-strong);
  border-right:1px solid var(--bench-line-faint);

  color:var(--bench-muted);
  font-size:8px;
  font-weight:760;
  line-height:1.15;
  letter-spacing:.12em;
  text-align:left;
  text-transform:uppercase;
  white-space:nowrap;
}

.trading-content--benchmark .trading-benchmark-table th:last-child{
  border-right:0;
}

.trading-content--benchmark .trading-benchmark-table td{
  padding:11px 10px;

  border-bottom:1px solid var(--bench-line-faint);
  border-right:1px solid rgba(255,255,255,.025);

  color:rgba(255,255,255,.60);
  font-size:10.5px;
  font-weight:450;
  line-height:1.35;
  vertical-align:middle;
  white-space:nowrap;
}

.trading-content--benchmark .trading-benchmark-table td:last-child{
  border-right:0;
}

.trading-content--benchmark .trading-benchmark-table td strong{
  color:rgba(255,255,255,.84);
  font-size:10.5px;
  font-weight:650;
}

.trading-content--benchmark .trading-benchmark-row{
  background:var(--bench-bg);
  transition:background .12s ease;
}

.trading-content--benchmark .trading-benchmark-row:nth-child(even){
  background:#060709;
}

.trading-content--benchmark .trading-benchmark-row:hover{
  background:#0c0e11;
}

.trading-content--benchmark .trading-benchmark-row[hidden]{
  display:none !important;
}

.trading-content--benchmark
.trading-benchmark-row--is-empty,
.trading-content--benchmark
.trading-benchmark-row.is-empty{
  opacity:.38;
}

.trading-content--benchmark
.trading-benchmark-row--has-data{
  opacity:1;
}


/* =============================================================================
11. MODEL BADGE
============================================================================= */

.trading-content--benchmark .trading-benchmark-model-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-height:23px;
  padding:0 7px;

  border:1px solid rgba(189,217,255,.12);
  border-radius:var(--bench-control-radius) !important;

  background:#07090c;

  color:rgba(205,225,250,.72);
  font-size:8px;
  font-weight:760;
  line-height:1;
  letter-spacing:.035em;
}


/* =============================================================================
12. AGENT LINK
============================================================================= */

.trading-content--benchmark .trading-benchmark-agent-link{
  display:inline-block;

  max-width:240px;
  overflow:hidden;

  color:rgba(255,255,255,.84) !important;
  font-size:10.5px;
  font-weight:620;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.trading-content--benchmark .trading-benchmark-agent-link:hover{
  color:#fff !important;
  text-decoration:underline;
  text-underline-offset:3px;
}


/* =============================================================================
13. VALUES
============================================================================= */

.trading-content--benchmark .trading-num{
  font-family:var(--bench-mono);
  font-size:10.5px;
  font-weight:600;
  line-height:1;
  letter-spacing:-.015em;

  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1,"lnum" 1;
}

.trading-content--benchmark .trading-num--positive{
  color:var(--bench-positive) !important;
}

.trading-content--benchmark .trading-num--negative{
  color:var(--bench-negative) !important;
}

.trading-content--benchmark .trading-num--neutral{
  color:rgba(255,255,255,.55) !important;
}


/* =============================================================================
14. LAST UPDATE
============================================================================= */

.trading-content--benchmark .trading-pnl-run{
  color:var(--bench-muted);

  font-family:var(--bench-mono);
  font-size:8.5px;
  font-weight:500;
  line-height:1.3;

  font-variant-numeric:tabular-nums;
}


/* =============================================================================
15. PUBLISHED BADGE
============================================================================= */

.trading-content--benchmark .trading-benchmark-source-file{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-height:22px;
  padding:0 7px;

  border:1px solid rgba(130,221,176,.14);
  border-radius:var(--bench-control-radius) !important;

  background:#050806;

  color:rgba(130,221,176,.76);
  font-size:7px;
  font-weight:800;
  line-height:1;
  letter-spacing:.10em;
  text-transform:uppercase;
}


/* =============================================================================
16. EMPTY STATE
============================================================================= */

.trading-content--benchmark .trading-empty-panel{
  padding:24px;

  border:1px solid var(--bench-line);
  border-radius:var(--bench-radius) !important;

  background:var(--bench-bg-soft);
}

.trading-content--benchmark .trading-empty-panel h2{
  margin:0 0 8px;

  color:rgba(255,255,255,.90);
  font-size:24px;
  font-weight:560;
  line-height:1.08;
  letter-spacing:-.025em;
}

.trading-content--benchmark .trading-empty-panel p{
  max-width:760px;
  margin:0;

  color:var(--bench-muted);
  font-size:11px;
  font-weight:400;
  line-height:1.55;
}


/* =============================================================================
17. RESPONSIVE
============================================================================= */

@media(max-width:1180px){
  .trading-content--benchmark .trading-benchmark-filters{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:900px){
  .trading-content--benchmark .trading-benchmark-panel{
    gap:12px;
    padding:11px;
  }

  .trading-content--benchmark .trading-benchmark-head{
    grid-template-columns:1fr;
    gap:14px;
    padding:15px;
  }

  .trading-content--benchmark .trading-benchmark-stats{
    justify-content:flex-start;
    max-width:none;
  }

  .trading-content--benchmark .trading-benchmark-table{
    min-width:940px;
  }
}

@media(max-width:760px){
  .trading-content--benchmark .trading-benchmark-filters{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .trading-content--benchmark .trading-benchmark-head h2{
    font-size:26px;
  }

  .trading-content--benchmark .trading-benchmark-table th{
    font-size:7.5px;
  }

  .trading-content--benchmark .trading-benchmark-table td{
    font-size:10px;
  }
}

@media(max-width:520px){
  .trading-content--benchmark .trading-benchmark-panel{
    padding:8px;
  }

  .trading-content--benchmark .trading-benchmark-head{
    padding:13px;
  }

  .trading-content--benchmark .trading-benchmark-filters{
    grid-template-columns:1fr;
    padding:10px;
  }

  .trading-content--benchmark .trading-benchmark-stats span{
    min-height:27px;
    padding:0 8px;
    font-size:7.5px;
  }

  .trading-content--benchmark .trading-benchmark-table{
    min-width:860px;
  }

  .trading-content--benchmark .trading-benchmark-table th,
  .trading-content--benchmark .trading-benchmark-table td{
    padding:9px 8px;
  }
}


/* =============================================================================
18. REDUCED MOTION
============================================================================= */

@media(prefers-reduced-motion:reduce){
  .trading-content--benchmark *,
  .trading-content--benchmark *::before,
  .trading-content--benchmark *::after{
    animation:none !important;
    transition:none !important;
  }
}


/* =============================================================================
19. PRINT
============================================================================= */

@media print{
  .trading-content--benchmark .trading-benchmark-panel,
  .trading-content--benchmark .trading-benchmark-head,
  .trading-content--benchmark .trading-benchmark-filters,
  .trading-content--benchmark .trading-benchmark-table-wrap{
    color:#000;
    background:#fff;
    border-color:#aaa;
    box-shadow:none;
  }

  .trading-content--benchmark .trading-benchmark-table th,
  .trading-content--benchmark .trading-benchmark-table td{
    color:#000 !important;
    border-color:#ccc;
  }

  .trading-content--benchmark .trading-benchmark-filters{
    display:none;
  }
}
