/* エディターの別ウィンドウ表示(editor-window-ui.js) */
#right-dock.editor-in-window {
  position: fixed !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  transform: none !important;
  transition: none !important;
  pointer-events: auto !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  display: flex !important;
}
#right-dock.editor-in-window .floating-tool-btn[data-float-editor],
#right-dock.editor-in-window #editor-float-reset,
#right-dock.editor-in-window #editor-fullscreen-btn { display: none !important; }
body.gs-editor-window { margin: 0; overflow: hidden; }
#editor-window-notice {
  position: fixed;
  right: 12px;
  top: calc(22px + var(--toolbar-h, 48px) + 8px);
  z-index: 1900;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--surface, #353535);
  color: var(--text, #e0e0e0);
  border: 1px solid var(--border, #4a4a4a);
  font: 12px/1.4 var(--font-ui, system-ui, sans-serif);
}
#editor-window-notice[hidden] { display: none; }
#editor-window-notice button {
  padding: 3px 8px;
  border: 1px solid var(--border, #4a4a4a);
  border-radius: 0;
  background: transparent;
  color: var(--text, #e0e0e0);
  font: inherit;
  cursor: pointer;
}
#editor-window-notice button:hover { background: rgba(255, 255, 255, 0.08); }
/* 本体側: エディターが別ウィンドウにある間はドックの場所を空けない */
body.has-editor-window.has-right-dock-open .btn-rightdock-toggle { opacity: 1; }
