/* Structural defaults. Themes may override these classes without replacing behavior. */
.career-test { --career-test-accent: #174c8f; --career-test-border: #68717d; color: #17212c; background: #fff; max-width: 52rem; margin-inline: auto; padding: clamp(1rem, 3vw, 2rem); line-height: 1.5; }
.career-test, .career-test * { box-sizing: border-box; }
.career-test [hidden] { display: none !important; }
.career-test [data-ct-heading] { scroll-margin-top: var(--career-test-scroll-offset, 100px); }
.career-test .career-test__title { display: block; font-size: clamp(1.4em, 3vw, 2em); font-weight: 700; line-height: 1.25; padding: 0; margin: 0 0 1rem; color: inherit; }
.career-test .career-test__fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.career-test .career-test__content { margin-block: 1rem; overflow-wrap: anywhere; white-space: pre-line; }
.career-test .career-test__image { display: block; width: auto; max-width: 100%; max-height: 22rem; object-fit: contain; margin-block: 1rem; }
.career-test .career-test__choices { display: grid; gap: .75rem; margin-block: 1rem; }
.career-test .career-test__choices[data-type="picture"] { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.career-test .career-test__choice { position: relative; display: flex; align-items: center; gap: .75rem; border: 1px solid var(--career-test-border); border-radius: .3rem; padding: .85rem; cursor: pointer; overflow-wrap: anywhere; }
.career-test .career-test__choice[data-selected="true"] { border-color: var(--career-test-accent); box-shadow: inset 0 0 0 2px var(--career-test-accent); background: #eff6ff; }
.career-test .career-test__radio { appearance: auto; display: inline-block; position: static; opacity: 1; width: 1.2rem; height: 1.2rem; flex: 0 0 1.2rem; margin: 0; accent-color: var(--career-test-accent); }
.career-test .career-test__choices[data-type="picture"] .career-test__choice { flex-wrap: wrap; align-content: start; }
.career-test .career-test__choice-image { width: 100%; height: 10rem; object-fit: contain; order: -1; }
.career-test .career-test__navigation { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; margin-block: 1.5rem .5rem; }
.career-test .career-test__button { appearance: none; display: inline-block; font: inherit; font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none; color: #fff; background: var(--career-test-accent); border: 2px solid var(--career-test-accent); border-radius: .3rem; padding: .65rem 1rem; min-height: 44px; cursor: pointer; }
.career-test .career-test__button--secondary { color: var(--career-test-accent); background: #fff; }
.career-test .career-test__button:disabled { cursor: wait; opacity: .6; }
.career-test .career-test__field { display: grid; gap: .4rem; margin-block: 1rem; font-weight: 600; }
.career-test .career-test__input { display: block; width: 100%; min-height: 44px; appearance: auto; font: inherit; color: inherit; background: #fff; border: 1px solid var(--career-test-border); border-radius: .3rem; padding: .7rem; }
.career-test .career-test__input[aria-invalid="true"] { border: 2px solid #a01b15; }
.career-test .career-test__progress { display: block; width: 100%; height: .6rem; margin-bottom: 1.5rem; accent-color: var(--career-test-accent); }
.career-test .career-test__progress-label, .career-test .career-test__hint { font-size: .9em; margin-block: .5rem; }
.career-test .career-test__error { color: #a01b15; border-left: 3px solid currentColor; padding-left: .75rem; margin-top: 1rem; }
.career-test .career-test__status:empty { display: none; }
/* Higher specificity and !important intentionally defeat host themes' global focus resets. */
.career-test :is(button, a, input, [tabindex]):focus-visible { outline: 3px solid var(--career-test-accent) !important; outline-offset: 4px !important; }
.career-test .career-test__choice:focus-within { outline: 3px solid var(--career-test-accent) !important; outline-offset: 3px !important; }
@media (forced-colors: active) { .career-test .career-test__choice[data-selected="true"] { border: 3px solid Highlight; } }
