
.vhn-listening-home{border:1px solid #c9ded6;border-radius:20px;background:#f5faf8;padding:22px;margin:22px 0}.vhn-listening-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.vhn-listening-heading h2{margin:0;color:#173c40}.vhn-listening-heading p,.vhn-listening-home>p{color:#536d69;margin:6px 0}.vhn-listening-heading button,.vhn-listening-controls button,.vhn-listening-article button{background:#19745f;color:white;border:0;border-radius:10px;padding:12px 16px;cursor:pointer}.vhn-listening-overlay[hidden]{display:none!important}.vhn-listening-overlay{position:fixed;inset:0;background:rgba(10,28,35,.72);z-index:12000;display:flex;align-items:center;justify-content:center;padding:12px}.vhn-listening-shell{background:white;border-radius:20px;width:min(760px,100%);max-height:94dvh;display:flex;flex-direction:column;overflow:hidden}.vhn-listening-head{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;border-bottom:1px solid #dce8e4}.vhn-listening-head h2{margin:0;font-size:1.25rem}.vhn-listening-head button{border:0;background:#e7f2ed;border-radius:10px;padding:10px 14px}.vhn-listening-body{padding:18px 22px;overflow:auto}.vhn-listening-note,.vhn-listening-controls{font-size:.9rem;color:#58716d}.vhn-listening-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0}.vhn-listening-list{display:grid;gap:10px}.vhn-listening-item{width:100%;text-align:left;border:1px solid #d3e2dd;border-radius:12px;background:white;padding:15px;cursor:pointer}.vhn-listening-item strong{display:block;color:#173c40}.vhn-listening-item small{color:#607974}.vhn-listening-article{border-top:1px solid #d4e4de;margin-top:16px;padding-top:14px}.vhn-listening-article h3{margin:0 0 10px}.vhn-listening-article p{line-height:1.7}.vhn-listening-article .vhn-listening-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.vhn-listening-article a{display:inline-block;margin-top:8px;color:#116b58}.vhn-listening-article button:disabled{opacity:.5}@media(max-width:620px){.vhn-listening-heading{align-items:flex-start;flex-direction:column}.vhn-listening-home{padding:15px}.vhn-listening-shell{max-height:95dvh}.vhn-listening-body{padding:14px}}

/* Dev 9.24 dedicated listening lesson */
.vhn-listening-shell{width:min(900px,calc(100vw - 24px));max-height:94dvh}.vhn-listening-body{overflow-y:auto;overscroll-behavior:contain}.vhn-listening-article{border-top:0;margin-top:0;padding-top:0}.vhn-listen-back{border:1px solid #cddfd9;background:#fff;color:#205b50;padding:10px 15px;border-radius:10px;margin-bottom:16px;cursor:pointer}.vhn-listen-story,.vhn-listen-player,.vhn-listen-transcript,.vhn-listen-translation{padding:18px;border:1px solid #d4e4de;border-radius:15px;margin:12px 0;background:white}.vhn-listen-story{background:#f0f6f3}.vhn-listen-story small{color:#607974}.vhn-listen-story h3{font-size:1.25rem;margin:8px 0}.vhn-listen-story p,.vhn-listen-hint,.vhn-listen-caveat{color:#607974;font-size:.9rem}.vhn-listen-player h4,.vhn-listen-transcript h4,.vhn-listen-translation h4{margin:0 0 10px}.vhn-listen-player-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:18px 0}.vhn-listen-primary,.vhn-listen-secondary{border:1px solid #c6d9d2;border-radius:12px;padding:12px 16px;cursor:pointer;font-weight:700}.vhn-listen-primary{background:#247c65;color:#fff;min-width:120px}.vhn-listen-secondary{background:#e8f1ec;color:#205b50}.vhn-listen-options{display:flex;gap:16px;flex-wrap:wrap;justify-content:center}.vhn-listen-options label{display:flex;align-items:center;gap:8px}.vhn-listen-options select{padding:8px;border:1px solid #c6d9d2;border-radius:8px}.vhn-listen-engine{color:#166b55;font-weight:700;text-align:center}.vhn-listen-transcript-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.vhn-listen-text{line-height:1.7}.vhn-listen-source{display:inline-block;margin:12px 0;color:#116b58}@media(max-width:620px){.vhn-listen-story,.vhn-listen-player,.vhn-listen-transcript,.vhn-listen-translation{padding:14px}.vhn-listen-player-actions{gap:6px}.vhn-listen-primary,.vhn-listen-secondary{padding:10px 12px}}

/* Dev 9.25 */
.vhn-listen-paragraph{border:1px solid #d8e5df;border-radius:12px;padding:12px 14px;margin:12px 0;background:#f9fcfa}.vhn-listen-paragraph p{white-space:pre-wrap;line-height:1.85}.vhn-listen-paragraph-actions{display:flex;gap:8px;flex-wrap:wrap}.vhn-listen-ja{border-left:3px solid #3c9079;padding:8px 12px;background:#eef7f2;color:#294c44}.vhn-listen-paragraph-actions button{font-size:.85rem}
/* Dev 9.29: compact paragraph controls */
.vhn-listen-paragraph-compact{padding:14px 16px;margin:9px 0}
.vhn-listen-paragraph-row{display:flex;align-items:flex-start;gap:12px}
.vhn-listen-paragraph-copy{flex:1;min-width:0;margin:0;line-height:1.8}
.vhn-listen-paragraph-icons{display:flex;gap:4px;flex-shrink:0}
.vhn-listen-paragraph-icons .vhn-listen-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;min-width:42px;border:1px solid #d8e5df;border-radius:10px;background:#fff;color:#176b58;font-size:18px;cursor:pointer;padding:0}
.vhn-listen-paragraph-icons .vhn-listen-icon:hover,.vhn-listen-paragraph-icons .vhn-listen-icon[aria-pressed=true]{background:#e5f2eb}
.vhn-listen-paragraph-icons .vhn-listen-icon:focus-visible{outline:3px solid #eab34c;outline-offset:2px}
.vhn-listen-paragraph-icons .vhn-listen-icon:disabled{opacity:.6;cursor:wait}
.vhn-listen-paragraph-compact .vhn-listen-ja{margin-top:10px}
.vhn-listen-translation-status{font-size:.8rem;color:#8b5420;margin:4px 0 0}
.vhn-listen-translation-status:empty{display:none}
@media(max-width:520px){.vhn-listen-paragraph-row{gap:7px}.vhn-listen-paragraph-icons{flex-direction:column}.vhn-listen-paragraph-compact{padding:12px}}

/* Dev 9.32 player controls */
.vhn-player-transport{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.vhn-listen-player input[type=range]{width:100%;margin:10px 0 0}.vhn-player-transport button{min-height:36px}
