.rpt-test,.rpt-challenge{--rpt-red:#971d3c;--rpt-ink:#172235;--rpt-muted:#536176;--rpt-line:#d8dee8;--rpt-soft:#f4f6fa;--rpt-green:#176443;--rpt-bad:#9b2839;color:var(--rpt-ink);box-sizing:border-box;max-width:100%;min-width:0}
.rpt-test *,.rpt-challenge *{box-sizing:border-box}
.rpt-test{border:1px solid var(--rpt-line);border-top:5px solid var(--rpt-red);border-radius:16px;padding:clamp(16px,3vw,30px);margin-block:28px;background:#fff;box-shadow:0 12px 35px #1722350a}
.rpt-test [hidden],.rpt-challenge [hidden]{display:none!important}
.rpt-test h3,.rpt-test h4,.rpt-challenge h3{line-height:1.3;color:var(--rpt-ink);margin-block:12px 16px;overflow-wrap:anywhere}
.rpt-test p{line-height:1.65;margin-block:12px}
.rpt-test button,.rpt-test select,.rpt-challenge button,.rpt-challenge textarea{font:inherit;max-width:100%}
.rpt-test button,.rpt-challenge button{border:1px solid var(--rpt-line);background:#fff;color:var(--rpt-ink);border-radius:8px;padding:11px 16px;min-height:46px;cursor:pointer;line-height:1.3;white-space:normal}
.rpt-test button:hover,.rpt-challenge button:hover{border-color:var(--rpt-red);background:#fff7f9}
.rpt-test .rpt-primary,.rpt-challenge .rpt-primary{background:var(--rpt-red);border-color:var(--rpt-red);color:white}
.rpt-test .rpt-primary:hover{background:#77122c;color:white}
.rpt-test button:disabled{opacity:.55;cursor:default}
.rpt-test :focus-visible,.rpt-challenge :focus-visible{outline:3px solid #1b6cb9;outline-offset:4px}
.rpt-test .rpt-row,.rpt-challenge .rpt-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-block:18px}
.rpt-test .rpt-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-block:20px}
.rpt-test .rpt-field label{display:block;font-weight:700;margin-bottom:7px}
.rpt-test select{width:100%;padding:12px;border:1px solid var(--rpt-line);border-radius:8px;background:#fff;color:var(--rpt-ink);min-height:48px}
.rpt-test .rpt-checkline{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer}
.rpt-test input[type=checkbox]{width:19px;height:19px;accent-color:var(--rpt-red)}
.rpt-test .rpt-note,.rpt-test .rpt-meta{color:var(--rpt-muted);font-size:.9em}
.rpt-test .rpt-meta{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between}
.rpt-test progress{display:block;width:100%;height:12px;border:0;accent-color:var(--rpt-red);margin-block:12px 22px;border-radius:20px}
.rpt-test progress::-webkit-progress-bar{background:#e8ecf2;border-radius:20px}
.rpt-test progress::-webkit-progress-value{background:var(--rpt-red);border-radius:20px}
.rpt-test progress::-moz-progress-bar{background:var(--rpt-red);border-radius:20px}
.rpt-test fieldset{border:0;margin:0;padding:0;min-width:0}
.rpt-test legend{float:none;width:auto;font-size:1.12em;font-weight:700;line-height:1.5;margin-block:8px 14px;padding:0}
.rpt-test .rpt-option{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--rpt-line);border-radius:10px;padding:14px;margin:10px 0;min-height:52px;cursor:pointer;background:#fff;line-height:1.55;overflow-wrap:anywhere}
.rpt-test .rpt-option:hover{border-color:var(--rpt-red);background:#fff9fa}
.rpt-test .rpt-option:has(input:checked){border-color:var(--rpt-red);box-shadow:inset 0 0 0 1px var(--rpt-red);background:#fff5f7}
.rpt-test .rpt-option input{flex:0 0 auto;width:19px;height:19px;margin-top:4px;accent-color:var(--rpt-red)}
.rpt-test pre,.rpt-challenge pre{white-space:pre;max-width:100%;min-width:0;overflow:auto;background:#152035;color:#f4f6ff;border:0;border-radius:10px;padding:18px;font:14px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2}
.rpt-test pre code,.rpt-challenge pre code{padding:0;background:none;color:inherit;white-space:pre;word-break:normal}
.rpt-test .rpt-feedback{padding:16px;border-left:4px solid var(--rpt-green);border-radius:6px;background:#edf8f2;margin-block:20px}
.rpt-test .rpt-feedback.rpt-wrong{border-color:var(--rpt-bad);background:#fff0f2}
.rpt-test .rpt-question-nav{display:flex;gap:8px;flex-wrap:wrap;margin-block:20px}
.rpt-test .rpt-question-nav button{min-width:44px;padding:10px;position:relative}
.rpt-test .rpt-question-nav .rpt-answered{background:#e8edf5;border-color:#a7b6c9}
.rpt-test .rpt-question-nav [aria-current=step]{box-shadow:0 0 0 2px var(--rpt-red)}
.rpt-test .rpt-question-nav .rpt-flagged::after{content:'•';position:absolute;top:-8px;right:3px;color:var(--rpt-red);font-size:24px}
.rpt-test .rpt-flag[aria-pressed=true]{background:#fff0d1;border-color:#9e7021}
.rpt-test .rpt-results-head{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin:24px 0}
.rpt-test .rpt-score{width:120px;height:120px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--rpt-red) var(--rpt-score),#e8ecf2 0);flex:0 0 120px}
.rpt-test .rpt-score strong{display:grid;place-items:center;width:94px;height:94px;border-radius:50%;background:white;font-size:27px}
.rpt-test .rpt-topic-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-block:20px}
.rpt-test .rpt-topic-card{background:var(--rpt-soft);padding:16px;border-radius:10px;min-width:0}
.rpt-test .rpt-topic-card h4{font-size:1em;margin:0 0 8px}
.rpt-test .rpt-topic-card p{font-size:.9em;margin:8px 0}
.rpt-test .rpt-review-item{border:1px solid var(--rpt-line);border-radius:8px;padding:15px;margin-block:12px}
.rpt-test .rpt-review-item summary{cursor:pointer;line-height:1.5;font-weight:700;overflow-wrap:anywhere}
.rpt-test .rpt-question{margin-block:24px;padding:20px;border:1px solid var(--rpt-line);border-radius:10px}
.rpt-test .rpt-topic{font-size:.85em;letter-spacing:.05em;text-transform:uppercase;color:var(--rpt-red);font-weight:700}
.rpt-test .rpt-explanation,.rpt-challenge details{padding:16px;border-left:3px solid var(--rpt-red);background:#f8f4f2;margin-block:16px}
.rpt-test summary,.rpt-challenge summary{cursor:pointer;min-height:32px;font-weight:700}
.rpt-test .rpt-alert{padding:12px;border:1px solid #a87929;border-radius:6px;background:#fff8e9}
.rpt-test .rpt-confirm,.rpt-challenge .rpt-confirm{padding:16px;border:1px solid #a87929;border-radius:8px;background:#fff8e9;margin-block:18px;max-width:100%;min-width:0;overflow-wrap:anywhere}
.rpt-test .rpt-confirm p,.rpt-challenge .rpt-confirm p{margin:0;line-height:1.6}
.rpt-test .rpt-confirm .rpt-row,.rpt-challenge .rpt-confirm .rpt-row{margin:16px 0 0}
.rpt-test .rpt-confirm button,.rpt-challenge .rpt-confirm button{flex:1 1 125px;min-width:0}
.rpt-challenge .rpt-primary:hover{background:#77122c;color:white}
.rpt-challenge{border:1px solid var(--rpt-line);border-left:5px solid var(--rpt-red);padding:clamp(16px,3vw,26px);border-radius:12px;margin-block:30px;background:#fff}
.rpt-challenge textarea{display:block;width:100%;min-height:190px;padding:16px;border:1px solid #8b99ad;border-radius:8px;background:#f7f9fc;color:#162238;resize:vertical;font:14px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2;white-space:pre;overflow:auto}
.rpt-challenge label{display:block;font-weight:700;margin-block:12px 8px}
.rpt-challenge .rpt-copy-status{font-size:.9em;color:var(--rpt-muted)}
@media(max-width:580px){.rpt-test .rpt-settings,.rpt-test .rpt-topic-results{grid-template-columns:1fr}.rpt-test .rpt-row>button{flex:1 1 125px}.rpt-test pre,.rpt-challenge pre{font-size:13px;padding:13px}.rpt-test .rpt-results-head{gap:16px}}
@media(prefers-reduced-motion:reduce){.rpt-test *,.rpt-challenge *{scroll-behavior:auto!important;transition:none!important}}
@media print{.rpt-test .rpt-settings,.rpt-test button,.rpt-challenge button,.rpt-challenge textarea,.rpt-test .rpt-question-nav,.rpt-challenge .rpt-confirm{display:none!important}.rpt-test .rpt-bank{display:block!important}.rpt-test .rpt-app{display:none!important}.rpt-test,.rpt-challenge{box-shadow:none;border:1px solid #999}.rpt-test pre,.rpt-challenge pre{white-space:pre-wrap;color:#111;background:#eee}}
