.testing-quiz{max-width:900px;min-width:0;margin:auto;overflow-wrap:anywhere}
.testing-quiz .card{margin-bottom:20px}
.testing-fields{border:0;padding:0;margin:0;min-width:0}
.testing-section{padding:12px 16px;border-left:6px solid #d55b32;background:#fff1e8;border-radius:8px;font-size:1.25rem;margin:24px 0 16px}
.testing-section:nth-of-type(2){border-color:#c89417;background:#fff7d9}
.testing-section:nth-of-type(3){border-color:#36855d;background:#eaf6ed}
.testing-section:nth-of-type(4){border-color:#536ab9;background:#eef1ff}
.testing-question{min-width:0;border:1px solid #d7dce5;border-radius:12px;background:#fff;padding:16px;margin:0 0 18px}
.testing-question legend{font-weight:700;padding:0 6px;max-width:100%;white-space:normal}
.testing-question p{margin:4px 0 12px}
.testing-option{display:flex;align-items:flex-start;gap:10px;min-height:44px;padding:10px 0;cursor:pointer}
.testing-option input{flex:0 0 auto;margin-top:4px;width:18px;height:18px}
.testing-answer{display:block}.testing-answer span{display:block;margin-bottom:6px}
.testing-answer textarea{display:block;width:100%;max-width:100%;box-sizing:border-box;font-size:16px;min-height:100px;resize:vertical}
.testing-actions{display:flex;gap:12px;flex-wrap:wrap}.testing-actions button{min-height:48px}
#testing-status{padding:12px 0;font-weight:600;white-space:pre-wrap}
.testing-history details{border-top:1px solid #d7dce5;padding:12px 0}.testing-history summary{cursor:pointer;min-height:44px}
.testing-history dt{font-weight:600;margin:14px 0 4px}.testing-history dd{margin:0;white-space:pre-wrap}
.testing-history button{white-space:normal;overflow-wrap:anywhere;max-width:100%;min-height:44px}
@media(max-width:480px){.testing-question{padding:12px}.testing-actions button{width:100%}}
