.quiz-container{max-width:56rem;margin:0 auto;padding:1.5rem 1rem 4rem;background-color:#f8fafc;min-height:100vh}.quiz-header{margin-bottom:1rem}.quiz-header h2{margin-bottom:.75rem;color:#0f172a;font-size:1.5rem;font-weight:700;letter-spacing:-.01em}.quiz-search{position:relative;max-width:100%;margin:0}.search-input{width:100%;padding:.625rem 2.5rem .625rem .875rem;font-size:.875rem;color:#0f172a;border:1px solid #e2e8f0;background:#fff;border-radius:.5rem;transition:border-color .15s,box-shadow .15s}.search-input::-moz-placeholder{color:#94a3b8}.search-input::placeholder{color:#94a3b8}.search-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.1)}.search-clear{position:absolute;right:.5rem;top:50%;transform:translateY(-50%);background:transparent;border:none;font-size:1.25rem;line-height:1;color:#94a3b8;cursor:pointer;padding:.25rem .5rem;transition:color .15s}.search-clear:hover{color:#2563eb}.quiz-controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:1.25rem 2rem;margin-bottom:1rem;padding:1rem 1.25rem;background:#fff;border:1px solid #e2e8f0;border-radius:.75rem}.control-group{display:flex;flex-direction:column;gap:.4rem;align-items:flex-start}.control-group label{font-weight:600;color:#64748b;font-size:.6875rem;text-transform:uppercase;letter-spacing:.08em}.btn-group{display:inline-flex;border:1px solid #e2e8f0;border-radius:.5rem;overflow:hidden}.btn-group .btn{border-radius:0;border:none;border-right:1px solid #e2e8f0}.btn-group .btn:last-child{border-right:none}.btn{padding:.5rem 1rem;border:1px solid transparent;font-size:.875rem;font-weight:600;line-height:1.2;cursor:pointer;border-radius:.5rem;transition:background-color .15s,border-color .15s,color .15s;display:inline-flex;align-items:center;justify-content:center;gap:.375rem}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-primary{background:#2563eb;color:#fff;border-color:#2563eb}.btn-primary:hover:not(:disabled){background:#1d4ed8;border-color:#1d4ed8}.btn-secondary{background:#fff;color:#334155;border-color:#e2e8f0}.btn-secondary:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1;color:#2563eb}.btn-success{background:#16a34a;color:#fff;border-color:#16a34a}.btn-success:hover:not(:disabled){background:#15803d;border-color:#15803d}.btn-danger{background:#dc2626;color:#fff;border-color:#dc2626}.btn-danger:hover:not(:disabled){background:#b91c1c;border-color:#b91c1c}.btn-warning{background:#d97706;color:#fff;border-color:#d97706}.btn-lg{padding:.75rem 1.5rem;font-size:1rem}.btn-sm{padding:.375rem .75rem;font-size:.875rem}.quiz-progress{margin-bottom:1.5rem;padding:1rem 1.25rem;background:#fff;border:1px solid #e2e8f0;border-radius:.75rem}.progress-bar-container{margin-bottom:0}.progress-bar{width:100%;height:.5rem;background:#e2e8f0;overflow:hidden;border-radius:9999px}.progress-fill{height:100%;background:#2563eb;border-radius:9999px;transition:width .4s ease}.progress-navigation{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:.875rem}.progress-text{font-size:.875rem;font-weight:500;color:#475569;text-align:center;flex:1}.progress-stats{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #f1f5f9}.stat-item{display:inline-flex;align-items:baseline;gap:.375rem;padding:.25rem .625rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;font-size:.8125rem}.stat-value{font-weight:700;font-size:.875rem;color:#0f172a}.stat-label{font-size:.8125rem;color:#64748b}.stat-item.correct .stat-value{color:#16a34a}.stat-item.incorrect .stat-value{color:#dc2626}.stat-item.unanswered .stat-value{color:#d97706}.stat-item.accuracy .stat-value{color:#2563eb}.stat-item.time .stat-value{color:#475569}.quiz-question{background:#fff;padding:1.5rem;margin-bottom:1rem;border:1px solid #e2e8f0;border-radius:.75rem}.quiz-question.answered{background:#fff;border-color:#e2e8f0}.question-text-header{text-align:center;margin-bottom:1rem}.question-text-header span{font-size:1rem;font-weight:600;color:#0f172a}.question-image{display:flex;justify-content:center;align-items:center;margin-bottom:1.25rem;padding:.5rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem}.question-image img{max-width:100%!important;height:auto!important;max-height:460px;-o-object-fit:contain;object-fit:contain}.question-text{text-align:center;margin-bottom:1.5rem}.question-text h3{font-size:1.5rem;color:#0f172a;font-weight:600}.answer-section{margin-bottom:1.25rem}.answer-form{margin-bottom:0}.answer-input{width:100%;padding:.75rem 1rem;font-size:1rem;color:#0f172a;border:1px solid #cbd5e1;background:#fff;margin-bottom:1rem;border-radius:.5rem;transition:border-color .15s,box-shadow .15s}.answer-input::-moz-placeholder{color:#94a3b8}.answer-input::placeholder{color:#94a3b8}.answer-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.1)}.answer-input.disabled,.answer-input:disabled{background:#f1f5f9;border-color:#e2e8f0;color:#94a3b8;cursor:not-allowed}.answer-actions{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap}.answer-actions.oral-mode{margin-top:.5rem}.answer-display{margin:1rem 0}.answer-result{padding:.875rem 1.125rem;margin-bottom:1rem;border:1px solid #e2e8f0;border-left:3px solid #2563eb;border-radius:.5rem;font-size:.9375rem;background:#f8fafc;color:#334155}.answer-result.correct{background:#f0fdf4;border-color:#bbf7d0 #bbf7d0 #bbf7d0 #16a34a;color:#14532d}.answer-result.incorrect{background:#fef2f2;border-color:#fecaca #fecaca #fecaca #dc2626;color:#7f1d1d}.correct-answer,.user-answer{margin:.25rem 0;font-size:.9375rem}.answer-description{margin-top:1rem;padding:.875rem 1.125rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem}.answer-description h4{margin-bottom:.375rem;color:#0f172a;font-size:.875rem;font-weight:700}.answer-description p{font-size:.9375rem;line-height:1.6;color:#475569}.self-assessment{display:flex;gap:.75rem;justify-content:center;margin-top:1.25rem}.self-assessment .btn{font-size:.9375rem;padding:.625rem 1.25rem}.self-assessment p{width:100%;text-align:center;margin-bottom:.5rem;font-weight:500;color:#475569}.self-assessment.oral-assessment{margin-top:.75rem;margin-bottom:.5rem;padding:0}.self-assessment.oral-assessment .assessment-buttons{display:flex;gap:1rem;justify-content:center}.self-assessment.oral-assessment .btn-wide{min-width:8rem;padding:.625rem 1.5rem;font-size:.9375rem;font-weight:600}.show-image-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:1rem;padding:.75rem 1.5rem}.quiz-multiple-questions{display:flex;flex-direction:column;gap:1.5rem}.multiple-answers-section{order:2}.shared-image-container{order:1;background:#f8fafc;padding:.5rem;display:flex;justify-content:center;align-items:center;min-height:16rem;border:1px solid #e2e8f0;border-radius:.5rem;position:relative}.shared-image-container img{width:100%;height:auto;max-height:460px;-o-object-fit:contain;object-fit:contain}.multiple-questions-list{order:3;display:flex;flex-direction:column;gap:1rem}.multiple-questions-list .quiz-question{padding:1.25rem;margin-bottom:0;border:1px solid #e2e8f0}.mw-card{order:3;background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;padding:.75rem 1.125rem}.mw-list{display:flex;flex-direction:column}.mw-row{display:flex;flex-wrap:wrap;align-items:center;gap:.625rem;padding:.35rem 0}.mw-row+.mw-row{border-top:1px solid #f1f5f9}.mw-letter{flex:none;width:1.625rem;height:1.625rem;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e2e8f0;background:#f8fafc;border-radius:.375rem;font-size:.8125rem;font-weight:700;color:#2563eb}.mw-input{flex:1;min-width:0;padding:.5rem .75rem;font-size:.9375rem;color:#0f172a;border:1px solid #cbd5e1;background:#fff;border-radius:.5rem;transition:border-color .15s,box-shadow .15s}.mw-input::-moz-placeholder{color:#94a3b8}.mw-input::placeholder{color:#94a3b8}.mw-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.1)}.mw-prompt{flex:1;min-width:0;font-size:.9375rem;font-weight:600;color:#2563eb;line-height:1.35;overflow-wrap:anywhere}.mw-answered{flex:1;min-width:0;display:flex;align-items:baseline;gap:.5rem;flex-wrap:wrap}.mw-your{display:inline-flex;align-items:center;gap:.375rem;font-size:.9375rem;font-weight:600;overflow-wrap:anywhere}.mw-ok{color:#16a34a}.mw-no{color:#dc2626}.mw-mark{font-weight:700}.mw-facit{margin-left:auto;font-size:.875rem;color:#475569}.mw-actions{display:flex;justify-content:flex-end;margin-top:.75rem;padding-top:.75rem;border-top:1px solid #e2e8f0}.all-answers-display{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;margin-top:1rem;overflow:hidden}.answers-table{width:100%;border-collapse:collapse;font-size:.875rem}.answers-table thead{background:#f8fafc;border-bottom:1px solid #e2e8f0}.answers-table th{padding:.625rem .875rem;text-align:left;font-weight:600;color:#64748b;text-transform:uppercase;font-size:.6875rem;letter-spacing:.06em}.answers-table tbody tr{border-bottom:1px solid #f1f5f9}.answers-table tbody tr:last-child{border-bottom:none}.answers-table tbody tr:nth-child(2n){background-color:#f8fafc}.answers-table tbody tr:hover{background-color:#f1f5f9}.answers-table td{padding:.5rem .875rem;color:#334155}.question-cell{font-weight:600;width:200px;color:#475569}.answer-cell{color:#0f172a}.user-answer-cell{color:#64748b}.correct-mark{color:#16a34a;font-weight:700}.incorrect-mark{color:#dc2626;font-weight:700}.all-answers-display .assessment-buttons{margin:1.25rem}.quiz-no-questions{text-align:center;padding:3rem 1.5rem;background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;margin:2rem auto;max-width:36rem}.quiz-no-questions p{font-size:1rem;color:#475569;margin-bottom:1.25rem}.quiz-results{max-width:56rem;margin:0 auto;padding:1.5rem 1rem 4rem}.results-header{text-align:center;margin-bottom:1.5rem;padding:2rem;background:#fff;border:1px solid #e2e8f0;border-radius:.75rem}.results-header h2{font-size:1.875rem;color:#0f172a;margin-bottom:.5rem;font-weight:700}.quiz-title{font-size:1.125rem;color:#64748b}.results-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.75rem;margin-bottom:1.5rem}.stat-card{background:#fff;padding:1.25rem;border:1px solid #e2e8f0;border-radius:.75rem;text-align:center}.stat-card .stat-value{font-size:2rem;font-weight:700;color:#2563eb;margin-bottom:.25rem}.stat-card .stat-label{font-size:.75rem;color:#64748b;text-transform:uppercase;letter-spacing:.06em}.results-review{margin-bottom:1.5rem}.results-review h3{font-size:1.25rem;margin-bottom:1rem;color:#0f172a;font-weight:700}.review-list{display:flex;flex-direction:column;gap:.75rem}.review-item{display:flex;gap:1rem;padding:1rem;background:#fff;border:1px solid #e2e8f0;border-radius:.75rem}.review-image{flex-shrink:0}.review-image img{width:120px!important;height:120px!important;-o-object-fit:cover;object-fit:cover;border:1px solid #e2e8f0;border-radius:.5rem}.review-content{flex:1;min-width:0}.review-question{font-size:1rem;font-weight:700;margin-bottom:.625rem;color:#0f172a}.review-answer{margin:.375rem 0;font-size:.9375rem;padding:.375rem .75rem;border-left:3px solid;border-radius:.25rem}.review-answer.incorrect{color:#7f1d1d;background:#fef2f2;border-color:#dc2626}.review-answer.correct{color:#14532d;background:#f0fdf4;border-color:#16a34a}.review-description{margin-top:.625rem;padding:.75rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;font-size:.875rem;color:#475569;line-height:1.6}.results-actions{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap;margin-top:1.5rem;padding:1.5rem;background:#fff;border:1px solid #e2e8f0;border-radius:.75rem}@media (max-width:768px){.quiz-container{padding:1rem .75rem 3rem}.quiz-header h2{font-size:1.25rem}.quiz-controls{flex-direction:column;align-items:stretch;gap:1rem;padding:1rem}.btn-group,.control-group{width:100%}.btn-group .btn{flex:1}.quiz-question{padding:1.25rem 1rem}.question-image img,.shared-image-container img{max-height:320px}.question-text h3{font-size:1.25rem}.review-item{flex-direction:column}.review-image img{width:100%!important;height:auto!important;max-height:220px}.question-cell{width:auto}.mw-card{padding:.5rem .75rem}.mw-row{gap:.5rem;padding:.3rem 0}.mw-letter{width:1.375rem;height:1.375rem;font-size:.75rem}.mw-input{padding:.4rem .6rem}.mw-input,.mw-your{font-size:.875rem}.mw-facit{font-size:.8125rem}.mw-row--wide .mw-answered,.mw-row--wide .mw-input,.mw-row--wide .mw-prompt{flex:1 1 100%}}