.canvas-info-buttons {
  position: absolute; right: 10px; bottom: 10px; z-index: 3;
  display: flex; gap: 6px; touch-action: auto;
}
.canvas-info-buttons .btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; min-width: 34px; min-height: 34px; padding: 6px 10px;
  font-weight: 600; background: var(--panel);
}
.canvas-info-buttons [aria-expanded="true"] {
  background: var(--accent); color: var(--accent-ink);
  border-color: var(--accent);
}
.canvas-info-buttons svg {
  width: 18px; height: 18px; fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linejoin: round;
}
.canvas-info-panel {
  position: absolute; right: 10px; bottom: 52px; z-index: 4;
  width: 310px; max-width: calc(100% - 20px);
  max-height: calc(100% - 66px); overflow: auto;
  box-sizing: border-box; padding: 14px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--panel); color: var(--ink);
  box-shadow: 0 5px 20px rgba(0,0,0,.15); touch-action: auto;
}
.canvas-info-heading {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 12px;
}
.canvas-info-heading h2 { margin: 0; font: 700 16px/1.3 var(--f-display); }
.canvas-info-heading .btn { min-width: 30px; padding: 2px 7px; font-size: 20px; }
.stage > .scalebar,
.stage > .prediction-label-size { bottom: 54px; }
