body[data-interface=client] #lesson-index-dialog{position:fixed;inset:0;margin:0;width:100%;height:100%;height:100dvh;max-width:100vw;max-height:100dvh;padding:0;border:0;border-radius:0;background:#f6f8f5;color:#173e42;overflow:hidden}
body[data-interface=client] #lesson-index-dialog[open]{display:flex;flex-direction:column}
body[data-interface=client] .reader-top #lesson-index{min-height:48px;white-space:nowrap}
.index-header{display:flex;align-items:center;justify-content:space-between;gap:16px;background:white;border-bottom:1px solid #dce5e0;padding:20px max(20px,env(safe-area-inset-right))}
.index-header h1{font-size:clamp(21px,3vw,32px);margin:0}
#lesson-index-search{margin:16px auto;width:min(880px,calc(100% - 32px));min-height:48px;border:1px solid #a9c7bc;border-radius:12px;padding:10px 16px;font:inherit;background:white;color:#173e42}
.index-list{overflow:auto;flex:1;width:100%;padding:4px 16px max(24px,env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch}
.index-unit{max-width:880px;margin:0 auto 12px;background:white;border:1px solid #dce5e0;border-radius:14px;overflow:hidden}
.index-unit summary{cursor:pointer;font-weight:700;font-size:20px;padding:16px;min-height:52px}
.index-lesson{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:52px;padding:10px 18px;text-align:right;border:0;border-top:1px solid #e5ece8;background:white;color:#173e42;font:inherit;cursor:pointer}
.index-lesson.current{background:#e7f2ec;border-right:5px solid #19766b;font-weight:700}
.index-lesson:hover,.index-lesson:focus-visible{background:#edf5ef}
.index-page{white-space:nowrap;color:#536d6e}
.index-empty{text-align:center}
@media(max-width:680px){body[data-interface=client] .reader-top #lesson-index{flex:1}.index-header{padding:12px 16px}.index-header .button{min-height:48px}.index-unit summary{font-size:18px}.index-lesson{font-size:16px}}
