.pv-viewer {
  position: fixed;
  z-index: 400;
  bottom: calc(84px + env(safe-area-inset-bottom));
  right: 8px;
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 2px solid var(--color-ink);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  box-shadow: 0 2px 8px rgba(31, 43, 56, 0.18);
  font-family: var(--font-display, sans-serif);
}
.pv-viewer button {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-ink-soft);
  font-size: var(--font-size-xs);
  font-weight: 700;
  cursor: pointer;
}
.pv-viewer button[aria-pressed="true"] {
  background: var(--color-ink);
  color: var(--color-surface);
}
body:has(.mentor-composer) .pv-viewer { bottom: calc(84px + 96px + env(safe-area-inset-bottom)); }
@media (min-width: 901px) { .pv-viewer { bottom: 16px; } }
