/* Панель переключения вариантов — общая для всех трёх, не зависит от темы */
:root { --cmp-h: 40px; }
html { scroll-padding-top: var(--cmp-h); }
body { margin-top: var(--cmp-h) !important; }
#cmpBar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--cmp-h); z-index: 2147483000;
  display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px;
  background: #0b0d10; border-bottom: 1px solid #2a2f36; box-sizing: border-box;
  font: 600 13px/1 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: #c9ced4;
}
#cmpBar button {
  all: unset; box-sizing: border-box; cursor: pointer; height: 28px; padding: 0 14px; border-radius: 6px;
  display: inline-flex; align-items: center; color: #e8eaed; background: #1b2027; border: 1px solid #333a43;
  font: inherit; white-space: nowrap;
}
#cmpBar button:hover { background: #262c35; }
#cmpBar button:focus-visible { outline: 2px solid #ff7a00; outline-offset: 2px; }
#cmpBar button.on { background: #ff7a00; border-color: #ff7a00; color: #111; }
#cmpBar .cmp-l { color: #8b939c; margin-right: 4px; }
#cmpBar .cmp-demo { position: absolute; right: 12px; font-size: 11px; color: #8b939c; border: 1px solid #333a43; border-radius: 4px; padding: 3px 6px; }
@media (max-width: 640px) {
  #cmpBar .cmp-l, #cmpBar button span, #cmpBar .cmp-demo { display: none; }
  #cmpBar button { width: 44px; justify-content: center; padding: 0; }
}
