/* Shared Light / Dark selector for company pages and research posts. */
.theme {
  display: inline-flex;
  flex-shrink: 0;
  padding: 3px;
  gap: 2px;
  background: #eef3f7;
  border-radius: 999px;
}
.theme button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  font: 400 14px/1.55 "OPPO Sans 4.0", "OPPO Sans", "Helvetica Neue", Arial, sans-serif;
  color: #4f5358;
  cursor: pointer;
  transition: background-color 180ms, color 180ms, transform 140ms;
}
.theme button[aria-pressed="true"] { background: #131415; color: #ffffff; }
.theme button:active { transform: scale(0.96); }
.theme button:focus-visible { outline: 2px solid #131415; outline-offset: 3px; }
[data-theme="dark"] .theme { background: #26292c; }
[data-theme="dark"] .theme button { color: #a9aeb4; }
[data-theme="dark"] .theme button[aria-pressed="true"] { background: #eceef0; color: #131415; }
[data-theme="dark"] .theme button:focus-visible { outline-color: #eceef0; }
@media (prefers-reduced-motion: reduce) { .theme button { transition: none; } }
