/* 26.11.2026 (этап 23, «Тесты», Э20–Э25): спокойный экран теста — без сцены, героев и желудей; итог, разбор ошибок, грамота; списки тестов */
.tst{max-width:720px;margin:0 auto;padding:60px 16px 32px}   /* сверху место под общую кнопку звука (она в левом верхнем углу, когда шапки нет) */
.tst h1{font-size:26px;margin:6px 0 10px;line-height:1.2}
.tst-kicker{font-size:14px;font-weight:800;color:var(--muted,#646d8a);text-transform:uppercase;letter-spacing:.04em}
.tst-intro{padding:20px}
.tst-rules{margin:8px 0 16px;padding-left:22px}.tst-rules li{margin:6px 0}
.tst-btns{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:14px}
.tst-btns .btn{flex:0 1 auto}
/* ход теста */
.tst-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.tst-x{flex:none;width:44px;height:44px;border-radius:50%;border:2px solid #e0d3bb;background:#fff;font:inherit;font-size:20px;font-weight:900;color:var(--muted,#646d8a);cursor:pointer}
.tst-ttl{font-weight:900;font-size:18px;min-width:0;overflow-wrap:anywhere}
.tst-prog{margin:4px 0 10px}.tst-prog b{font-size:17px}
.tst-bar{height:8px;border-radius:6px;background:#efe6d4;margin-top:6px;overflow:hidden}.tst-bar i{display:block;height:100%;background:#8fb8a3;border-radius:6px}
.tst-card{padding:16px;background:#fff}
.tst-task{display:flex;align-items:flex-start;gap:10px;justify-content:space-between;font-weight:700;color:var(--muted,#646d8a);font-size:16px;margin-bottom:10px}
.tst-task span{min-width:0}.tst-task .say-btn{flex:none}
.tst-q{font-size:20px;text-align:center;overflow-wrap:anywhere}
.tst-q .qhint{font-size:16px;color:var(--muted,#646d8a);font-weight:700;margin-bottom:6px}
.tst-q svg{max-width:100%;height:auto}
.tst-q .vq-clock{width:180px;max-width:60vw}
.tst-in{margin-top:12px}
.tst-opts{display:grid;grid-template-columns:1fr;gap:10px}
.tst-opts.letters,.tst-opts.row,.tst-opts.pics{grid-template-columns:repeat(auto-fit,minmax(90px,1fr))}
@media (min-width:560px){.tst-opts{grid-template-columns:1fr 1fr}}
.tst-opt{font:inherit;font-size:19px;font-weight:800;color:var(--ink,#27304a);background:#f8f4ec;border:3px solid #e6dcc8;border-radius:16px;min-height:56px;padding:10px 12px;cursor:pointer;overflow-wrap:anywhere}
.tst-opt svg{width:80px;height:80px;max-width:100%}
.tst-opt.on{border-color:#2f6fd0;background:#e8f0ff}
.tst-opts.letters .tst-opt{font-size:26px}
.tst-disp{min-height:56px;border:3px solid #e6dcc8;border-radius:14px;background:#fff;font-size:30px;font-weight:900;display:flex;align-items:center;justify-content:center;max-width:360px;margin:0 auto;overflow-wrap:anywhere;padding:4px 10px}
.tst-disp.word{font-size:26px}
.tst-pad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-width:360px;margin:10px auto 0}
.tst-pad button,.tst-kb button{font:inherit;font-weight:900;font-size:24px;min-height:54px;border-radius:14px;border:0;background:#f6efe2;box-shadow:0 3px 0 #e0d3bb;cursor:pointer;color:var(--ink,#27304a)}
.tst-kb{margin-top:10px}.tst-kb>div{display:flex;gap:4px;justify-content:center;margin:4px 0}
.tst-kb button{font-size:19px;min-height:46px;flex:1;max-width:44px;padding:0}
.tst-kb>div:last-child button{max-width:120px}.tst-kb button.wide{max-width:200px;flex:3}
.tst-ta{width:100%;font:inherit;font-size:20px;border:3px solid #e6dcc8;border-radius:14px;padding:10px 12px;resize:vertical}
.tst-built{min-height:58px;border:3px dashed #e0d3bb;border-radius:14px;padding:6px;display:flex;flex-wrap:wrap;gap:6px;justify-content:center;align-items:center}
.tst-tiles{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:10px}
.tst-tile{font:inherit;font-weight:900;font-size:20px;min-height:48px;min-width:48px;padding:6px 12px;border-radius:12px;border:0;background:#f6efe2;box-shadow:0 3px 0 #e0d3bb;cursor:pointer;color:var(--ink,#27304a)}
.tst-tile.on{background:#e8f0ff;box-shadow:0 3px 0 #b9cdf0}.tst-tile[disabled]{opacity:.3;cursor:default}
.tst-sent{font-size:21px;line-height:2.1;text-align:center}
.tst-w{font:inherit;font-weight:800;border:2px solid #e6dcc8;background:#fff;border-radius:10px;padding:2px 8px;cursor:pointer;color:var(--ink,#27304a)}
.tst-w.on{border-color:#2f6fd0;background:#e8f0ff}
.tst-ord{display:grid;gap:8px}
.tst-card-o{display:flex;align-items:center;gap:10px;font:inherit;font-weight:800;font-size:18px;text-align:left;border:3px solid #e6dcc8;background:#f8f4ec;border-radius:14px;padding:10px 12px;min-height:52px;cursor:pointer;color:var(--ink,#27304a)}
.tst-card-o .tst-n{flex:none;width:30px;height:30px;border-radius:50%;border:2px solid #cfc3aa;display:flex;align-items:center;justify-content:center;font-weight:900}
.tst-card-o.on{border-color:#2f6fd0;background:#e8f0ff}.tst-card-o.on .tst-n{background:#2f6fd0;border-color:#2f6fd0;color:#fff}
.tst-ok{display:flex;width:100%;max-width:420px;margin:16px auto 0}
.tst-ok[disabled]{opacity:.45;cursor:default;box-shadow:none}
/* итог */
.tst-score{text-align:center;padding:20px 16px}
.tst-mark{display:inline-flex;align-items:center;justify-content:center;width:96px;height:96px;border-radius:50%;font-size:58px;font-weight:900;color:#fff;background:#1f8f5f}
.tst-mark.m4{background:#2f6fd0}.tst-mark.m3{background:#d9a21d}
.tst-stars{font-size:58px;line-height:1;letter-spacing:6px;color:#e3dccd}.tst-stars .on{color:#f2b01e}
.tst-word{font-size:26px;font-weight:900;margin-top:6px}.tst-word small{display:block;font-size:14px;font-weight:700;color:var(--muted,#646d8a)}
.tst-word.again{font-size:24px;color:#8a5a00}
.tst-cnt{font-size:19px;margin:10px 0 4px}
.tst-say-l{display:flex;gap:8px;align-items:center;justify-content:center;font-weight:700;margin:8px 0}.tst-say-l .say-btn{flex:none}
.tst-pay{font-weight:900;color:#6b4a00;margin:6px 0}
.tst-know{font-weight:800;color:#1f8a4c;margin:6px 0}
.tst-gram{text-align:center}.tst-gimg{min-height:120px;display:flex;align-items:center;justify-content:center}
.tst-gimg img{width:100%;max-width:420px;border-radius:12px;box-shadow:0 4px 14px rgba(0,0,0,.12)}
.tst-gram .tst-btns{justify-content:center}
.tst-review h2{margin-top:0}
.tst-rv{border-top:1px solid #efe6d4;padding:10px 0}.tst-rv:first-of-type{border-top:0}
.tst-rv-q{font-weight:700;overflow-wrap:anywhere}
.tst-rv-pic svg{max-width:160px;height:auto;margin-top:6px}
.tst-rv-a{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:6px}
.tst-rv-a .bad{color:#a8321f}.tst-rv-a .ok{color:#1f7a45}
.tst-rv-a b{overflow-wrap:anywhere}
.tst-pic svg{width:56px;height:56px;vertical-align:middle}
.tst-rv-n{margin-top:4px}
/* списки тестов */
.tst-list{max-width:720px;margin:0 auto}
.tst-subjs{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}
.tst-sl{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-decoration:none;color:inherit}
.tst-sl small{color:var(--muted,#646d8a);font-weight:700}
.tst-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;margin:8px 0}
.tst-rn{flex:1 1 200px;min-width:0}.tst-rn b{display:block;overflow-wrap:anywhere}.tst-rn small{color:var(--muted,#646d8a);font-weight:700;font-size:14px}
.tst-wait{font-size:14px;font-weight:800;color:var(--muted,#646d8a)}
.page.learn .card.tst-learn{margin-top:14px;background:#fff;color:var(--ink,#27304a)}.tst-learn h2{margin:0}
.tst-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.tst-chip{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:14px;background:#fff;border:2px solid #d6e6da;font-weight:800;text-decoration:none;color:var(--ink,#27304a)}
.tst-chip small{background:#1f8f5f;color:#fff;border-radius:10px;padding:0 7px;font-size:13px}
.tst-chip.off{opacity:.7}
.tst-inv{display:block;text-decoration:none;color:inherit;background:#e9f6ee}
.tst-pblock .tst-pw summary{cursor:pointer;color:#2f6fd0;font-weight:700;font-size:15px}
.prow.st-ready .pi{filter:none}
/* 26.11.2026 (этап 23): тест за четверть — карточка сверху на странице предмета, ошибки по темам */
.tst-qcard{background:#fff8e6;border:2px solid #f0d58a;padding:14px 16px;margin:8px 0 12px}.tst-qcard h2{margin:0 0 6px}.tst-qcard p{margin:6px 0}
.tst-qmark{color:#8a5a00 !important}
.tst-qt{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-top:1px solid #efe6d4}.tst-qt:first-of-type{border-top:0}.tst-qt span{min-width:0;overflow-wrap:anywhere}.tst-qt b{flex:none;color:#a8321f}
.tst-qtops h2{margin-top:0}
.tst-rv-t{display:block;font-size:13px;color:var(--muted,#646d8a);font-weight:700}
.tst-pqt{font-size:14px;margin-top:4px}
/* 26.11.2026 (этап 24, методист круг 3 п.1): во время теста всплывашки других систем не видны (копятся до выхода из теста — tests.js) */
body.in-test .toast{display:none !important}
/* 26.11.2026 (этап 24): «Нет звука? Показать слово» в диктанте; итог без награды; тест по чтению — текст над вопросом */
.tst-nosnd{margin-top:8px;font-size:15px;color:var(--muted,#646d8a);text-align:center}.tst-nosnd summary{cursor:pointer}.tst-nosnd .qword{margin-top:4px;font-size:22px;font-weight:900;color:var(--ink,#27304a)}
.tst-norew{font-weight:800;color:#8a5a14;background:#fff4dc;border-radius:12px;padding:8px 12px;margin:8px auto;max-width:480px}
.tst-text{text-align:left;background:#fbf7ee;border:2px solid #efe4cf;border-radius:14px;padding:10px 12px;margin:0 0 12px;max-height:46vh;overflow:auto;font-size:17px;line-height:1.55}
.tst-text-h{font-weight:900;margin-bottom:4px}.tst-text-h small{font-weight:700;color:var(--muted,#646d8a);margin-left:6px}
.tst-rq{font-weight:800}
