/* Examination screens share the site's blue, navy, white and generous spacing. */
.bt-exam-page, .bt-exam-focus { --bt-exam-blue: #0565e8; --bt-exam-navy: #072548; --bt-exam-line: #dfe7f4; font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.7; color: var(--bt-exam-navy); }
.bt-exam-page *, .bt-exam-focus *, .bt-exam-page *::before, .bt-exam-focus *::before, .bt-exam-page *::after, .bt-exam-focus *::after { box-sizing: border-box; }
.bt-exam-page [hidden], .bt-exam-focus [hidden] { display: none !important; }
.bt-exam-page h1, .bt-exam-page h2, .bt-exam-page h3, .bt-exam-focus h1, .bt-exam-focus h2, .bt-exam-focus h3 { font-family: inherit; font-weight: 750; letter-spacing: -.025em; line-height: 1.3; color: var(--bt-exam-navy); }
.bt-exam-page a, .bt-exam-focus a { text-decoration: none; text-underline-offset: 4px; }
.bt-exam-page button, .bt-exam-focus button, .bt-exam-page input, .bt-exam-page select { font: inherit; }
.bt-exam-page a:focus-visible, .bt-exam-page button:focus-visible, .bt-exam-page input:focus-visible, .bt-exam-page select:focus-visible, .bt-exam-focus a:focus-visible, .bt-exam-focus button:focus-visible, .bt-exam-focus input:focus-visible, .bt-exam-focus [tabindex]:focus-visible { outline: 3px solid #f7b84b; outline-offset: 3px; }
.bt-exam-container { width: min(1680px, calc(100% - 64px)); margin: 0 auto; }
.bt-exam-page { padding: 48px 0 72px; }
.bt-exam-eyebrow { margin: 0 0 10px; color: var(--bt-exam-blue); font-size: 10px; font-weight: 750; letter-spacing: .14em; line-height: 1.6; text-transform: uppercase; }
.bt-exam-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 30px; }
.bt-exam-heading h1 { margin: 0; font-size: clamp(34px, 3.5vw, 50px); }
.bt-exam-heading h2 { margin: 0; font-size: 32px; }
.bt-exam-heading p { max-width: 730px; margin: 12px 0 0; color: #62718a; font-size: 16px; line-height: 1.8; }
.bt-exam-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 11px 18px; border: 1px solid #cddbeb; border-radius: 8px; background: #fff; color: var(--bt-exam-navy); cursor: pointer; font-size: 13px !important; font-weight: 650 !important; line-height: 1.6; text-decoration: none; }
.bt-exam-button:hover { border-color: #9fbfe9; background: #f3f8ff; color: #034fc0; }
.bt-exam-button-primary { border-color: var(--bt-exam-blue); background: var(--bt-exam-blue); color: #fff; }
.bt-exam-button-primary:hover { border-color: #034fc0; background: #034fc0; color: #fff; }
.bt-exam-button-review { color: #6345a1; border-color: #d8cdf0; background: #f8f5ff; }
.bt-exam-button-review[aria-pressed="true"] { color: #fff; border-color: #7652c3; background: #7652c3; }
.bt-exam-button-subtle { color: #62718a; border-color: transparent; background: transparent; }
.bt-exam-button:disabled { opacity: .45; cursor: default; }
.bt-exam-filters { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 16px; padding: 22px; margin-bottom: 30px; border: 1px solid var(--bt-exam-line); border-radius: 14px; background: #f6f9fe; }
.bt-exam-filters label { display: block; margin-bottom: 8px; color: var(--bt-exam-navy); font-size: 12px; font-weight: 650; }
.bt-exam-filters input, .bt-exam-filters select { min-width: 220px; max-width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #c6d5e9; border-radius: 8px; color: var(--bt-exam-navy); background: #fff; font-size: 14px; }
.bt-exam-catalogue { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.bt-exam-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--bt-exam-line); border-radius: 16px; background: #fff; box-shadow: 0 6px 22px #16396007; }
.bt-exam-card-photo { display: block; aspect-ratio: 1.7; width: 100%; object-fit: cover; background: #eaf3ff; }
.bt-exam-card-body { display: flex; flex-direction: column; flex: 1; padding: 28px; }
.bt-exam-card h2, .bt-exam-card h3 { margin: 0 0 15px; font-size: 25px; line-height: 1.4; }
.bt-exam-card h2 a, .bt-exam-card h3 a { color: var(--bt-exam-navy); }
.bt-exam-card-category { margin: 0 0 11px; color: var(--bt-exam-blue); font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.bt-exam-meta { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 0 0 22px; color: #62718a; font-size: 13px; }
.bt-exam-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid #edf1f7; }
.bt-exam-card-availability, .bt-exam-attempt-note { margin: 0 0 18px; color: #6a7b94; font-size: 12px; line-height: 1.75; }
.bt-exam-attempt-note { margin: 20px 0 0; }
.bt-exam-pagination { margin-top: 36px; }
.bt-exam-pagination .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 0; list-style: none; }
.bt-exam-pagination .page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 10px 14px; border: 1px solid #d9e3f2; border-radius: 8px; color: #0565e8; background: #fff; font-size: 13px; }
.bt-exam-pagination .page-item.active .page-link { border-color: #0565e8; color: #fff; background: #0565e8; }
.bt-exam-pagination .page-item.disabled .page-link { color: #8794a8; background: #f5f7fc; }
.bt-exam-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.bt-exam-panel { padding: 32px; margin-bottom: 28px; border: 1px solid var(--bt-exam-line); border-radius: 16px; background: #fff; }
.bt-exam-panel h2 { margin: 0 0 22px; font-size: 26px; }
.bt-exam-panel p, .bt-exam-panel li { color: #62718a; font-size: 15px; line-height: 1.85; }
.bt-exam-rule-list { display: grid; gap: 14px; margin: 0 0 24px; }
.bt-exam-rule-list > div { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 14px; border-bottom: 1px solid #edf1f7; }
.bt-exam-rule-list dt { color: #62718a; font-size: 13px; font-weight: 500; }
.bt-exam-rule-list dd { margin: 0; color: var(--bt-exam-navy); font-size: 14px; font-weight: 750; }
.bt-exam-instruction-ack { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; color: #62718a; font-size: 13px; line-height: 1.8; }
.bt-exam-instruction-ack input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--bt-exam-blue); }
.bt-exam-result-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 30px; }
.bt-exam-result-stat { padding: 25px; border: 1px solid var(--bt-exam-line); border-radius: 13px; background: #f7faff; }
.bt-exam-result-stat dt { color: #62718a; font-size: 12px; }
.bt-exam-result-stat dd { margin: 10px 0 0; font-size: 30px; font-weight: 750; line-height: 1.3; }
.bt-exam-result-stat dd small { color: #6a7b94; font-size: 14px; font-weight: 600; }
.bt-exam-result-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bt-exam-table-wrap { overflow-x: auto; }
.bt-exam-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bt-exam-table th, .bt-exam-table td { padding: 16px; border-bottom: 1px solid #e4ebf6; text-align: left; }
.bt-exam-table th { color: var(--bt-exam-navy); background: #f5f8fe; font-weight: 700; }
.bt-exam-table td { color: #62718a; }
.bt-exam-review-question { padding: 28px; margin-bottom: 22px; border: 1px solid var(--bt-exam-line); border-radius: 14px; }
.bt-exam-review-question h2 { margin: 0 0 18px; font-size: 23px; }
.bt-exam-review-option { padding: 13px 16px; margin-bottom: 10px; border: 1px solid #e0e7f1; border-radius: 8px; color: #526580; font-size: 15px; }
.bt-exam-review-option-correct { color: #176c4d; border-color: #abdac9; background: #eff9f4; }
.bt-exam-review-option-selected { border-color: #a9c9f3; background: #eef5ff; }
.bt-exam-review-explanation { margin-top: 22px; padding-top: 20px; border-top: 1px solid #e4ebf6; color: #62718a; font-size: 15px; line-height: 1.8; }
.bt-exam-empty, .bt-exam-notice { padding: 30px; border: 1px solid #dce6f4; border-radius: 12px; background: #f7faff; color: #62718a; }

/* Active attempts deliberately contain no cinematic hero or public page scripts. */
body.bt-exam-focus { margin: 0; background: #f3f6fc; }
.bt-exam-focus .bt-exam-skip { position: absolute; top: -100px; left: 16px; z-index: 2400; padding: 12px 18px; border-radius: 8px; background: #072548; color: #fff; font-weight: 700; }
.bt-exam-focus .bt-exam-skip:focus { top: 10px; }
.bt-exam-focus .bt-exam-brand-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 62px; padding: 14px 32px; border-bottom: 1px solid var(--bt-exam-line); background: #fff; }
.bt-exam-focus .bt-exam-brand { color: var(--bt-exam-navy); font-size: 18px; font-weight: 800; letter-spacing: -.025em; }
.bt-exam-focus .bt-exam-brand small { display: block; margin-top: 2px; color: #62718a; font-size: 9px; font-weight: 500; letter-spacing: 0; }
.bt-exam-player { width: min(1680px, calc(100% - 64px)); margin: 0 auto; padding-bottom: 32px; }
.bt-exam-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 26px 0 22px; }
.bt-exam-toolbar h1 { margin: 0; font-size: clamp(21px, 2vw, 30px); }
.bt-exam-toolbar .bt-exam-eyebrow { margin-bottom: 7px; }
.bt-exam-save-status { margin: 7px 0 0; color: #6e7c91; font-size: 11px; line-height: 1.5; }
.bt-exam-toolbar-actions { display: flex; align-items: center; flex-shrink: 0; gap: 24px; }
.bt-exam-clock { min-width: 116px; text-align: right; }
.bt-exam-clock span { display: block; color: #63738d; font-size: 10px; line-height: 1.5; }
.bt-exam-clock strong { display: block; color: var(--bt-exam-navy); font-size: 26px; line-height: 1.4; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.bt-exam-clock.is-low strong { color: #b73e47; }
.bt-exam-section-bar { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.bt-exam-section-tools { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.bt-exam-section-clock { color: #526781; font-size: 11px; font-weight: 650; font-variant-numeric: tabular-nums; }
.bt-exam-sections { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bt-exam-section { min-height: 44px; padding: 10px 18px; border: 1px solid #d5e0ef; border-radius: 8px; color: #526781; background: #fff; cursor: pointer; font-size: 12px; font-weight: 650; }
.bt-exam-section[aria-pressed="true"] { background: var(--bt-exam-navy); border-color: var(--bt-exam-navy); color: #fff; }
.bt-exam-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 24px; align-items: start; }
.bt-exam-question-panel { min-height: 540px; padding: 32px; border: 1px solid var(--bt-exam-line); border-radius: 15px; background: #fff; }
.bt-exam-question-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 26px; }
.bt-exam-question-top h2 { margin: 0; font-size: 19px; line-height: 1.5; }
.bt-exam-question-marks { color: #63738d; font-size: 11px; white-space: nowrap; }
.bt-exam-question-copy { margin-bottom: 28px; color: #243d5b; font-size: 17px; line-height: 1.95; overflow-wrap: anywhere; }
.bt-exam-question-copy img, .bt-exam-option img { max-width: 100%; height: auto; }
.bt-exam-options { display: grid; gap: 13px; padding: 0; margin: 0; border: 0; }
.bt-exam-option { display: flex; align-items: flex-start; gap: 14px; padding: 17px 18px; border: 1px solid #dbe5f2; border-radius: 9px; color: #38506c; background: #fff; font-size: 15px; line-height: 1.7; cursor: pointer; }
.bt-exam-option:has(input:checked) { color: #034fc0; border-color: #7db2f6; background: #eff6ff; box-shadow: inset 0 0 0 1px #7db2f6; }
.bt-exam-option input { flex-shrink: 0; width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--bt-exam-blue); }
.bt-exam-option-label { color: #8390a2; font-size: 12px; font-weight: 700; }
.bt-exam-option-copy { flex: 1; min-width: 0; }
.bt-exam-question-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.bt-exam-navigation { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; padding-top: 23px; border-top: 1px solid #e6edf7; }
.bt-exam-navigation [data-exam-save-next] { margin-left: auto; }
.bt-exam-palette-panel { padding: 24px; border: 1px solid var(--bt-exam-line); border-radius: 15px; background: #fff; }
.bt-exam-palette-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 13px; }
.bt-exam-palette-heading h2 { margin: 0; font-size: 19px; }
.bt-exam-palette-summary { margin-bottom: 22px; color: #718099; font-size: 11px; line-height: 1.7; }
.bt-exam-palette { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; margin-bottom: 26px; }
.bt-exam-palette-button, .bt-exam-state { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #d9e2ee; border-radius: 7px; font-size: 12px; font-weight: 700; }
.bt-exam-palette-button { position: relative; min-height: 44px; width: 100%; cursor: pointer; }
.bt-exam-palette-button[aria-current="true"] { outline: 2px solid #072548; outline-offset: 2px; }
.bt-exam-state { width: 21px; height: 21px; flex-shrink: 0; font-size: 10px; }
.bt-exam-state-unvisited { color: #718099; background: #f4f6fa; border-color: #d9e2ee; }
.bt-exam-state-unanswered { color: #a75336; background: #fff3ed; border-color: #edc6b8; }
.bt-exam-state-answered { color: #1b7552; background: #eaf7ef; border-color: #b0d7c1; }
.bt-exam-state-review { color: #6943ae; background: #f2ecfd; border-color: #cfbdf0; }
.bt-exam-state-answered-review { color: #fff; background: #7652bc; border-color: #7652bc; }
.bt-exam-legend { display: grid; gap: 12px; padding: 20px 0 0; margin: 0; border-top: 1px solid #e6edf7; list-style: none; }
.bt-exam-legend li { display: flex; align-items: center; gap: 10px; color: #63738b; font-size: 10px; line-height: 1.5; }
.bt-exam-connection { padding: 13px 17px; margin-bottom: 20px; border: 1px solid #edcf96; border-radius: 9px; background: #fff8e9; color: #806334; font-size: 12px; }
.bt-exam-connection p { margin: 0; }
.bt-exam-connection .bt-exam-button { margin: 10px 10px 0 0; background: #fff; }
.bt-exam-question-copy { white-space: pre-line; }
.bt-exam-option-copy { white-space: pre-line; }
.bt-exam-palette-button:disabled, .bt-exam-section:disabled { opacity: .42; cursor: default; }
.bt-exam-mobile-palette { display: none; }
.bt-exam-icon-button { align-items: center; justify-content: center; width: 44px; min-height: 44px; border: 1px solid #d6e2f2; border-radius: 8px; color: #526781; background: #fff; cursor: pointer; font-size: 22px; }
.bt-exam-dialog-backdrop { display: grid; place-items: center; position: fixed; inset: 0; z-index: 2200; padding: 24px; background: #03172ab8; }
.bt-exam-dialog { width: min(540px, 100%); max-height: calc(100vh - 48px); padding: 34px; overflow-y: auto; border-radius: 16px; background: #fff; box-shadow: 0 22px 70px #03172a55; }
.bt-exam-dialog h2 { margin: 0 0 15px; font-size: 27px; }
.bt-exam-dialog > p { color: #63738b; font-size: 14px; line-height: 1.8; }
.bt-exam-submit-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 20px 0; margin: 0; }
.bt-exam-submit-summary > div { padding: 14px; border: 1px solid #e0e8f4; border-radius: 9px; background: #f7faff; }
.bt-exam-submit-summary dt { color: #63738b; font-size: 10px; }
.bt-exam-submit-summary dd { margin: 5px 0 0; color: var(--bt-exam-navy); font-size: 23px; font-weight: 750; }
.bt-exam-dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.bt-exam-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1279px) {
    .bt-exam-container, .bt-exam-player { width: calc(100% - 48px); }
    .bt-exam-workspace { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
    .bt-exam-question-panel { padding: 27px; }
    .bt-exam-palette-panel { padding: 22px; }
    .bt-exam-detail-grid { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 1000px) {
    .bt-exam-catalogue { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bt-exam-workspace, .bt-exam-detail-grid { grid-template-columns: 1fr; }
    .bt-exam-mobile-palette { display: inline-flex; }
    .bt-exam-palette-panel { display: none; position: fixed; top: 0; right: 0; bottom: 0; z-index: 2100; width: min(370px, 90vw); border: 0; border-radius: 0; overflow-y: auto; }
    .bt-exam-palette-panel.is-open { display: block; }
    .bt-exam-backdrop { position: fixed; inset: 0; z-index: 2050; background: #03172a99; }
    .bt-exam-result-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .bt-exam-container, .bt-exam-player { width: calc(100% - 32px); }
    .bt-exam-page { padding: 32px 0 48px; }
    .bt-exam-focus .bt-exam-brand-bar { padding: 12px 16px; }
    .bt-exam-heading { flex-direction: column; align-items: flex-start; gap: 18px; }
    .bt-exam-heading h1 { font-size: 34px; }
    .bt-exam-heading h2 { font-size: 27px; }
    .bt-exam-toolbar { flex-direction: column; align-items: stretch; gap: 18px; padding-top: 22px; }
    .bt-exam-toolbar-actions { justify-content: space-between; }
    .bt-exam-clock { text-align: left; }
    .bt-exam-clock strong { font-size: 25px; }
    .bt-exam-question-panel { padding: 23px 20px; }
    .bt-exam-question-top { gap: 12px; }
    .bt-exam-question-marks { white-space: normal; text-align: right; }
    .bt-exam-question-copy { font-size: 16px; }
    .bt-exam-option { padding: 15px; gap: 11px; font-size: 14px; }
    .bt-exam-navigation { gap: 10px; }
    .bt-exam-navigation .bt-exam-button { flex: 1; padding-inline: 12px; }
    .bt-exam-navigation [data-exam-save-next] { flex-basis: 100%; margin-left: 0; }
    .bt-exam-section-bar { align-items: flex-start; }
    .bt-exam-section { padding-inline: 13px; }
    .bt-exam-card-body, .bt-exam-panel { padding: 24px; }
    .bt-exam-card h2, .bt-exam-card h3 { font-size: 23px; }
    .bt-exam-filters { padding: 19px; }
    .bt-exam-filters > div { flex: 1 1 100%; }
    .bt-exam-filters input, .bt-exam-filters select { min-width: 0; width: 100%; }
    .bt-exam-dialog { padding: 28px 24px; }
}
@media (max-width: 520px) {
    .bt-exam-catalogue { grid-template-columns: 1fr; }
    .bt-exam-result-stats { gap: 14px; }
    .bt-exam-result-stat { padding: 20px; }
    .bt-exam-result-stat dd { font-size: 26px; }
    .bt-exam-submit-summary { grid-template-columns: 1fr; }
    .bt-exam-submit-summary > div { display: flex; align-items: center; justify-content: space-between; }
    .bt-exam-submit-summary dd { margin: 0; }
    .bt-exam-dialog-actions .bt-exam-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .bt-exam-page *, .bt-exam-focus * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Catalogue and review details use real exam content and counts. */
.bt-exam-card-art { display: flex; flex-direction: column; justify-content: center; min-height: 220px; padding: 30px; color: #fff; background: radial-gradient(ellipse at 90% 5%, #147ee6 0%, transparent 55%), linear-gradient(135deg, #061d3b, #0b4889); }
.bt-exam-card-art > span { color: #b7d8ff; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.bt-exam-card-art > strong { display: block; margin: 6px 0; color: #fff; font-size: 70px; font-weight: 750; line-height: 1.1; letter-spacing: -.06em; }
.bt-exam-card-art > small { color: #d0e5ff; font-size: 12px; }
.bt-exam-attempt-note { margin-top: 20px; color: #62718a; font-size: 12px !important; line-height: 1.8; }
.bt-exam-plain-copy { white-space: pre-line; overflow-wrap: anywhere; }
.bt-exam-instructions { margin: 0; padding-left: 22px; }
.bt-exam-instructions li + li { margin-top: 12px; }
.bt-exam-rule-list dd { text-align: right; }
.bt-exam-review-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.bt-exam-review-top > span { color: #62718a; font-size: 12px; white-space: nowrap; }
.bt-exam-review-question .bt-exam-question-copy img { display: block; margin-top: 20px; max-height: 450px; object-fit: contain; }
.bt-exam-review-explanation h3 { margin: 0 0 10px; font-size: 16px; }
.bt-exam-review-explanation p { margin-bottom: 0; }
@media (max-width: 760px) { .bt-exam-review-top { flex-direction: column; gap: 0; margin-bottom: 12px; } .bt-exam-card-art { min-height: 190px; } }

.bt-exam-attempt-status { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 10px; border-radius: 5px; background: #edf5f0; color: #276a4e; font-size: 11px; white-space: nowrap; }
.bt-exam-attempt-status.is-open { color: #245c9b; background: #edf4ff; }
