/* Editor layout layer — stable overrides for layout behavior */
.main {
  background: #070a10 !important;
}

.workspace:before {
  box-shadow: none !important;
}

.workspace,
.properties,
.pages-tray.thumbnail-tray {
  transition: none !important;
}

.properties {
  border-color: var(--editor-line) !important;
}

.properties details:not(.tool-active):not([open]) {
  opacity: 0.78 !important;
}

.properties details.tool-active,
.properties details[open] {
  opacity: 1 !important;
}

.panel-export {
  scroll-margin-bottom: 16px;
}

.collapse-toggle {
  position: absolute;
  top: 8px;
  z-index: 40;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s;
}

.collapse-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(138, 92, 255, 0.28);
}

.collapse-toggle:focus-visible {
  outline: 2px solid #2be4ff;
  outline-offset: 2px;
}

.collapse-toggle--left { left: 8px; }
.collapse-toggle--right { right: 8px; }
