.wordbook-word-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:5px 8px; }
.wordbook-item > div:first-child { min-width:0; flex:1; }
.wordbook-item .wordbook-phonetic { overflow-wrap:anywhere; }
.wordbook-word-heading .wordbook-word { min-width:0; overflow-wrap:anywhere; }
.wordbook-assessment { display:inline-flex; align-items:center; gap:5px; flex-shrink:0; }
button.wordbook-assess { display:inline-flex; align-items:center; justify-content:center; width:34px; min-width:34px; min-height:34px; padding:3px; border:1px solid #a9bce1; border-radius:7px; background:#edf3ff; color:#173d83; font-size:18px; line-height:1; cursor:pointer; }
button.wordbook-assess:hover { background:#dae7ff; border-color:#3561b8; }
button.wordbook-assess[data-phase=recording] { color:#fff; background:#a33116; border-color:#a33116; }
button.wordbook-assess[data-phase=assessing],button.wordbook-assess[data-phase=loading] { color:#8e3415; background:#fff2db; border-color:#b78037; }
.wordbook-assess-value { color:#173d83; font-size:15px; font-weight:700; min-width:30px; text-align:right; font-variant-numeric:tabular-nums; }
.wordbook-score-bar { margin-top:10px; padding-top:9px; border-top:1px solid #dbe3ed; flex-shrink:0; }
.wordbook-score-status { color:#284d76; font-size:12px; line-height:1.7; margin:0 0 5px; overflow-wrap:anywhere; }
.wordbook-score-status.error { color:#a33116; }
.wordbook-score-bar button { margin:3px 5px 0 0; padding:6px 9px; border:1px solid #a9bce1; border-radius:6px; background:#f0f5ff; color:#173d83; font-size:12px; cursor:pointer; }
.wordbook-assessment button:focus-visible,.wordbook-score-bar button:focus-visible { outline:3px solid #b45309; outline-offset:2px; }
@media(pointer:coarse){button.wordbook-assess{min-height:44px;width:40px}.wordbook-score-bar button{min-height:44px}}
