/* Shared functional chrome — skins override look, not IDs */
.skin-bar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 0.6rem 1rem;
  font-size: 12px;
}
.skin-bar a { text-decoration: none; }
.skin-hero { display: none; }
.pipeline-progress { display: none; align-items: center; gap: 0.6rem; margin-top: 0.75rem; }
.safety-banner { display: none; }
.canvas-wrapper { position: relative; width: 100%; min-height: 420px; height: 46vh; overflow: hidden; }
#graphCanvas { width: 100%; height: 100%; display: block; cursor: grab; }
.canvas-tooltip {
  display: none;
  position: absolute;
  z-index: 20;
  max-width: 280px;
  pointer-events: none;
}
.history-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 90;
}
.history-backdrop.open { display: block; }
.history-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  z-index: 95;
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(0.32, 0.72, 0, 1);
  display: flex;
  flex-direction: column;
}
.history-drawer.open { transform: translateX(0); }
.drawer-head, .drawer-footer { display: flex; justify-content: space-between; align-items: center; padding: 16px; gap: 8px; }
.drawer-head button, .drawer-footer button { font: inherit; cursor: pointer; }
.drawer-list { flex: 1; overflow: auto; }
.history-item { padding: 12px 16px; border-bottom: 1px solid currentColor; cursor: pointer; opacity: 0.9; }
.history-item-top { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; opacity: 0.7; }
.history-item-preview { margin-top: 6px; }
.history-item-del { border: 0; background: transparent; color: inherit; cursor: pointer; }
.placeholder-text { opacity: 0.55; }
@media (prefers-reduced-motion: reduce) {
  .history-drawer { transition: none; }
}
