/* Scoped additions to the existing calculator course-card design. */
.ob-context-course-finder-desktop { display: none; }
.ob-context-course-slot { margin-block: 32px; }
.ob-context-course-guide { padding-block: 28px; }
.ob-context-course { text-align: left; }
.ob-context-course-compact { margin-top: 16px; padding: 18px; border: 1px solid #c5dedb; border-top: 3px solid #347674; border-radius: 12px; background: #f5faf8; text-align: left; }
.ob-context-course-compact .ob-context-course-compact__label { margin: 0 0 8px; color: #22615c; font-size: 10px; font-weight: 700; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; }
.ob-context-course-compact h2 { margin: 0 0 8px; color: #0f172a; font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -.025em; }
.ob-context-course-compact .ob-context-course-compact__description { margin: 0; color: #526174; font-size: 13px; line-height: 1.6; }
.ob-context-course-compact__description strong { color: #174943; }
.ob-context-course-compact .ob-context-course-compact__records { margin: 10px 0; color: #526b64; font-size: 12px; line-height: 1.6; }
.ob-context-course-compact .ob-context-course-compact__details { margin: 10px 0 12px; color: #174943; font-size: 12px; line-height: 1.7; }
.ob-context-course-compact__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ob-context-course-compact a { color: #22615c; text-underline-offset: 3px; }
.ob-context-course-compact a:focus-visible { outline: 2px solid #22615c; outline-offset: 3px; border-radius: 3px; }
.ob-context-course-compact__links a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 6px; border-radius: 7px; font-size: 12px; font-weight: 600; line-height: 1.5; text-align: center; text-decoration: underline; }
.ob-context-course-compact__links .ob-context-course-compact__primary { background: #22615c; color: #fff; text-decoration: none; }
.ob-context-course-compact__links .ob-context-course-compact__primary:hover { background: #174943; }
.ob-context-course-compact .ob-context-course-compact__access { margin: 8px 0 0; color: #526b64; font-size: 11px; line-height: 1.6; }
.ob-context-course-compact .ob-context-course-compact__note { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid #dce9e5; color: #526b64; font-size: 11px; line-height: 1.7; }
.ob-context-course-compact__note a { text-decoration: underline; }
/* The sheet keeps its existing scroll area; only the selected card is replaced by the finder. */
.steel-beam-sizes-page #steel-selected-sheet-body > section { border: 0; box-shadow: none; padding: 0; }
@media (max-width: 700px) {
    .ob-context-course-slot { margin-block: 24px; }
    .ob-context-course-guide { padding-block: 20px; }
}
@media (min-width: 1280px) {
    .ob-context-course-finder-desktop { display: block; }
    .ob-context-course-finder-desktop .ob-context-course-compact { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 0 32px; padding: 20px 24px; }
    .ob-context-course-finder-desktop .ob-context-course-compact__description { max-width: 65ch; }
    .ob-context-course-finder-desktop .ob-context-course-compact__records { margin-bottom: 0; }
    .ob-context-course-finder-desktop .ob-context-course-compact__details { margin-top: 0; }
    .ob-context-course-finder-desktop .ob-context-course-compact__note { grid-column: 1 / -1; }
}
