.wp-block-wp-block-mindmap.vmm-fullscreen-fallback{
  position:fixed !important;
  inset:0 !important;
  z-index:999999 !important;
  width:100vw !important;
  height:100vh !important;
  max-width:none !important;
  margin:0 !important;
  background:#fff !important;
}
.wp-block-wp-block-mindmap.vmm-fullscreen-fallback svg{
  width:100% !important;
  height:100% !important;
}
.wp-block-wp-block-mindmap:fullscreen{
  width:100vw;
  height:100vh;
  max-width:none;
  margin:0;
  background:#fff;
}
.wp-block-wp-block-mindmap:fullscreen svg{
  width:100%;
  height:100%;
}
.vmm-enhancement-toolbar{
  z-index:20;
}
.vmm-fullscreen-handle{
  min-width:34px;
  min-height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.vmm-popup-trigger,
.vmm-inline-popup-trigger{
  cursor:pointer !important;
  text-decoration:underline;
  text-decoration-style:dotted;
  text-underline-offset:3px;
}
.vmm-inline-popup-trigger{
  appearance:none;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
  padding:0;
  margin:0;
  text-align:left;
}
.vmm-popup-overlay{
  position:absolute;
  inset:0;
  z-index:100000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.vmm-popup-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.72);
}
.vmm-popup-panel{
  position:relative;
  z-index:2;
  width:min(900px,94%);
  max-height:88%;
  overflow:auto;
  background:#fff;
  color:#111827;
  border-radius:14px;
  box-shadow:0 20px 60px rgba(0,0,0,.28);
  padding:22px;
}
.vmm-popup-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:12px;
}
.vmm-popup-title{
  margin:0;
  font-size:1.35rem;
  line-height:1.25;
}
.vmm-popup-close{
  border:0;
  background:transparent;
  cursor:pointer;
  font-size:28px;
  line-height:1;
  padding:2px 7px;
}
.vmm-popup-content{
  line-height:1.65;
}
.vmm-popup-content img{
  max-width:100%;
  height:auto;
  border-radius:8px;
}
.vmm-popup-content a{
  color:#2563eb;
}
@media (max-width:600px){
  .vmm-popup-overlay{padding:10px}
  .vmm-popup-panel{width:100%;max-height:92%;padding:16px}
}

/* v0.4.2 fullscreen stability */
.wp-block-wp-block-mindmap.vmm-fullscreen-fallback {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  background: #fff !important;
  overflow: hidden !important;
}

.wp-block-wp-block-mindmap.vmm-fullscreen-fallback .wp-block-mindmap-preview {
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
}

.wp-block-wp-block-mindmap:fullscreen {
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  background: #fff !important;
  overflow: hidden !important;
}

.wp-block-wp-block-mindmap:-webkit-full-screen {
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  background: #fff !important;
  overflow: hidden !important;
}

.wp-block-wp-block-mindmap.vmm-popup-open {
  z-index: 2147483001;
}

.vmm-fullscreen-handle {
  cursor: pointer;
}

/* v0.4.3: CSS presentation fullscreen - avoids native Fullscreen API reflow/compositing issues */
html.vmm-presentation-active,
body.vmm-presentation-active {
  overflow: hidden !important;
}

.wp-block-wp-block-mindmap.vmm-presentation-fullscreen {
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 2147483000 !important;
  background: #fff !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}

.wp-block-wp-block-mindmap.vmm-presentation-fullscreen .wp-block-mindmap-preview {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  min-height: 0 !important;
  margin: 0 !important;
}

.wp-block-wp-block-mindmap.vmm-presentation-fullscreen .wp-block-mindmap-preview > svg,
.wp-block-wp-block-mindmap.vmm-presentation-fullscreen svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.wp-block-wp-block-mindmap.vmm-presentation-fullscreen
  .wp-block-mindmap-preview__toolbar {
  position: fixed !important;
  z-index: 2147483002 !important;
  right: 16px !important;
  bottom: 16px !important;
  top: auto !important;
  left: auto !important;
}

.vmm-presentation-fullscreen .vmm-popup-overlay {
  z-index: 2147483005 !important;
}

/* v0.4.6 expand/collapse controls */
.wp-block-mindmap-preview__toolbar .expand-all-handle,
.wp-block-mindmap-preview__toolbar .collapse-all-handle {
  min-width: 32px;
  cursor: pointer;
}
