
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@300;400;500&display=swap');

*,*::before,*::after{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

:root{
  --bg:#0a0a0a;
  --surface:#111111;
  --border:#222222;
  --border2:#2a2a2a;
  --text:#e8e8e8;
  --muted:#777;
  --accent:#c8f542;
  --accent2:#4ade80;
  --danger:#f87171;
  --mono:'IBM Plex Mono', monospace;
  --sans:'IBM Plex Sans', sans-serif;
}

body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--sans);
  min-height:100vh;
}

.container{
  max-width:1400px;
  margin:auto;
}

header{
  border-bottom:1px solid var(--border);
  padding-bottom:1.5rem;
  margin-bottom:2rem;
}
.hero-panel{

margin-top:1.8rem;

padding:1rem;

background:
linear-gradient(
180deg,
rgba(255,255,255,0.03),
rgba(255,255,255,0.01)
);

border:1px solid #232323;

border-radius:18px;


position:relative;

overflow:hidden;

}

.hero-panel::before{

content:'';

position:absolute;

top:0;
left:0;

width:4px;
height:100%;

background:var(--accent);

}

.hero-lead{

font-size:1.15rem;

line-height:1.7;

font-weight:300;

color:#e8e8e8;

max-width:900px;

}

.hero-lead span{

color:var(--accent);

font-weight:500;

}

.hero-divider{

width:80px;
height:1px;

background:#333;

margin:1.4rem 0;

}

.hero-description{

color:#a8a8a8;

line-height:1.8;

font-size:0.98rem;

max-width:850px;

}

.hero-tags{

display:flex;

flex-wrap:wrap;

gap:0.7rem;

}

.hero-badge{

padding:0.45rem 0.8rem;

border:1px solid #2d2d2d;

border-radius:999px;

font-size:11px;

letter-spacing:0.04em;

font-family:var(--mono);

color:#bdbdbd;

background:#151515;

}
.tag{
  font-family:var(--mono);
  font-size:11px;
  color:var(--accent);
  letter-spacing:0.12em;
  text-transform:uppercase;
  margin-bottom:0.5rem;
}

h1{
  font-size:clamp(1.5rem,3vw,2.2rem);
  font-weight:300;
  line-height:1.2;
}

h1 span{
  color:var(--accent);
  font-weight:500;
}

.subtitle{
  font-family:var(--mono);
  font-size:12px;
  color:var(--muted);
  margin-top:0.5rem;
}

.controls{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
  align-items:flex-end;
  margin-bottom:2rem;
}

.control-group{
  display:flex;
  flex-direction:column;
  gap:5px;
}

.control-group label{
  font-family:var(--mono);
  font-size:10px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:0.1em;
}

input[type=month]{
  background:var(--surface);
  border:1px solid var(--border2);
  color:var(--text);
  padding:8px 12px;
  border-radius:4px;
  font-family:var(--mono);
}

button{
  background:var(--accent);
  color:#000;
  border:none;
  padding:10px 18px;
  border-radius:4px;
  cursor:pointer;
  font-family:var(--mono);
  font-weight:600;
}

.stats-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:1px;
  background:var(--border);
  border:1px solid var(--border);
  border-radius:8px;
  overflow:hidden;
  margin-bottom:2rem;
}

.stat-card{
  background:var(--surface);
  padding:1.3rem;
}

.stat-label{
  font-family:var(--mono);
  font-size:10px;
  color:var(--muted);
  text-transform:uppercase;
  margin-bottom:0.5rem;
}

.stat-value{
  font-family:var(--mono);
  font-size:1.8rem;
  font-weight:600;
}

.stat-sub{
  margin-top:6px;
  color:var(--muted);
  font-size:11px;
  font-family:var(--mono);
}

.green{color:var(--accent);}
.blue{color:#60a5fa;}

.chart-wrap{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:8px;
  padding:1.5rem;
  margin-bottom:2rem;
}

.chart-title{
  font-family:var(--mono);
  font-size:11px;
  color:var(--muted);
  text-transform:uppercase;
  margin-bottom:1rem;
}

.chart-canvas-wrap{
  height:350px;
}

.table-wrap{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:8px;
  overflow:hidden;
}

.table-header{
  padding:1rem 1.5rem;
  border-bottom:1px solid var(--border);
}

.table-title{
  font-family:var(--mono);

  font-size:11px;
  color:var(--muted);
  text-transform:uppercase;
}

.table-scroll{
  max-height:500px;
  overflow-y:auto;
}

table{
  width:100%;
  border-collapse:collapse;
  font-family:var(--mono);
  font-size:13px;
}

thead th{
  position:sticky;
  top:0;
  background:#161616;
  padding:12px 1.5rem;
  text-align:right;
  font-size:10px;
  color:var(--muted);
  border-bottom:1px solid var(--border);
}

thead th:first-child,
tbody td:first-child{
  text-align:left;
}

tbody tr{
  border-bottom:1px solid #161616;
}

tbody tr:hover{
  background:#161616;
}

td{
  padding:10px 1.5rem;
  text-align:right;
}

.pos{color:var(--accent2);}
.neg{color:var(--danger);}

.footer{
  margin-top:2rem;
  font-family:var(--mono);
  color:var(--muted);
  font-size:11px;
  border-top:1px solid var(--border);
  padding-top:1rem;
}



@media(max-width:768px){

  body{
    padding:1rem;
  }

  .stats-grid{
    grid-template-columns:1fr 1fr;
  }

  table{
    font-size:12px;
  }

}

