/* FIX183: shared editor viewport and reader paragraph normalization. */
.rte.rte-fullscreen{
 position:fixed!important;inset:6px!important;width:auto!important;max-width:none!important;
 height:calc(100dvh - 12px)!important;max-height:calc(100dvh - 12px)!important;
 z-index:100200!important;display:flex!important;flex-direction:column!important;
 overflow:hidden!important;box-sizing:border-box!important;background:#fff!important;
}
.rte.rte-fullscreen .nga-ribbon{flex:0 0 auto!important;max-height:min(38dvh,260px)!important;overflow:auto!important}
.rte.rte-fullscreen .nga-ribbon-header{position:sticky;top:0;z-index:5;background:#f5f8fc}
.rte.rte-fullscreen .rte-authoring-status,.rte.rte-fullscreen .rte-command-actions,.rte.rte-fullscreen .rte-command-help{flex:0 0 auto!important}
.rte.rte-fullscreen .rte-editor,.rte.rte-fullscreen .rte-source{
 flex:1 1 0!important;min-height:0!important;max-height:none!important;height:0!important;
 overflow-y:auto!important;overflow-x:auto!important;overscroll-behavior:contain;
}
.rte .nga183-maximize{white-space:nowrap!important}
@media(max-width:700px){
 .rte.rte-fullscreen{inset:2px!important;height:calc(100dvh - 4px)!important;max-height:calc(100dvh - 4px)!important}
 .rte.rte-fullscreen .nga-ribbon{max-height:min(42dvh,260px)!important}
 body.lesson-page .lesson-layout .reader-content p:not(table p):not(.nga-command-box p),
 body.lesson-page .lesson-layout .reader-content > :is(h1,h2,h3,h4,h5,h6) > p{
   font-size:16px!important;line-height:1.6!important;font-weight:400!important;
 }
 body.lesson-page .lesson-layout .reader-content > :is(h1,h2,h3,h4,h5,h6) > p *{
   font-size:inherit!important;line-height:inherit!important;
 }
}
