.steam-card {
  --steam: #31405a;
  --fin-gold: var(--steam);
  --fin-cream: #f1f5f7;
}
.steam-card .fin-hero h2, .steam-card .exam-category, .steam-card .program-fit-link { color: #fff; }
.steam-card .exam-hero-image { object-position: 53% 48%; }
.steam-card .exam-modes span { background: #edf3f5; color: #27394c; }
.steam-card .fin-proof { border-color: #d5dfe5; }
.engineering-workshops { margin-bottom: 1.1rem; padding-bottom: .85rem; border-bottom: 1px solid #d5dfe5; }
.engineering-workshops h3 { margin-bottom: .4rem; }
.engineering-workshops ul { display: flex; flex-wrap: wrap; gap: .3rem 1.15rem; margin: 0; padding: 0; list-style: none; }
.engineering-workshops li { display: flex; align-items: baseline; gap: .45rem; margin: 0; color: #273e51; font-weight: 600; }
.engineering-workshops li::before { content: ""; align-self: center; width: .3rem; height: .3rem; border-radius: 50%; background: #7491a1; flex: none; }
.steam-card .fin-formats .exam-tier-1 { background: #87a3b4; }
.steam-card .fin-formats .exam-tier-2 { background: #405972; }
.steam-card .fin-formats .exam-tier-3 { background: var(--steam); }
.steam-card .fin-formats .exam-formats strong, .steam-card .fin-modules li::marker { color: #354d64; }
.steam-card .exam-hour-recommendation { color: #273e51; background: #e7eff2; }
.coaster { min-width: 0; }
.coaster h3 { margin-bottom: .35rem; }
.coaster p { line-height: 1.4; }
.coaster-diagram { width: 100%; height: auto; max-height: 8rem; display: block; margin: .6rem 0; border-radius: .4rem; background: #f1f5f7; }
.coaster-diagram text { fill: #263c50; font: 700 10px "DM Sans", Arial, sans-serif; }
.coaster-rail { fill: none; stroke: #34556a; stroke-width: 3.4; stroke-linecap: round; }
.coaster-ground, .coaster-supports { fill: none; stroke: #b6c8d0; stroke-width: 1.25; }
.coaster-marble { fill: #e9ad48; stroke: #513d24; stroke-width: 1.3; }
.coaster-controls, .coaster-controls fieldset { display: flex; align-items: center; flex-wrap: wrap; }
.coaster-controls { gap: .55rem; }
.coaster-controls fieldset { gap: .2rem; margin: 0; padding: .15rem; min-width: 0; border: 1px solid #adc0c6; border-radius: .45rem; }
.coaster-controls label { position: relative; cursor: pointer; margin: 0; }
.coaster-controls input, .coaster-legend {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.coaster-controls label span, .coaster-test {
  display: inline-flex; justify-content: center; align-items: center; min-height: 2.55rem;
  font: 700 .93rem/1.15 "DM Sans", Arial, sans-serif; border-radius: .32rem;
}
.coaster-controls label span { padding: .3rem .48rem; color: #304756; }
.coaster-controls input:checked + span { background: #31405a; color: white; }
.coaster-controls input:focus-visible + span { outline: 3px solid #006272; outline-offset: 2px; }
.coaster-test { padding: .45rem .75rem; border: 1px solid #006272; color: #fff; background: #006272; cursor: pointer; }
.coaster-test:hover { background: #004757; }
.coaster-result:not(:empty) { padding: .45rem 0 .45rem .65rem; margin: .55rem 0 0; border-left: 3px solid #cc9427; }
.coaster-result:empty { margin: 0; }
.engineering-conditions { margin: 0; padding: 0 var(--exam-gutter) .7rem; background: #edf4f1; font-size: .93rem; }
.engineering-conditions summary { color: #005968; font-weight: 700; cursor: pointer; padding: .4rem 0; }
.engineering-conditions h4 { margin: .6rem 0 .25rem; }
.engineering-conditions ul { margin: 0; padding-left: 1.2rem; }
.engineering-conditions li { margin: .35rem 0; }
@media (max-width: 760px) {
  .coaster { padding: .85rem 0 0; border-top: 1px solid #dbe4df; background: transparent; }
  .coaster-controls label span, .coaster-test { min-height: 2.75rem; }
}
