/*
 * Canonical solid surfaces for canvas chrome and asset panels.
 *
 * These values preserve the accepted visual baseline. Keep them in CSS instead
 * of reintroducing MutationObservers or runtime inline-style writers.
 */
.v2-asset-sidebar-panel,
.v2-asset-sidebar-panel.show,
body.is-asset-panel-open .v2-asset-sidebar-panel.show,
.v2-asset-create-panel,
.sidebar-floating,
.minimap-wrapper {
  background: rgb(22, 22, 24) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: 1 !important;
}

.canvas-controls-floating {
  background: rgb(26, 26, 28) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/*
 * Keep the current canvas viewport legible when a large graph compresses it
 * into a small minimap rectangle. This is visual-only; minimap geometry and
 * pointer navigation remain owned by modules/minimap.js.
 */
.minimap-viewport {
  box-sizing: border-box;
  min-width: 8px;
  min-height: 8px;
  border: 2px solid rgba(96, 165, 250, 0.95);
  background: rgba(59, 130, 246, 0.2);
  box-shadow:
    0 0 0 1px rgba(191, 219, 254, 0.45),
    0 0 12px rgba(59, 130, 246, 0.55);
}
