.random-test-prompt{position:fixed;z-index:1100;right:24px;bottom:24px;width:min(410px,calc(100vw - 32px));padding:22px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 38px #19332f33;color:var(--ink)}
.random-test-prompt:not([hidden]){animation:random-test-attention 12s ease-in-out 1}
@keyframes random-test-attention{0%{opacity:0;transform:translateY(10px)}8%,20%{opacity:1;transform:translateY(0)}32%{opacity:.35}44%{opacity:1}56%{opacity:.4}68%{opacity:1}80%{opacity:.5}90%,100%{opacity:1}}
@media(prefers-reduced-motion:reduce){.random-test-prompt:not([hidden]){animation:none}}
.random-test-prompt[hidden],.random-test-overlay[hidden]{display:none}
.random-test-prompt h2{font-size:22px;margin:14px 34px 8px 0}
.random-test-prompt p{font-size:14px;color:var(--muted);line-height:1.55}
.random-test-close{position:absolute;top:12px;right:14px;width:38px;height:38px;padding:0;background:transparent;color:var(--ink);font-size:26px;line-height:1}
.random-test-overlay{position:fixed;z-index:1200;inset:0;display:grid;place-items:center;padding:20px;background:#10231b99}
.random-test-dialog{position:relative;width:min(100%,760px);max-height:min(92vh,920px);overflow:auto;padding:30px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 20px 60px #0004;color:var(--ink)}
.random-test-dialog h2{margin:14px 44px 10px 0;font-size:25px}
.random-test-dialog h3{line-height:1.5}
.random-test-progress{display:flex;justify-content:space-between;margin:22px 0 8px;font-size:13px;color:var(--muted)}
.random-test-passage{padding:18px;background:#f3f7f2;border-radius:10px;font-size:17px;line-height:1.7;color:var(--ink)}
.random-test-note{margin:20px 0 0;font-size:13px;color:var(--muted)}
.random-test-results>p{line-height:1.6}
.random-test-focus{padding:12px 15px;background:#f3f7f2;border-radius:8px}
.random-test-reviews{display:grid;gap:14px;margin:20px 0}
.random-test-review{padding:18px;border:1px solid var(--line);border-radius:10px}
.random-test-review.needs-review{border-color:#d99a88;border-left:5px solid #c75c48;background:#fff7f4}
.random-test-review.is-correct{border-left:5px solid #4d9873;background:#fbfdfb}
.random-test-review-label{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#587764}
.random-test-review.needs-review .random-test-review-label{color:#a53f30}
.random-test-review h3{margin:10px 0;font-size:17px}
.random-test-review p{margin:9px 0;font-size:14px;line-height:1.6}
@media(max-width:600px){.random-test-prompt{right:16px;bottom:16px}.random-test-dialog{max-height:94vh;padding:22px 16px}.random-test-dialog .choice{font-size:14px;padding:13px}.random-test-dialog .actions button{flex:1}.random-test-passage{font-size:15px;padding:14px}}
