/* Self-test styles (website and SCORM package) */
body.scorm { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.55; color: #1A1A1A; background: #fff; }
body.scorm .wrap { max-width: 820px; margin: 0 auto; padding: 24px; }
body.scorm h1 { color: #091C3C; font-size: 1.8rem; line-height: 1.2; margin: 0 0 .6em; }
body.scorm .label { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9E2A2B; margin: 0 0 .4em; }
body.scorm .btn { display: inline-block; background: #091C3C; color: #fff; border: 1px solid #091C3C; padding: 7px 14px; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; border-radius: 2px; }
body.scorm .btn:hover { background: #9E2A2B; border-color: #9E2A2B; }
body.scorm .btn-ghost-dark { background: transparent; color: #091C3C; border-color: #8992A2; }
.scorm-head { display: flex; align-items: center; gap: 16px; padding: 14px 24px; border-bottom: 1px solid #D9DEE5; color: #6B6B6B; font-size: .85rem; }

.selftest { margin-top: 10px; }
.st-score { position: sticky; top: 0; z-index: 2; background: #091C3C; color: #fff; padding: 10px 16px; font-weight: 700; font-size: .95rem; margin-bottom: 8px; }
.st-score.st-final { background: #9E2A2B; }
.st-sec { margin-top: 30px; }
.st-sec h2 { color: #091C3C; font-size: 1.3rem; margin: 0 0 .3em; }
.st-hint { color: #6B6B6B; font-size: .92rem; }
/* each question in its own light grey frame */
.st-q { background: #F8F9FA; border: 1px solid #E1E4E8; border-radius: 4px; padding: 20px 22px 18px; margin: 0 0 18px; }
.st-sec > .st-hint + .st-q, .st-sec h2 + .st-q { margin-top: 18px; }
.st-stem { font-weight: 700; color: #091C3C; display: flex; gap: 12px; margin: 0 0 12px; }
.st-num { color: #9E2A2B; min-width: 22px; }
.st-kprim { width: 100%; border-collapse: collapse; margin-bottom: 12px; font-size: .95rem; }
.st-kprim { background: #fff; border: 1px solid #E6E8EB; }
.st-kprim th { background: #EEEFF1; color: #091C3C; text-align: left; padding: 8px 12px; font-size: .82rem; border-bottom: 1px solid #DADDE2; }
.st-kprim th:nth-child(n+2), .st-kprim .st-c { text-align: center; width: 70px; }
.st-kprim td { padding: 9px 12px; border-bottom: 1px solid #F0F2F4; }
.st-kprim tr:last-child td { border-bottom: 0; }
.st-kprim input { width: 18px; height: 18px; cursor: pointer; }
.st-row-ok td:first-child { box-shadow: none; }
.st-row-bad td:first-child { box-shadow: none; }
.st-kprim td.st-right { background: #E5F0E8 !important; }
.st-opts { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.st-opt { display: flex; gap: 8px; align-items: flex-start; padding: 9px 12px; background: #fff; border: 1px solid #E6E8EB; cursor: pointer; font-size: .95rem; }
.st-opt:hover { border-color: #C0C5CD; }
.st-opt input { margin-top: 4px; }
.st-opt.st-right { background: #E5F0E8; box-shadow: none; }
.st-opt.st-wrong { background: #FBF1F1; box-shadow: none; }
.st-fb { margin-top: 12px; padding: 10px 14px; font-size: .93rem; background: #fff; border-left:0; }
.st-ok { border-color: #2E6B3F; }
.st-part { border-color: #B08A2E; }
.st-bad { border-color: #9E2A2B; }
.st-need { color: #9E2A2B; font-size: .9rem; margin: 8px 0 0; }
.st-check[disabled] { opacity: .55; cursor: default; }
.st-card { background: #F4F4F6; padding: 26px 26px 18px; min-height: 200px; display: flex; flex-direction: column; }
.st-card-q { font-weight: 700; color: #091C3C; font-size: 1.1rem; }
.st-card-a { border-top: 1px solid #D5D8DD; padding-top: 12px; }
.st-card-nav { margin-top: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.st-card-count { margin-left: auto; color: #6B6B6B; font-size: .85rem; }
.st-again { margin-top: 30px; }


/* flashcards: hidden navigation buttons stay hidden even though .btn sets a display value */
.btn[hidden] { display: none; }

/* one page per kind of question */
.st-tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid #C9D0DA; margin: 6px 0 0; }
.st-tab { background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px 8px; font: inherit; font-size: .95rem; color: #32425D; cursor: pointer; margin-bottom: -1px; }
.st-tab:hover { color: #091C3C; }
.st-tab-on { color: #091C3C; font-weight: 700; border-bottom-color: #091C3C; }
.st-tab-n { color: #6B6B6B; font-weight: 400; font-size: .85em; }
.st-tab:focus-visible { outline: 2px solid #091C3C; outline-offset: 2px; }
.st-sec[hidden] { display: none; }
.st-nextsec { margin-top: 26px; }
