body{color:#1f2937;background:#fff;margin:0;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}.lesson{box-sizing:border-box;background:#fff;max-width:40rem;margin:0 auto;padding:28px 20px 48px}.lesson-title h1{margin:0;font-size:1.5rem;font-weight:600;line-height:1.3}.on-the-go-entry{flex-wrap:wrap;gap:.5rem;max-width:42rem;margin:.75rem auto 0;padding:0 1rem;display:flex}.lesson .on-the-go-entry.practice-mode-switch,.on-the-go-spike .on-the-go-entry.practice-mode-switch{max-width:none;margin:0 0 8px;padding:0}.on-the-go-entry button{font:inherit;cursor:pointer;background:#fff;border:1px dashed #a8a29e;padding:.4rem .85rem}.play-button{color:#7c3aed;width:28px;height:28px;font:inherit;cursor:pointer;background:#ede9fe;border:none;border-radius:999px;flex:none;justify-content:center;align-items:center;gap:6px;padding:0;font-size:13px;font-weight:500;display:inline-flex}.play-button svg{width:14px;height:14px;display:block}.play-button.is-playing{color:#fff;background:#7c3aed}.play-button-labeled{width:auto;padding:0 10px 0 8px}.dialogue-controls{justify-content:flex-end;gap:8px;margin-bottom:12px;display:flex}.lesson-image{border-radius:12px;max-width:100%;margin-top:16px;display:block}.dialogue-panel{background:#faf9fc;border-radius:16px;margin-top:20px;padding:16px 20px}.turns{margin:0;padding:0;list-style:none}.turn{gap:12px;display:flex}.turn-rail{flex-direction:column;flex-shrink:0;align-self:stretch;align-items:center;width:24px;display:flex}.speaker-icon{color:#7c3aed;background:#ede9fe;border-radius:999px;flex:none;justify-content:center;align-items:center;width:24px;height:24px;margin-top:6px;display:flex}.speaker-icon svg{width:14px;height:14px;display:block}.turn-connector{background:#ddd6fe;flex:1;width:1px;min-height:12px;margin:4px 0}.turn-copy{flex:1;min-width:0;padding:6px 0}.turn-line{color:#1f2937;margin:0;font-size:1rem;line-height:1.625}.speaker-name{color:#6b7280;font-weight:500}.word{border-radius:4px;outline:none;position:relative}.word[tabindex]{cursor:help}.word:hover,.word:focus,.word[data-open=true]{background:#ede9fe}.word-slot{vertical-align:baseline;justify-items:center;display:inline-grid}.word-ghost,.word-face{white-space:nowrap;grid-area:1/1}.word-ghost{visibility:hidden;pointer-events:none;-webkit-user-select:none;user-select:none;font-weight:800}.word-face{font-weight:inherit;color:inherit;transform-origin:bottom;transition:none}.word.is-current{box-shadow:none;background:0 0;border:0;border-radius:0;text-decoration:none}.word.is-current .word-face{color:#1f3a30;font-weight:800;transform:scale(1.08)}.word.is-current:hover,.word.is-current:focus,.word.is-current[data-open=true]{background:0 0}.word.is-current:hover .word-face,.word.is-current:focus .word-face,.word.is-current[data-open=true] .word-face{color:#1f3a30}@media (prefers-reduced-motion:no-preference){.word.is-current .word-face{transition:color .12s,transform .12s}}@media (prefers-reduced-motion:reduce){.word.is-current .word-face{transform:none}}.word-tip{z-index:2;color:#fff;white-space:nowrap;pointer-events:none;background:#1f2937;border-radius:6px;padding:3px 7px;font-size:12px;font-weight:500;line-height:1.4;display:none;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%)}.word:hover .word-tip,.word:focus .word-tip,.word[data-open=true] .word-tip{display:block}.card-heading{margin:20px 0 0;font-size:1.125rem;font-weight:600;line-height:1.4}.task{background:#faf9fc;border-radius:16px;margin-top:20px;padding:16px 20px}.task-description{color:#1f2937;margin:0;font-size:1rem;line-height:1.625}.task-options{flex-direction:column;gap:8px;margin-top:12px;display:flex}.task-option{box-sizing:border-box;color:#1f2937;width:100%;font:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:10px 12px;font-size:1rem;line-height:1.5}.task-option.is-selected{background:#ede9fe;border-color:#7c3aed}.task-option.is-right{color:#14532d;background:#dcfce7;border-color:#86efac}.task-option.is-eliminated{color:#9ca3af;cursor:not-allowed;opacity:.72;background:#f3f4f6;border-color:#e5e7eb}.task-check{color:#6d28d9;font:inherit;cursor:pointer;background:#fff;border:1px solid #ddd6fe;border-radius:12px;margin-top:12px;padding:8px 14px;font-size:.95rem;font-weight:500}.task-retry{color:#b91c1c;margin:12px 0 0;font-size:14px;line-height:1.6}.feedback{margin-top:28px}.card-nav{align-items:center;gap:12px;margin-top:24px;display:flex}.card-nav p{color:#6b7280;margin:0;font-size:14px}.card-nav button{color:#7c3aed;font:inherit;cursor:pointer;background:#ede9fe;border:none;border-radius:999px;padding:6px 14px;font-size:14px;font-weight:500}.card-nav button:disabled{opacity:.4;cursor:default}.feedback p{color:#6b7280;margin:0;font-size:14px;line-height:1.6}.lesson-list-page{max-width:40rem;margin:0 auto;padding:28px 20px 48px}.lesson-list-page h1{margin:0;font-size:1.5rem;font-weight:600;line-height:1.3}.lesson-list{flex-direction:column;gap:8px;margin:20px 0 0;padding:0;list-style:none;display:flex}.lesson-list button{box-sizing:border-box;color:#1f2937;width:100%;font:inherit;text-align:left;cursor:pointer;background:#faf9fc;border:1px solid #e5e7eb;border-radius:12px;justify-content:space-between;align-items:baseline;gap:12px;padding:12px 16px;display:flex}.lesson-list-title{font-size:1rem;font-weight:500;line-height:1.4}.lesson-list-level{color:#6b7280;white-space:nowrap;font-size:14px}.lesson-complete{max-width:40rem;margin:0 auto;padding:28px 20px 48px}.lesson-complete p{color:#1f2937;margin:0;font-size:1.125rem;font-weight:500}.lesson-complete-actions{flex-wrap:wrap;gap:12px;margin-top:20px;display:flex}.lesson-complete-actions button{color:#7c3aed;font:inherit;cursor:pointer;background:#ede9fe;border:none;border-radius:999px;padding:6px 14px;font-size:14px;font-weight:500}
