/* RoadVision Studio portal only -- injected by nginx (roadvision.conf).
   Gold-filled controls take near-black text: the RoadVision black-on-yellow
   look, and readable (contrast ~8:1 instead of 2.5:1; "Groups" was 1.07:1).
   Each selector comes from a contrast sweep of every page in both themes. */
.pp-page-btn--active,
button[style*="background: rgb(205, 154, 14)"],
button[style*="background-color: rgb(205, 154, 14)"],
[data-theme="dark"] .ls-project-toggle__link--active,
[data-theme="dark"] .ls-button_look_primary:not(:disabled),
[data-theme="dark"] .dm-button_look_primary:not(:disabled),
[data-theme="dark"] .lsf-tabs-panel__header-right > button,
[data-theme="dark"] .ls-sidebar__item .ls-userpic {
  color: #161618 !important;
  --button-color: #161618 !important;
}
[data-theme="dark"] .ls-button_look_primary:not(:disabled) svg,
[data-theme="dark"] .dm-button_look_primary:not(:disabled) svg {
  color: #161618 !important;
  fill: currentColor;
}
/* Inline-styled gold buttons inside the Data Manager / editor: the dark theme
   forces them to grey via `.ls-datamanager button[style*=..][style*=..]`
   (specificity 0,4,1). These out-rank it and only match while the button is
   actually gold-filled, so inactive (dark) states keep their light text. */
html[data-theme="dark"] .ls-datamanager button[style*="background: rgb(245, 190, 37)"][style],
html[data-theme="dark"] .ls-datamanager button[style*="background: rgb(205, 154, 14)"][style] {
  color: #161618 !important;
}
