/* Neck-only additions to the existing ROM teaching surface. */
.neck-rom-page .cinema-scene .hero-command { min-height: 0; padding-block: 34px; }
.neck-rom-page .cinema-scene .hero-copy { max-width: 1000px; }
.neck-rom-page .cp-lander-hero h1 { font-size: 32px; max-width: 980px; }
.neck-rom-page .cp-lander-hero .lead { max-width: 850px; font-size: 16px; }
.neck-rom-page .rom-heading .cp-action-dock { position: static; width: auto; max-width: 100%; margin: 0; box-shadow: none; transform: none; }
.neck-rom-page .rom-heading [data-neck-actions]:empty { display: none; }
.neck-rom-page .rom-diagram { aspect-ratio: 350 / 465; max-height: 550px; }
.neck-rom-page .rom-thresholds[hidden], .neck-rom-page .rom-threshold-heading[hidden] { display: none; }
.neck-rom-page .neck-body-layer, .neck-rom-page [data-neck-head] { mix-blend-mode: multiply; }
.neck-rom-page [data-neck-crest] { pointer-events: none; }
.neck-rom-page .neck-rating-reference { padding: 0 16px 16px; color: #233449; border-bottom: 1px solid #bfcdd1; }
.neck-rom-page .neck-rating-reference h3 { margin: 0; font-size: 16px; }
.neck-rom-page .neck-rating-reference p { margin: 6px 0 10px; font-size: 13px; line-height: 1.5; }
.neck-rom-page .neck-rating-reference dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.neck-rom-page .neck-rating-reference [data-neck-combined-reference] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.neck-rom-page .neck-rating-reference dl > div { display: flex; flex-direction: column; padding: 8px; border-bottom: 3px solid transparent; }
.neck-rom-page .neck-rating-reference dl > div + div { border-left: 1px solid #bfcdd1; }
.neck-rom-page .neck-rating-reference dt { font-size: 12px; line-height: 1.45; order: 2; }
.neck-rom-page .neck-rating-reference dd { margin: 0 0 4px; font-size: 24px; line-height: 1.2; font-weight: 800; color: #153e46; font-variant-numeric: tabular-nums; }
.neck-rom-page .neck-rating-reference .is-selected { background: #e5f1ee; border-bottom-color: #176370; }
.neck-rom-page .rom-playback [data-neck-play] { min-width: 148px; }
.neck-rom-page .rom-result { min-height: 250px; }
.neck-rom-page .rom-result > strong { font-size: 26px; overflow-wrap: anywhere; }
.neck-rom-page .neck-result-basis { font-size: 13px; font-weight: 700; color: #314b53; }
.neck-rom-page .rom-threshold-heading, .neck-rom-page .rom-thresholds button { grid-template-columns: 48px minmax(0, 1fr) 50px; }
.neck-rom-page .rom-thresholds.neck-extension-examples button { grid-template-columns: 48px minmax(0, 1fr); }
.neck-rom-page .rom-segment span { white-space: normal; text-align: center; }
.neck-rom-page .rom-segment label { flex: 1 1 0; }
.neck-rom-page .neck-combined-context { margin: 0 0 20px; color: #233449; font-size: 13px; line-height: 1.6; }
.neck-rom-page .neck-combined-context h3 { margin: 0; font-size: 16px; }
.neck-rom-page .neck-combined-context table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-block: 12px; }
.neck-rom-page .neck-combined-context caption { text-align: left; font-weight: 700; padding-bottom: 6px; }
.neck-rom-page .neck-combined-context th, .neck-rom-page .neck-combined-context td { text-align: left; border-bottom: 1px solid #bfcdd1; padding: 9px 8px; overflow-wrap: anywhere; }
.neck-rom-page .neck-combined-context th:last-child, .neck-rom-page .neck-combined-context td:last-child { width: 90px; text-align: right; }
.neck-rom-page .neck-combined-context td { font-weight: 800; color: #153e46; }
.neck-rom-page .cinema-top { position: static; display: inline-grid; vertical-align: middle; margin: 8px; width: 44px; height: 44px; box-shadow: none; }
.neck-rom-page .cinema-top[hidden] { display: none; }
@media (max-width: 760px) {
  .neck-rom-page .rom-heading [data-neck-actions] { width: 100%; }
  .neck-rom-page .rom-heading .cp-action-dock { display: flex; flex-wrap: wrap; }
  .neck-rom-page .cp-lander-hero h1 { font-size: 27px; }
  .neck-rom-page .rom-diagram { max-height: 400px; }
  .neck-rom-page .rom-segment span { padding: 10px; font-size: 13px; }
  .neck-rom-page .rom-threshold-heading, .neck-rom-page .rom-thresholds button { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; }
}
