/* Dev 8.98: shared learning window; reference, feedback and audio retain higher stacking. */
.vhn-learning-modal[hidden]{display:none!important}
.vhn-learning-modal{position:fixed;inset:0;z-index:900;display:flex;align-items:center;justify-content:center;background:rgba(10,30,35,.68);padding:12px;box-sizing:border-box}
.vhn-learning-shell{width:min(960px,100%);height:min(90dvh,920px);background:#fff;border-radius:22px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 22px 80px #081b2459}
.vhn-learning-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;border-bottom:1px solid #d9e7df;flex:none;background:#fff}
.vhn-learning-scroll{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:14px}
#vhnLearningMount>.panel{display:block!important;margin:0!important;max-width:none!important;width:100%!important;box-shadow:none!important;box-sizing:border-box}
#vhnLearningMount>.panel.hidden{display:none!important}
@media(max-width:600px){.vhn-learning-modal{padding:5px;align-items:flex-end}.vhn-learning-shell{height:94dvh;border-radius:18px 18px 0 0}.vhn-learning-scroll{padding:8px}.vhn-learning-head{padding:10px 12px}}
/* Preserve established overlay order: study < answer < reference < audio. */
#vhnAnswerOverlay:not([hidden]){z-index:20000!important}
#library:not(.hidden){z-index:25000!important}
#audioDialog:not(.hidden){z-index:30000!important}
