.study-page { --study-panel: #211d27; --panel-border: #544a60; }
.study-page.order-ticket { --accent: #edc5ad; --wash: #f5eee7; }
.study-page.bid-ask { --accent: #c1d8ce; --wash: #eaf1eb; }
.study-page .offer { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.study-page .hero-copy { min-width: 0; }
.study-page h1 { max-width: 14ch; }
.study-page .hero-terms { max-width: 35rem; }
.study-board {
  min-width: 0;
  overflow: hidden;
  border-radius: .55rem;
  color: #f7f3f8;
  background: var(--study-panel);
}
.study-board__heading {
  padding: 1rem 1.25rem .85rem;
  border-bottom: 1px solid var(--panel-border);
  font-size: 1rem;
  font-weight: 600;
}
.study-board__content { padding: 1.2rem; }
.study-board__content img { display: block; max-width: 100%; height: auto; margin-inline: auto; }
.study-board__caption { padding: 0 1.25rem 1rem; font-size: .875rem; color: #e7dfee; }
.study-board__caption a { text-decoration-color: #b7a6c4; }
.study-board__question { margin: 0; padding: 0 1.25rem; border: 0; border-top: 2px solid var(--accent); background: #2e2834; }
.study-board__question summary { padding-block: .85rem; gap: 1rem; }
.study-board__question summary::after { color: var(--accent); }
.study-board__question p { font-size: 1rem; line-height: 1.52; color: #f2edf4; }
.study-board :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.contract-picker { min-width: 0; margin: 0; padding: 0; border: 0; }
.contract-picker legend { margin-bottom: .55rem; font-size: .875rem; color: #e7dfee; }
.contract-picker input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.contract-picker label {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: .45rem .8rem; margin: 0 .22rem .35rem 0;
  border: 1px solid #897994; border-radius: .3rem; cursor: pointer; font-size: .9rem;
}
.contract-picker input:checked + label { background: var(--accent); color: #211d27; border-color: var(--accent); font-weight: 650; }
.contract-picker input:focus-visible + label { outline: 2px solid white; outline-offset: 2px; }
.contract-picker .payoff-view { display: none; padding: .85rem .3rem; background: #141318; border-radius: .3rem; margin-top: .35rem; }
#contract-call:checked ~ .payoff-call, #contract-put:checked ~ .payoff-put { display: block; }
.ticket-crop, .quote-crop { padding: .85rem .4rem; background: #17151a; border-radius: .3rem; }
.quote-sides { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); margin: 0 0 .85rem; }
.quote-sides div { padding: .2rem .6rem .25rem 0; }
.quote-sides div + div { border-left: 1px solid var(--panel-border); padding-left: 1.1rem; }
.quote-sides dt { color: #dad0df; font-size: .875rem; }
.quote-sides dd { margin: 0; font: normal clamp(2.4rem, 5.2vw, 4.3rem)/1.1 Georgia, serif; font-variant-numeric: tabular-nums; }
.study-page .proof blockquote { font-size: clamp(1.4rem, 2.6vw, 2.15rem); }
@media (max-width: 44rem) {
  .study-page .offer { grid-template-columns: 1fr; }
  .study-board__heading { padding: .7rem .9rem; }
  .study-board__content { padding: .9rem; }
  .study-board__caption { padding: 0 .9rem .8rem; }
  .study-board__question { padding: 0 .9rem; }
}
