/* OEP section styles. Most layout reuses filings/css/styles.css. */

.oep-info{
  font-family:var(--cond);
  font-size:12px;
  letter-spacing:.04em;
  color:var(--text3);
  margin-bottom:.6rem;
}
.oep-info span{color:var(--text2);font-weight:600;}

/* The State Detail card has many sections; tighten spacing slightly. */
#oep-detail-card .ws-section{margin-bottom:1.25rem;}
#oep-detail-card .ws-table{margin-bottom:0;}

/* Section headers in detail card use existing .ws-section-header treatment. */

/* Metric rows can be long; ellipsize the label column. */
.oep-table th, .oep-table td{
  font-size:12px;
}
.oep-table th{
  font-family:var(--cond);
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--text3);
  background:var(--navy3);
  padding:7px 12px;
  border-bottom:1px solid var(--border);
}
.oep-table th.left{text-align:left;}
.oep-table th.right{text-align:right;}
.oep-table th.sort-asc::after{content:' ▲';color:var(--teal2);}
.oep-table th.sort-desc::after{content:' ▼';color:var(--teal2);}
.oep-table td{
  padding:6px 12px;
  border-bottom:1px solid rgba(30,58,95,.5);
}
.oep-table td.left{color:var(--text);}
.oep-table td.num{
  font-family:var(--mono);
  text-align:right;
  color:var(--text);
  white-space:nowrap;
}
.oep-table td.muted{color:var(--text3);}
.oep-table tr:last-child td{border-bottom:none;}
.oep-table tbody tr:hover td{background:rgba(255,255,255,0.02);}

.oep-comp-wrap, .oep-metal-wrap{
  background:var(--navy2);
  border:1px solid var(--border);
  border-radius:8px;
  overflow:auto;
  max-height:75vh;
}
.oep-comp-wrap table, .oep-metal-wrap table{width:100%; border-collapse:collapse;}

/* Highlight the rank #1 / top row in Comparison */
.oep-table tr.rank-top td{background:rgba(13,148,136,.06);}
.oep-table td.rank{color:var(--text3); font-family:var(--cond); font-size:11px;}

/* Metal Tier grid — sticky first column */
.oep-metal-table th, .oep-metal-table td{padding:8px 14px; text-align:right; font-family:var(--mono); font-size:12px;}
.oep-metal-table th.left, .oep-metal-table td.left{text-align:left; font-family:var(--cond);}
.oep-metal-table tbody td.left{font-weight:600; color:var(--text2);}
.oep-metal-table thead th{background:var(--navy3); border-bottom:1px solid var(--border); font-weight:600; color:var(--text3); text-transform:uppercase; letter-spacing:.06em; font-size:11px;}
.oep-metal-table tbody tr:nth-child(odd) td{background:rgba(255,255,255,0.015);}

/* ── Year Trends tab: grid of small SVG line charts ── */
.oep-trends-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:.75rem;
  margin-top:1rem;
}
.oep-trends-card{
  background:var(--navy2);
  border:1px solid var(--border);
  border-radius:6px;
  padding:.75rem .85rem;
}
.oep-trends-card-label{
  font-family:var(--cond);
  font-size:11px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--text3);
  margin-bottom:.25rem;
}
.oep-trends-card-current{
  font-family:var(--mono);
  font-size:16px;
  font-weight:500;
  color:var(--white);
  margin-bottom:.4rem;
}
.oep-trends-card-delta{
  font-family:var(--mono);
  font-size:11px;
  margin-left:.4rem;
}
.oep-trends-card-delta.pos{color:var(--green);}
.oep-trends-card-delta.neg{color:var(--red);}
.oep-trends-card-svg{
  width:100%;
  height:60px;
  display:block;
}
.oep-trends-card-range{
  display:flex;
  justify-content:space-between;
  font-family:var(--mono);
  font-size:10px;
  color:var(--text3);
  margin-top:.3rem;
}
