.level-tabs{display:flex;gap:.5rem;margin-top:.5rem}.level-tab{flex:1;display:flex;flex-direction:column;align-items:center;padding:.75rem 1rem;border:2px solid #ddd;border-radius:8px;cursor:pointer;transition:all .2s;text-align:center}.level-tab:has(input:checked){border-color:#007bff;background-color:#e7f3ff}.level-tab:has(input:focus-visible){outline:3px solid #007bff;outline-offset:2px}.level-tab:hover{border-color:#007bff;background-color:#f8f9fa}.level-tab input:checked+span{font-weight:600}.level-tab input:checked~*{color:#007bff}.level-tab input:checked{border-color:#007bff;background-color:#e7f3ff}.level-tab span:first-of-type{font-size:1.1rem;font-weight:500}.level-hint{font-size:.85rem;color:#666;margin-top:.25rem}.examples-section{margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e0e0e0}.examples-section h3{font-size:1rem;margin-bottom:.75rem;color:#333}.example-buttons{display:flex;flex-wrap:wrap;gap:.5rem}.example-btn{white-space:nowrap}.whiteboard-player{display:flex;flex-direction:column;gap:1rem}.whiteboard-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.whiteboard-header h2{margin:0;font-size:1.5rem;font-family:Caveat,cursive;color:#333;flex:1}.whiteboard-canvas-container{position:relative;background:#f9f9f9;border:3px solid #333;border-radius:12px;overflow:hidden;box-shadow:0 4px 12px #0000001a}#whiteboard-canvas{display:block;width:auto;height:auto;max-width:100%;max-height:78vh;margin:0 auto;background:#fefefe}.narration-text{padding:1.5rem;background:#fffffff2;border-top:2px solid #ddd;font-family:Caveat,cursive;font-size:1.3rem;line-height:1.6;color:#333;min-height:4rem;display:flex;align-items:center}.narration-text.speaking{background:#e6f7fff2;border-top-color:#007bff}.whiteboard-controls{display:flex;flex-direction:column;gap:.75rem}.controls-row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;justify-content:center}.step-indicator{font-weight:600;color:#333;min-width:100px;text-align:center}.voice-control,.speed-control{display:flex;align-items:center;gap:.5rem;font-size:.9rem}.voice-select{padding:.25rem .5rem;border:1px solid #ddd;border-radius:4px;font-size:.9rem;max-width:200px}#speed-slider{width:80px}#speed-label{min-width:30px;font-weight:600}.quiz-section{margin-top:2rem;padding:1.5rem;background:#f8f9fa;border-radius:8px;border:2px solid #ddd}.quiz-section h3{margin-top:0;font-size:1.3rem;color:#333}.quiz-item{margin-bottom:2rem}.quiz-item:last-child{margin-bottom:0}.quiz-question{font-weight:600;font-size:1.1rem;margin-bottom:1rem;color:#333}.quiz-choices{display:flex;flex-direction:column;gap:.5rem}.quiz-choice{width:100%;padding:.75rem 1rem;border:2px solid #ddd;border-radius:8px;background:#fff;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:.5rem;text-align:left;font-size:1rem;font-family:inherit}.quiz-choice:hover:not(.correct):not(.incorrect):not(.disabled){border-color:#007bff;background-color:#f0f7ff}.quiz-choice.correct{border-color:#28a745;background-color:#d4edda;color:#155724;font-weight:600}.quiz-choice.incorrect{border-color:#dc3545;background-color:#f8d7da;color:#721c24}.quiz-choice.disabled{cursor:not-allowed;opacity:.6}.quiz-explanation{margin-top:1rem;padding:1rem;background:#e7f3ff;border-left:4px solid #007bff;border-radius:4px;font-size:.95rem;line-height:1.5}.quiz-explanation.is-correct strong{color:#1e7e34}.quiz-explanation.is-wrong{border-left-color:#dc3545;background:#fdecee}.quiz-explanation.is-wrong strong{color:#b02a37}.quiz-question:focus{outline:none}.quiz-feedback{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}@media (max-width: 768px){.level-tabs{flex-direction:column}.whiteboard-header{flex-direction:column;align-items:flex-start}.controls-row{flex-direction:column;width:100%}.voice-control,.speed-control{width:100%;justify-content:space-between}.voice-select{max-width:none;flex:1}.example-buttons{flex-direction:column}.example-btn{width:100%}}.export-controls{margin-top:2rem;padding:1.5rem;background:#f8f9fa;border-radius:8px;border:2px solid #ddd}.export-controls h3{margin-top:0;font-size:1.3rem;color:#333}.export-options{display:flex;flex-direction:column;gap:1rem;margin-bottom:1rem}.export-select{padding:.5rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;width:100%;max-width:400px}.export-progress{margin-top:1rem}.progress-track{width:100%;height:24px;background:#e0e0e0;border-radius:12px;overflow:hidden;margin-bottom:.5rem}.progress-bar{height:100%;background:linear-gradient(90deg,#007bff,#0056b3);transition:width .3s ease;border-radius:12px;width:0}.honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.export-notice{margin-top:1rem}@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/caveat-latin-700-normal-D8_1Nw6V.woff2) format("woff2"),url(/assets/caveat-latin-700-normal-cPyBTTZN.woff) format("woff")}
