/* Cross-dashboard switcher ribbon (injected by dash_links.js) */
#dash-switcher {
  display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center;
  padding: 6px 16px; padding-top: max(6px, env(safe-area-inset-top));
  background: #1c1917; color: #e7e5e4; font-size: 0.82rem;
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid #44403c;
}
#dash-switcher .dash-switcher-label {
  font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: #a8a29e; margin-right: 4px; white-space: nowrap;
}
#dash-switcher a {
  color: #fde68a; text-decoration: none; font-weight: 600;
  padding: 3px 10px; border-radius: 999px; border: 1px solid transparent;
  white-space: nowrap;
}
#dash-switcher a:hover { background: #292524; border-color: #57534e; }
#dash-switcher a.current {
  background: #d97706; color: #fff; border-color: #b45309; cursor: default;
}
html.mobile #dash-switcher {
  flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; gap: 8px; padding: 6px 12px;
  padding-top: max(6px, env(safe-area-inset-top));
}
html.mobile #dash-switcher::-webkit-scrollbar { display: none; }

#dash-switcher .dash-theme-toggle {
  margin-left: auto;
  appearance: none; cursor: pointer;
  border: 1px solid #57534e; background: #292524; color: #fde68a;
  font-size: 0.78rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
  white-space: nowrap;
}
#dash-switcher .dash-theme-toggle:hover { background: #44403c; border-color: #a8a29e; }
html.mobile #dash-switcher .dash-theme-toggle { margin-left: 8px; flex-shrink: 0; }
