/* Positions */
.underlying-hd {
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-1);
}
.underlying-hd-left {
  display: flex; align-items: baseline; gap: 14px;
}
.underlying-symbol {
  font-size: 18px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--fg);
  font-family: var(--font-sans);
}
.underlying-hd-right {
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap; justify-content: flex-end;
}
.underlying-metric {
  display: flex; flex-direction: column; gap: 2px;
  align-items: flex-end;
  flex-shrink: 0;
  min-width: 0;
}
.underlying-metric .stat-label { font-size: 10px; white-space: nowrap; }
.underlying-metric .num { font-size: 14px; color: var(--fg); white-space: nowrap; }

/* Side-by-side calls / puts split */
.opt-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.opt-side + .opt-side { border-left: 1px solid var(--line-soft); }
.opt-side-hd {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
}
.opt-empty {
  padding: 20px; text-align: center; color: var(--fg-3);
  font-family: var(--font-mono); font-size: 12px;
}

/* ITM row highlight — negative OTM% means position is at risk */
.tbl tbody tr.row-itm td { background: var(--neg-soft); }
.tbl tbody tr.row-itm:hover td { background: color-mix(in oklab, var(--neg-soft), var(--bg-2)); }
.otm-cell { font-weight: 500; }
.itm-otm { font-weight: 600; }

@media (max-width: 1100px) {
  .opt-split { grid-template-columns: 1fr; }
  .opt-side + .opt-side { border-left: none; border-top: 1px solid var(--line-soft); }
}
