.ribbon-tab.docent-ribbon{background:#eadcf5;color:#5e237a;border-color:#b58bc8}.ribbon-tab.docent-ribbon.active{background:#773a93;color:white;border-color:#773a93;box-shadow:0 -3px 0 #d4b5e5 inset}.kf-document-dialog{width:95vw;max-width:1500px;height:94vh;border:1px solid #bdaaca;border-radius:10px;padding:12px;background:#f3f0f6}.kf-document-dialog::backdrop{background:#171021b3}.kf-viewer-bar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.kf-viewer-bar strong{flex:1;overflow-wrap:anywhere}.kf-document-body{height:calc(100% - 65px);overflow:auto}.kf-document-body>iframe{width:100%;height:100%;border:0;background:white}.kf-document-body section{max-width:100%;box-sizing:border-box}.kf-slide-stage{margin:12px auto;max-width:1200px;background:white;outline:1px solid #ccc}.kf-slide-stage svg{display:block;width:100%;height:auto}.kf-document-body .small-muted{background:white;padding:8px}.content-html table{border-collapse:collapse}.content-html [style*="column-count"]{column-fill:balance}.kf-word-import{pointer-events:none}.kf-document-dialog:fullscreen{width:100vw;max-width:none;height:100vh}.kf-document-body mjx-container{max-width:100%}

.kf-document-dialog:fullscreen .kf-document-body>p{display:none}.kf-document-dialog:fullscreen .kf-slide-stage svg{max-height:calc(100vh - 150px)}.kf-presentation-controls{display:flex;align-items:center;justify-content:center;gap:12px}.kf-office-word table{table-layout:fixed}.kf-office-word p{min-height:1em}.kf-office-word{line-height:1.5}
/* Presentatie direct in de methode; fullscreen op dia zonder downloaden. */
.kf-presentation-inline{background:#fff;border:1px solid var(--line);border-radius:9px;padding:14px;margin:14px 0}
.kf-presentation-inline:fullscreen{background:#161616;padding:8px;overflow:auto}
.kf-slide-stage:fullscreen{background:#111!important;display:flex;align-items:center;justify-content:center;padding:10px}
.kf-slide-stage:fullscreen svg{width:auto;max-width:100vw;max-height:96vh;aspect-ratio:16/9;background:white}
.kf-presentation-controls{flex-wrap:wrap}
.kf-office-word{max-width:100%;box-sizing:border-box}
.kf-office-word .kf-word-table td,.kf-office-word .kf-word-table th{overflow-wrap:break-word}
.kf-office-word li{margin:.25em 0}
.kf-office-word ol[data-kf-level],.kf-office-word ul[data-kf-level]{margin-top:.2em;margin-bottom:.2em}
.kf-office-word .kf-equation{display:inline;white-space:normal;overflow:visible;border:0}

/* V6.2.10: schaal de documentinhoud met de beschikbare lesbreedte. */
.kf-office-word,.content-html .kf-office-word,.kf-document-body .kf-office-word,.kf-docent-file-content .kf-office-word{width:100%!important;max-width:none!important;min-width:0;box-sizing:border-box;margin-inline:0!important}
.kf-office-word img,.content-html .kf-office-word img{max-width:100%;height:auto}
.kf-office-word .kf-equation,.study-text-content .kf-equation{overflow:visible!important;white-space:normal;max-width:100%;border:none!important;background:transparent!important;box-shadow:none!important}
.kf-office-word .kf-equation mjx-container,.study-text-content .kf-equation mjx-container{max-width:none!important;overflow:visible!important}
.kf-slide-stage svg{width:100%;height:auto;display:block}
.kf-slide-stage foreignObject .kf-ppt-text{box-sizing:border-box;overflow:hidden;line-height:1.15;overflow-wrap:anywhere}
.kf-slide-stage:fullscreen svg{max-height:100vh}
