.ofs{max-width:1100px;margin:1.5rem auto;background:#fff;border:1px solid #cbd5df;border-radius:18px;padding:clamp(16px,3vw,30px);color:#142e45}.ofs button,.ofs select,.ofs input:not([type=radio]):not([type=checkbox]){font:inherit;border:1px solid #7193a3;border-radius:9px;padding:11px 15px}.ofs button{background:#ecf5f5;color:#14394d;cursor:pointer;min-height:44px}.ofs button:hover{background:#d6eceb}.ofs button:disabled{opacity:.6;cursor:not-allowed}.ofs :focus-visible{outline:3px solid #075c9a;outline-offset:3px}.ofs-controls{display:grid;gap:8px;max-width:650px}.ofs-note{background:#edf6f5;border-left:4px solid #087c80;padding:16px;margin:16px 0}.ofs-progress,.ofs-actions,.ofs-history{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;margin:18px 0}.ofs-eyebrow{font-size:.9rem;font-weight:600;color:#185a71}.ofs-question h3{font-size:1.25rem}.ofs-art{display:block;width:auto;max-width:100%;max-height:300px;object-fit:contain;margin:18px auto}.ofs-choices{border:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ofs-choice{display:flex;flex-wrap:wrap;gap:10px;align-items:center;border:2px solid #cedde2;padding:14px;border-radius:12px;cursor:pointer;min-width:0}.ofs-choice:has(input:checked){border-color:#07787c;background:#e9f5f2}.ofs-choice img{max-width:100%;max-height:150px;object-fit:contain;margin:auto}.ofs-choice strong{display:block;width:100%;color:#155149}.ofs-numbers{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0}.ofs-numbers button{padding:6px;min-width:44px}.ofs-numbers .answered{background:#d6efe5}.ofs-numbers .marked{border:2px dashed #8a5a00}.ofs-numbers [aria-current]{outline:3px solid #145c83}.ofs-status{font-size:.9rem;color:#155149}.ofs-status.error{color:#a41d2e}.ofs-score{font-size:1.5rem;font-weight:600}.ofs-mark{display:flex;align-items:center;gap:10px}.ofs-faq-table{border-collapse:collapse;width:100%}.ofs-faq-table th,.ofs-faq-table td{padding:10px;border:1px solid #cedde2;text-align:left}.ofs-faq-scroll{overflow-x:auto}.ofs-faq details{margin:14px 0;border:1px solid #cedde2;border-radius:10px;padding:14px}.ofs-faq summary{cursor:pointer;font-weight:600}.ofs-faq .ofs-note{color:#173b49}

/* Focused player shell, scoped to the simulation's active/results view. */
body.ofs-testing{background:#f2f6f8}
.ofs-testing #main>.article-header,.ofs-testing .site-footer,.ofs-testing .site-header .nav,.ofs-testing .site-header .menu-toggle{display:none}
.ofs-testing #main>.article{padding:20px 0}
.ofs-testing #main>.article>.article-body{width:min(1000px,calc(100% - 32px));max-width:none;padding:0;background:none;border:0;border-radius:0;box-shadow:none}
.ofs-testing .article-body>p,.ofs-testing .article-next{display:none}
.ofs-testing .ofs{margin:0;border-radius:12px;box-shadow:0 6px 24px #17324d09;scroll-margin-top:100px}
.ofs-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:16px;border-bottom:1px solid #dbe5e9}
.ofs-toolbar h2{margin:0;font-size:1.2rem;letter-spacing:0;line-height:1.4}
.ofs-toolbar button{background:white;font-size:.9rem;white-space:nowrap}
.ofs-progress{margin:16px 0 8px;font-size:.95rem;font-weight:600}
.ofs-progress p{margin:0}
.ofs-progress-bar{display:block;width:100%;height:6px;accent-color:#127d79;border:0;border-radius:6px;overflow:hidden;margin:0 0 22px}
.ofs-progress-bar::-webkit-progress-bar{background:#e5ecef}.ofs-progress-bar::-webkit-progress-value{background:#127d79}
.ofs-actions{justify-content:flex-start;padding-top:18px;border-top:1px solid #dbe5e9;margin:20px 0 0}
.ofs-actions .ofs-primary{margin-left:auto;background:#127d79;color:white;border-color:#127d79;font-weight:650;min-width:120px}
.ofs-actions .ofs-primary:hover{background:#0d625f}
.ofs-actions .ofs-finish{font-size:.9rem;background:white;border-color:transparent;color:#526672}
.ofs-review-panel{margin-top:20px;padding:18px;background:#f7fafb;border:1px solid #dbe5e9;border-radius:10px}
.ofs-review-panel[hidden]{display:none}
.ofs-review-panel h3{font-size:1.1rem;margin:0 0 8px}
.ofs-review-panel p{font-size:.9rem;margin:8px 0}
.ofs-review-help{color:#526672}.ofs-status{margin:10px 0 0}
.ofs-audio{display:flex;align-items:center;flex-wrap:wrap;gap:10px;background:#f1f8f7;border:1px solid #d4e6e3;border-radius:10px;padding:12px;margin:14px 0}.ofs-audio audio{display:block;width:auto;flex:1 1 240px;min-width:0;max-width:100%;height:40px}.ofs-audio small{flex-basis:100%;color:#526672;font-size:.8rem}.ofs-audio button:first-child{background:#127d79;color:#fff;border-color:#127d79}
@media(min-width:850px){.ofs-choices:has(img){grid-template-columns:repeat(4,minmax(0,1fr))}.ofs-choice:has(img){align-content:start}.ofs-choice:has(img) img{width:100%;max-height:130px}}
@media(max-width:600px){.ofs-choices{grid-template-columns:1fr}.ofs-choices:has(img){grid-template-columns:repeat(2,minmax(0,1fr))}.ofs-choice{padding:10px;gap:6px}.ofs-choice img{max-height:110px}.ofs-toolbar{align-items:flex-start;gap:10px}.ofs-toolbar h2{font-size:1rem}.ofs-toolbar button{padding:8px;font-size:.8rem}.ofs-actions{gap:8px}.ofs-actions button{flex:1 1 auto;padding:10px;font-size:.9rem}.ofs-actions .ofs-primary{margin-left:0;min-width:90px}.ofs-progress{gap:4px}.ofs-history{border-bottom:1px solid #ddd;padding-bottom:12px}.ofs-testing #main>.article>.article-body{width:calc(100% - 20px)}.ofs-testing #main>.article{padding:10px 0}}
@media print{.ofs button,.ofs-review-panel,.ofs-controls,.ofs-progress-bar{display:none}.ofs{border:0;padding:0}}
.ofs-test-card{padding:18px;margin:14px 0;border:1px solid #cddfe2;border-radius:12px;background:#f7fbfb}.ofs-test-card h3{margin:0 0 8px}.ofs-test-card button{margin:4px 8px 4px 0}.ofs>details{margin:16px 0;padding:12px;border:1px solid #dbe5e9;border-radius:10px}.ofs>details summary{cursor:pointer;font-weight:600}.ofs-handoff{padding:16px;border:2px solid #127d79;border-radius:12px;background:#f1f8f7;margin:14px 0}
