/* FIX191 — loaded after word-ribbon.css, additive, no controls removed. */
body > .rte.nga184-viewport.rte-fullscreen .nga-ribbon{flex:0 0 auto!important;min-height:0!important;max-height:min(38dvh,250px)!important;overflow-y:auto!important;overflow-x:hidden!important}
body > .rte.nga184-viewport.rte-fullscreen .nga-ribbon .rte-toolbar{align-items:flex-start!important;align-content:flex-start!important;justify-content:flex-start!important;gap:5px!important;padding:5px 8px!important;min-height:0!important}
body > .rte.nga184-viewport.rte-fullscreen .nga-ribbon-group{align-self:flex-start!important;flex-grow:0!important;min-height:0!important;padding-block:0!important;gap:4px!important}
body > .rte.nga184-viewport.rte-fullscreen .nga-ribbon-tools{align-content:flex-start!important;gap:4px!important}
body > .rte.nga184-viewport.rte-fullscreen .nga-ribbon-panel{min-height:0!important}
@media(max-width:767px){
 body.lesson-page .reader-content{font-size:16px!important;line-height:1.65!important;overflow-wrap:break-word;word-break:normal}
 body.lesson-page .reader-content :is(h1,h2,h3,h4){line-height:1.32;margin-block:1.1em .55em}
 body.lesson-page .reader-content :is(ul,ol){padding-inline-start:1.5em;margin-block:.6em 1em}
 body.lesson-page .reader-content li+li{margin-top:.35em}
 body.lesson-page .reader-content :is(pre,.nga-command-box){display:block;max-width:100%!important;overflow-x:auto!important;white-space:pre!important;overflow-wrap:normal!important;word-break:normal!important;tab-size:4;-webkit-overflow-scrolling:touch;font-family:Consolas,'Liberation Mono',monospace;font-size:13px;line-height:1.6}
 body.lesson-page .reader-content pre *{white-space:inherit!important;overflow-wrap:normal!important;word-break:normal!important}
 body.lesson-page .reader-content .nga190-table-scroll{display:block;width:100%;max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
 body.lesson-page .reader-content .nga190-table-scroll>table{display:table!important;width:max-content!important;min-width:100%;max-width:none!important;table-layout:auto!important}
 body.lesson-page .reader-content :is(td,th){overflow-wrap:normal!important;word-break:normal!important;vertical-align:top}
 body.lesson-page .reader-content :is(td,th) code{white-space:nowrap!important}
 body > .rte.nga184-viewport.rte-fullscreen .nga-ribbon{max-height:min(45dvh,290px)!important}
 body > .rte.nga184-viewport.rte-fullscreen .nga-ribbon-tabs{flex-wrap:nowrap!important;overflow-x:auto!important}
}
.nga191-copy-wrap{position:relative;min-width:0;max-width:100%}
.nga191-copy-wrap>pre{margin-top:0!important}
.nga191-copy{display:block;margin:0 0 5px auto;padding:5px 11px;border:1px solid #b8c8d8;border-radius:6px;background:#f4f8fc;color:#123452;font:600 12px/1.4 system-ui,sans-serif;cursor:pointer}
.nga191-copy:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
