.rst-standalone{max-width:1050px;margin:35px auto;padding:0 18px}.rst-test-reader{max-width:960px;margin:22px auto;color:#1b2533;font-family:system-ui,-apple-system,sans-serif;font-size:18px;line-height:1.55}.rst-test-reader *{box-sizing:border-box}.rst-test-reader h2{font-size:clamp(1.5rem,4vw,2rem);margin-bottom:18px}.rst-test-reader h3{font-size:1.15rem;margin:0 0 14px}.rst-controls{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.rst-test-reader button{cursor:pointer;font:inherit;border-radius:8px;min-height:44px}.rst-stop{padding:8px 15px;border:1px solid #8794a5;background:#fff;color:#182534}.rst-status{font-size:.94rem;color:#475569;min-height:1.4em}.rst-instructions,.rst-question{padding:22px;margin:20px 0;border:1px solid #d1d8e2;border-radius:12px;background:#fff}.rst-instructions{background:#f8fafc}.rst-textline{display:flex;align-items:flex-start;gap:14px;margin:8px 0 12px}.rst-spoken{flex:1;white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;min-width:0;border-radius:4px}.rst-es{color:#35465c}.rst-audio{flex:0 0 auto;font-size:.86rem!important;font-weight:650!important;padding:8px 12px;border:1px solid #adc2df;background:#f1f6ff;color:#103869;min-width:104px}.rst-audio[aria-pressed=true]{background:#1d467a;color:#fff}.rst-speaking{background:#fff1ae;box-shadow:0 0 0 4px #fff1ae}.rst-active-segment{background:#ffb700;color:#0c1828;border-radius:3px}.rst-choices{margin-top:14px}.rst-choice{display:flex;gap:16px;padding:13px 12px;border:2px solid #e0e6ec;border-radius:9px;margin:10px 0;align-items:flex-start}.rst-selected{border-color:#2563eb;background:#eff6ff}.rst-mark{flex:0 0 52px;font-weight:800!important;background:#f1f5f9;border:2px solid #94a3b8;color:#1f2e42}.rst-selected .rst-mark{background:#1d4ed8;color:white;border-color:#1d4ed8}.rst-mark[aria-pressed=true]:after{content:' ✓'}.rst-answer-content{flex:1;min-width:0}.rst-privacy{font-size:.85rem;color:#475569;margin:20px 0 50px}.rst-test-reader button:focus-visible{outline:3px solid #ff9f1c;outline-offset:3px}@media(max-width:600px){.rst-instructions,.rst-question{padding:13px}.rst-textline{flex-wrap:wrap;gap:6px}.rst-spoken{flex-basis:100%}.rst-audio{min-height:40px}.rst-choice{gap:8px}.rst-mark{flex-basis:45px}}
/* Accessible test section layouts */
.rst-subtitle{font-size:1.02rem;margin:12px 0;font-weight:700}.rst-excerpt{padding:20px;background:#f8fafc;border-left:5px solid #7b94b5;margin:18px 0;white-space:pre-wrap}.rst-wordbank{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));align-items:stretch;gap:14px;border:2px solid #94a3b8;padding:16px;border-radius:10px;margin:12px 0 20px;max-width:100%}
.rst-bank-item{display:flex;align-items:flex-start;gap:10px;padding:13px;background:#fff;border:1px solid #cbd5e1;border-radius:9px;min-width:0;height:auto;break-inside:avoid;page-break-inside:avoid}
.rst-bank-content{min-width:0;flex:1}
.rst-bank-content .rst-textline,.rst-sort-heading .rst-textline{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin:0 0 12px;min-width:0}
.rst-bank-content .rst-spoken,.rst-sort-heading .rst-spoken{flex:auto;width:100%;overflow-wrap:break-word;word-break:normal;hyphens:none;line-height:1.4}
.rst-bank-content .rst-audio,.rst-sort-heading .rst-audio{align-self:flex-start;min-width:0;padding:5px 10px;font-size:.78rem!important;min-height:34px}
.rst-bank-marker{font-weight:700;flex:0 0 42px;background:#fff;border:1px solid #64748b;color:#334155}
.rst-bank-marked{background:#eff6ff;border:2px solid #2563eb}
.rst-bank-marked .rst-bank-marker{background:#1d4ed8;color:white}
.rst-sort-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:12px;margin:15px 0}
.rst-sort-column{display:flex;flex-direction:column;border:2px solid #94a3b8;border-radius:8px;min-width:0;overflow:hidden}
.rst-sort-heading{background:#e8eef8;padding:12px;font-weight:700;min-height:0;flex:0 0 auto}
.rst-sort-paper{min-height:315px;flex:1;background:repeating-linear-gradient(to bottom,#fff 0,#fff 43px,#cbd5e1 44px,#fff 45px)}
@media(max-width:700px){.rst-sort-columns{grid-template-columns:1fr}.rst-sort-paper{min-height:180px}}
@media print{.rst-bank-item{break-inside:avoid}.rst-sort-columns{grid-template-columns:repeat(3,minmax(0,1fr))}}
.rst-writing-area{border:1px solid #cbd5e1;border-radius:8px;background:repeating-linear-gradient(to bottom,#fff 0,#fff 37px,#94a3b8 38px,#fff 39px);margin-top:18px}.rst-writing-short{min-height:130px}.rst-writing-long{min-height:360px}.rst-hint{font-size:.85rem;color:#475569}
