/*
 * AnnoLink Editor ↔ Office MVP bridge. It is deliberately loaded after the
 * existing Editor stylesheet and only applies while office-mode is active.
 * This keeps PDF/XLSX/image/3D rendering untouched.
 */
#office-render-panel[hidden] {display:none !important}
#office-render-panel {display:none}
body.office-mode #canvas-wrapper {position:relative !important}
body.office-mode #office-render-panel {
  display:block !important;position:absolute !important;inset:0 !important;
  width:100% !important;height:100% !important;z-index:12 !important;
  background:#e4e8ed !important;overflow:hidden !important;
}
body.office-mode #office-render-frame {display:block;border:0;width:100%;height:100%;background:#e4e8ed}
/* Markers live OUTSIDE the Office iframe; keep them above its z-index:12. */
body.office-mode #canvas-wrapper > .marker {z-index:25 !important;touch-action:none;}
body.office-mode #renderCanvas,
body.office-mode #pdf-render-panel,
body.office-mode #image-render-panel,
body.office-mode #xlsx-render-panel,
body.office-mode #coord-hud,
body.office-mode #pdf-page-toolbar {display:none !important}
