/* ============================================================
   Hedging tool — tool-specific styles (assets/hedging.css)
   Reuses :root tokens (style.css) + the pc-card / pc-slider
   classes from pricecone.css.
   ============================================================ */

/* Active-instrument summary line under the controls */
.hd-active-line { margin: 10px 0 4px; }
.hd-active-inner {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--text-muted);
}
.hd-active-inner b { color: var(--text); font-family: var(--font-body); }

/* Stat tiles inside the hedging cards */
.hd-tile-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 30px;
  align-items: flex-end;
}
.hd-region-line {
  margin-top: 12px;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--text-muted);
}

/* Basket weight grid */
.hd-weight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 20px;
  margin: 8px 0 12px;
}
.hd-weight-row { display: flex; align-items: center; gap: 8px; }
.hd-leg-dd { flex: 1; min-width: 150px; }
.hd-wt-input {
  width: 64px;
  padding: 7px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--text);
  background: var(--bg-card);
}
.hd-wt-pct { font-family: var(--font-data); font-size: 12px; color: var(--text-muted); }

.hd-basket-summary { margin: 6px 0 2px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hd-basket-label { font-family: var(--font-data); font-size: 12px; color: var(--text-muted); }
.hd-weight-chip {
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  background: rgba(46, 134, 171, 0.08);
  border: 1px solid var(--gold-dim);
  padding: 3px 8px;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .hd-tile-row { gap: 16px 20px; }
}
