/* v6.2.3: legible level badges & IPA mode visible when selected */
.peak-main .dictation-lesson-row b,
.peak-main .numbers-lesson-head b,
.peak-main .dictation-level-badge,
.peak-main .numbers-level{
 background:#dcedff!important;color:#103f85!important;
 border:1px solid #82b5ec!important;
 font-size:12px!important;font-weight:850!important;
 letter-spacing:.015em!important;line-height:1.25!important;
 opacity:1!important;text-shadow:none!important;
}
.peak-main .dictation-lesson.is-selected .dictation-lesson-row b,
.peak-main .numbers-lesson.is-selected .numbers-lesson-head b{
 background:#ffffff!important;color:#0646a1!important;
 border-color:#89b7fa!important;
}
#phoneme-mode-learn:disabled{opacity:1!important;cursor:pointer!important}
#page-listening.learning-phoneme-mode #phoneme-study:not(.hidden){display:block!important}
#page-listening.learning-phoneme-mode .peak-ipa-rail{position:static!important}
.phoneme-mode-toggle button:focus-visible{outline:3px solid #126af4!important;outline-offset:3px}
.phoneme-learn-list .phoneme-sound-item small{color:#365579!important}

/* Keep IPA symbols on one line at every viewport width */
.phoneme-primary>strong{white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;flex:0 0 auto!important;min-width:max-content!important;font-size:clamp(25px,2.8vw,36px)!important;line-height:1.25!important}
.phoneme-primary{flex-wrap:wrap!important}
/* Ensure sidebar selected menu remains legible over the bright blue fill */
.peak-sidebar .category-tab.is-active,
.peak-sidebar .category-tab.is-active .tab-name,
.peak-sidebar .category-tab.is-active svg,
.peak-overview-button.is-active,
.peak-overview-button.is-active span,
.peak-overview-button.is-active svg{color:#ffffff!important;opacity:1!important}
.peak-sidebar .category-tab:not(.is-active),
.peak-sidebar .category-tab:not(.is-active) .tab-name,
.peak-sidebar .category-tab:not(.is-active) svg{color:#203353!important;opacity:1!important}
