/* Presentation controls stay in the parent; PowerPoint content stays isolated. */
.portal-pptx-viewer{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:0;width:100%}
.pptx-viewer-ui{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:0;background:#fff;color:#17382e}
.pptx-viewer-ui [hidden]{display:none!important}
.pptx-viewer-picker{display:flex;align-items:end;flex-wrap:wrap;gap:9px;padding:12px;border-bottom:1px solid #d7e2db;background:#fbfdfb}
.pptx-document-label{display:flex;flex:1 1 210px;flex-direction:column;min-width:0;margin:0;gap:5px;font-size:.7rem;color:#53685f}
.pptx-viewer-ui select{min-height:44px;width:100%;max-width:100%;padding:8px 26px 8px 10px;font-size:.8rem;font-weight:500;color:#173e30;background:#fff;border:1px solid #b9cdc1;border-radius:7px}
.pptx-viewer-links{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.pptx-viewer-ui button,.pptx-viewer-links .button{min-height:44px;padding:9px 11px;font-size:.76rem;line-height:1.3;color:#194b37;border:1px solid #bfd0c4;background:#fff;border-radius:7px;white-space:normal}
.pptx-viewer-ui button:hover:not(:disabled),.pptx-viewer-links .button:hover{background:#eaf3ed}
.pptx-viewer-ui button:disabled,.pptx-viewer-ui select:disabled{opacity:.45;cursor:default}
.pptx-viewer-ui :focus-visible{outline:3px solid #b56a24;outline-offset:2px}
.pptx-viewer-tools{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:9px 11px;background:#f2f7f3;border-bottom:1px solid #d7e2db}
.pptx-slide-navigation{display:flex;align-items:center;justify-content:space-between;gap:6px;flex:1 1 230px;min-width:0}
.pptx-slide-counter{font-size:.73rem;color:#4e6558;white-space:nowrap;text-align:center;font-variant-numeric:tabular-nums}
.pptx-display-controls{display:flex;align-items:end;gap:6px;flex:1 1 235px;min-width:0}
.pptx-display-controls>button{flex:none;min-width:44px}
.pptx-display-controls>label{display:flex;flex-direction:column;flex:1 1 0;min-width:0;gap:3px;margin:0;font-size:.63rem;color:#4e6558}
.pptx-display-controls select{font-size:.74rem;padding-left:7px;padding-right:19px}
.pptx-viewer-status{padding:8px 12px;margin:0;min-height:33px;font-size:.73rem;line-height:1.45;color:#52675a;border-bottom:1px solid #e4ece6;overflow-wrap:anywhere}
.pptx-viewer-stage{position:relative;display:flex;flex:1 1 0;min-width:0;min-height:200px;overflow:hidden;background:#e9eeeb}
.pptx-frame-host{display:flex;flex:1 1 0;min-width:0;min-height:0}
.pptx-viewer-stage .pptx-frame-host>iframe{display:block;flex:1 1 0;width:100%;height:100%;min-height:0;max-height:none;border:0;background:#e9eeeb}
.pptx-viewer-cover{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:25px;text-align:center;background:#f5f8f5;color:#53685f}
.pptx-viewer-cover>p{max-width:44ch;margin:0;font-size:.85rem;line-height:1.6;overflow-wrap:anywhere}
.pptx-viewer-warning,.pptx-viewer-note{margin:0;padding:8px 12px;font-size:.69rem;line-height:1.5;border-top:1px solid #d7e2db;overflow-wrap:anywhere}
.pptx-viewer-note{color:#5c6b62;background:#fafcfb}
.pptx-viewer-warning{color:#6b5017;background:#fff8e8;max-height:70px;overflow:auto}
.document-pane.portal-pptx-pane{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;width:100%}
.split-documents:not(.is-expanded) .document-pane.portal-pptx-pane{height:640px;min-height:640px}
.document-pane.portal-pptx-pane.is-expanded .portal-pptx-viewer{min-height:75dvh}
.document-pane.portal-pptx-pane.is-expanded .pptx-viewer-stage{min-height:420px}
@media(max-width:600px){.pptx-viewer-picker{padding:10px}.pptx-document-label{flex-basis:100%}.pptx-viewer-links{width:100%}.pptx-viewer-links .button{font-size:.72rem;flex:1 1 auto;padding:8px}.pptx-viewer-tools{padding:8px;gap:8px}.pptx-slide-navigation,.pptx-display-controls{flex-basis:100%}.pptx-viewer-ui button{font-size:.73rem;padding:8px}.pptx-slide-counter{font-size:.71rem}.pptx-viewer-status{padding:8px 10px;font-size:.7rem}.pptx-viewer-stage{min-height:180px}.pptx-viewer-note,.pptx-viewer-warning{font-size:.66rem;padding:7px 10px}.pptx-viewer-cover{padding:19px}.pptx-viewer-cover>p{font-size:.8rem}.document-pane.portal-pptx-pane.is-expanded .pptx-viewer-stage{min-height:360px}}
