/* Version 376 (user request, 2026-11-03): every button uses the CrateSpark orange so buttons are never mistaken
   for text boxes. The orange is the logo accent (#d17744) darkened to #b85c25, because white text on the
   lighter accent is below the 4.5:1 contrast needed for small text. Status indicators (connected / not
   connected badges, filter chips, tags) are not buttons and keep their own colours.
   Kept on purpose: destructive actions stay red, toggles that are switched on stay dark green so the state
   is visible, and the "clear" text links stay plain. Loaded last on every page (including sign-in). */
:root{--rr-button:#b85c25;--rr-button-hover:#9f4e1e;--rr-button-edge:#9f4e1e;--rr-button-on:#254d40}

button:not(.filter-chip):not(.filter-reset):not(.settings-danger-button):not(.rr-danger):not(.rr-confirm-overwrite):not(.rr-release-remove):not(.settings-icon-danger):not([aria-pressed="true"]):not([data-status-badge]),
input[type="submit"],input[type="button"],input[type="reset"]{
  background:var(--rr-button)!important;color:#fff!important;border:1px solid var(--rr-button-edge)!important}

button:not(.filter-chip):not(.filter-reset):not(.settings-danger-button):not(.rr-danger):not(.rr-confirm-overwrite):not(.rr-release-remove):not(.settings-icon-danger):not([aria-pressed="true"]):not([data-status-badge]):hover:not(:disabled),
button:not(.filter-chip):not(.filter-reset):not(.settings-danger-button):not(.rr-danger):not(.rr-confirm-overwrite):not(.rr-release-remove):not(.settings-icon-danger):not([aria-pressed="true"]):not([data-status-badge]):focus-visible,
input[type="submit"]:hover:not(:disabled),input[type="button"]:hover:not(:disabled),input[type="reset"]:hover:not(:disabled){
  background:var(--rr-button-hover)!important}

/* a switched-on toggle keeps the dark green so its state is visible (filter chips keep their own pale green include
   and pale red exclude colours: both of those are aria-pressed, Version 377 finding) */
button[aria-pressed="true"]:not(.filter-chip){background:var(--rr-button-on)!important;color:#fff!important;border:1px solid var(--rr-button-on)!important}

button:disabled,input[type="submit"]:disabled,input[type="button"]:disabled{opacity:.5;cursor:not-allowed}
button:focus-visible{outline:3px solid #21332e;outline-offset:2px}
