/* Secondary actions own both foreground and background, including on tinted panels. */
html.rushnik-v2.rushnik-brandbook body :is(button.list, button.secondary, button.secondary-step, button.text-button):not(.primary):not(.active):not([aria-pressed="true"]),
html.rushnik-v2.rushnik-brandbook body .view:not([data-view="main"]) :is(button.list, button.secondary, button.secondary-step, button.text-button):not(.primary):not(.active):not([aria-pressed="true"]),
html.rushnik-v2.rushnik-brandbook #homeTodayDismiss,
html.rushnik-v2.rushnik-brandbook .view[data-view="practices"] .next-step-card button:not(:first-child) {
  background: #fff !important;
  color: var(--bb-blue) !important;
  border: 1px solid var(--bb-blue) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
html.rushnik-v2.rushnik-brandbook #homeTodayDismiss {
  width: 100% !important;
  min-height: 44px;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
html.rushnik-v2.rushnik-brandbook .home-today-actions {gap: 10px !important;}

/* Action groups retain the hierarchy even where older practice rules used white text. */
html.rushnik-v2.rushnik-brandbook .view[data-view="practices"] .next-step-card button:first-child {
  background: var(--bb-green) !important;
  color: #fff !important;
  border: 1px solid var(--bb-green) !important;
}
html.rushnik-v2.rushnik-brandbook .view[data-view="practices"] .next-step-card button {
  min-height: 44px;
  border-radius: 8px !important;
}
html.rushnik-v2.rushnik-brandbook .view[data-view="practices"] .next-step-card > span {
  color: var(--bb-muted) !important;
}
html.rushnik-v2.rushnik-brandbook #androidAuthTelegram {
  background: var(--bb-blue) !important;
  color: #fff !important;
  border-color: var(--bb-blue) !important;
}
html.rushnik-v2.rushnik-brandbook #androidAuthTelegram > span {
  background: var(--bb-blue) !important;
  color: #fff !important;
}
html.rushnik-v2.rushnik-brandbook #homeArchetypeCard svg {color: #fff !important;}
html.rushnik-v2.rushnik-brandbook #practiceDailyScreen .practice-card-arrow {
  color: #fff !important;
  background: var(--bb-green) !important;
}
html.rushnik-v2.rushnik-brandbook #radomirChat #chatSubmit {
  border: 1px solid var(--bb-blue) !important;
}
html.rushnik-v2.rushnik-brandbook #radomirChat #chatSubmit[aria-disabled="true"]:not(:disabled) {
  color: var(--bb-blue) !important;
}
html.rushnik-v2.rushnik-brandbook #radomirChat #chatSubmit:not([aria-disabled="true"]):not(:disabled) {
  color: #fff !important;
}

html.rushnik-v2.rushnik-brandbook button:not(:disabled) {cursor: pointer;}
html.rushnik-v2.rushnik-brandbook button:focus-visible {
  outline: 3px solid var(--bb-wine) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 3px #fff !important;
}
/* Disabled controls stay readable; dashed borders distinguish them without opacity loss. */
html.rushnik-v2.rushnik-brandbook body button:disabled,
html.rushnik-v2.rushnik-brandbook body .view button:disabled,
html.rushnik-v2.rushnik-brandbook body .view:not([data-view="main"]) button:disabled,
html.rushnik-v2.rushnik-brandbook #radomirChat #chatSubmit:disabled {
  background: var(--bb-blue-soft) !important;
  color: var(--bb-muted) !important;
  border: 1px dashed var(--bb-muted) !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}
html.rushnik-v2.rushnik-brandbook body button:disabled :is(span,b,strong,small,svg) {
  color: inherit !important;
}
@media (hover: hover) {
  html.rushnik-v2.rushnik-brandbook body :is(button.list, button.secondary, button.secondary-step, button.text-button):not(.primary):not(.active):not(:disabled):hover,
  html.rushnik-v2.rushnik-brandbook body .view:not([data-view="main"]) :is(button.list, button.secondary, button.secondary-step, button.text-button):not(.primary):not(.active):not(:disabled):hover,
  html.rushnik-v2.rushnik-brandbook #homeTodayDismiss:hover,
  html.rushnik-v2.rushnik-brandbook .view[data-view="practices"] .next-step-card button:not(:first-child):hover {
    background: var(--bb-blue-soft) !important;
    color: var(--bb-blue) !important;
    border-color: var(--bb-blue) !important;
  }
}
@media (forced-colors: active) {
  html.rushnik-v2.rushnik-brandbook button {border: 1px solid ButtonText !important;}
  html.rushnik-v2.rushnik-brandbook button:focus-visible {outline-color: Highlight !important;}
}
