/* Phase 5: #learn (grammar), #reader, #speaking */
.learn-tabs { display: flex; gap: 6px; padding: 4px; background: var(--surface-muted); border-radius: var(--radius-pill); }
.learn-tab { flex: 1; min-width: 0; text-align: center; padding: 8px 6px; border-radius: var(--radius-pill); font-size: var(--text-sm); font-weight: 700; color: var(--text-secondary); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.learn-tab.is-active { background: var(--accent-primary); color: var(--text-on-accent); }
.chip-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: var(--space-2); }
.chip-btn { min-height: 36px; padding: 4px 12px; font-size: var(--text-xs); display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.grammar-timeline-box { padding: var(--space-3); background: var(--surface-muted); border-radius: var(--radius-md); color: var(--text-primary); }
.grammar-timeline-box svg { width: 100%; height: auto; max-height: 90px; display: block; }
.reader-text { line-height: 1.9; font-size: var(--text-base); }
.reader-para { padding: var(--space-3); border-radius: var(--radius-md); background: var(--surface-muted); }
.reader-fa { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--border-subtle); color: var(--text-muted); font-family: var(--font-fa); font-size: var(--text-sm); line-height: 1.8; }
.reader-fa[hidden] { display: none; }
.reader-word { font: inherit; color: var(--accent-primary); background: var(--accent-primary-soft); border: 0; border-bottom: 2px solid var(--accent-primary); border-radius: 4px; padding: 0 3px; cursor: pointer; }
.reader-word:focus-visible { outline: 2px solid var(--border-focus); }
.glass-card, .reader-para, .reader-text p { overflow-wrap: anywhere; }
