/* UIkit action hierarchy: primary blue, secondary black, destructive red. */
:where(.arke-app, .public-body) .uk-button-primary,
:where(.arke-app, .public-body) .scheduler-page-link:not(.is-disabled),
:where(.arke-app, .public-body) .scheduler-week-nav-link,
:where(.arke-app, .public-body) .scheduler-request-modal .scheduler-modal-close {
  border-color: #0877bd !important;
  color: #fff !important;
  background: #0a84ff !important;
  box-shadow: 0 8px 20px rgba(10, 132, 255, .22) !important;
}

:where(.arke-app, .public-body) .uk-button-primary:hover,
:where(.arke-app, .public-body) .scheduler-page-link:not(.is-disabled):hover,
:where(.arke-app, .public-body) .scheduler-week-nav-link:hover,
:where(.arke-app, .public-body) .scheduler-request-modal .scheduler-modal-close:hover {
  border-color: #075f9c !important;
  color: #fff !important;
  background: #0878dc !important;
  box-shadow: 0 10px 24px rgba(8, 110, 181, .28) !important;
}

:where(.arke-app, .public-body) .uk-button-secondary,
:where(.arke-app, .public-body) .btn.secondary,
:where(.arke-app, .public-body) .uk-button-default {
  border-color: #202124 !important;
  color: #fff !important;
  background: #202124 !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18) !important;
}

:where(.arke-app, .public-body) .uk-button-secondary:hover,
:where(.arke-app, .public-body) .uk-button-secondary:focus,
:where(.arke-app, .public-body) .btn.secondary:hover,
:where(.arke-app, .public-body) .btn.secondary:focus,
:where(.arke-app, .public-body) .uk-button-default:hover,
:where(.arke-app, .public-body) .uk-button-default:focus {
  border-color: #000 !important;
  color: #fff !important;
  background: #000 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .24) !important;
}

:where(.arke-app, .public-body) .uk-button-secondary:active,
:where(.arke-app, .public-body) .btn.secondary:active,
:where(.arke-app, .public-body) .uk-button-default:active {
  border-color: #000 !important;
  color: #fff !important;
  background: #000 !important;
}

:where(.arke-app, .public-body) .uk-button-secondary:disabled,
:where(.arke-app, .public-body) .uk-button-secondary[disabled],
:where(.arke-app, .public-body) .btn.secondary:disabled,
:where(.arke-app, .public-body) .btn.secondary[disabled] {
  border-color: #202124 !important;
  color: #fff !important;
  background: #202124 !important;
  opacity: .5;
}

:where(.arke-app, .public-body) .scheduler-week-nav-link > span,
:where(.arke-app, .public-body) .scheduler-week-nav-link b {
  color: inherit !important;
}

:where(.arke-app, .public-body) .scheduler-page-link.is-current,
:where(.arke-app, .public-body) .scheduler-week-nav-link.is-current {
  border-color: #063f6a !important;
  background: #0b4f80 !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 9px 22px rgba(7,59,100,.3) !important;
}

:where(.arke-app, .public-body) .uk-button-danger {
  border-color: var(--danger) !important;
  color: #fff !important;
  background: var(--danger) !important;
}

:where(.arke-app, .public-body) .uk-button-danger:hover {
  border-color: #921c14 !important;
  background: #921c14 !important;
}

/* Shift actions retain their operational alert colors. */
:where(.arke-app, .public-body) .flight-print-shifts .print-shift-days {
  border-color: #168052 !important;
  background: #168052 !important;
}

:where(.arke-app, .public-body) .flight-print-shifts .print-shift-swings {
  border-color: #d78200 !important;
  background: #d78200 !important;
}

:where(.arke-app, .public-body) .flight-print-shifts .print-shift-mids {
  border-color: #c73932 !important;
  background: #c73932 !important;
}

:where(.arke-app, .public-body) .scheduler-roster-batchbar .shift-days {
  border-color: #168052 !important;
  color: #fff !important;
  background: #168052 !important;
  box-shadow: 0 7px 16px rgba(22, 128, 82, .2) !important;
}

:where(.arke-app, .public-body) .scheduler-roster-batchbar .shift-swings {
  border-color: #d78200 !important;
  color: #fff !important;
  background: #d78200 !important;
  box-shadow: 0 7px 16px rgba(215, 130, 0, .2) !important;
}

:where(.arke-app, .public-body) .scheduler-roster-batchbar .shift-mids {
  border-color: #c73932 !important;
  color: #fff !important;
  background: #c73932 !important;
  box-shadow: 0 7px 16px rgba(199, 57, 50, .2) !important;
}

:where(.arke-app, .public-body) .scheduler-roster-batchbar .shift-days:hover,
:where(.arke-app, .public-body) .scheduler-roster-batchbar .shift-days:focus {
  border-color: #106a43 !important;
  background: #106a43 !important;
}

:where(.arke-app, .public-body) .scheduler-roster-batchbar .shift-swings:hover,
:where(.arke-app, .public-body) .scheduler-roster-batchbar .shift-swings:focus {
  border-color: #b66d00 !important;
  background: #b66d00 !important;
}

:where(.arke-app, .public-body) .scheduler-roster-batchbar .shift-mids:hover,
:where(.arke-app, .public-body) .scheduler-roster-batchbar .shift-mids:focus {
  border-color: #a92f2a !important;
  background: #a92f2a !important;
}


/* Keep shift print actions in their assigned colors after click/focus. */
:where(.arke-app, .public-body) .flight-print-shifts .print-shift-days:is(:focus, :focus-visible, :active, :visited) {
  border-color: #168052 !important;
  color: #fff !important;
  background: #168052 !important;
  box-shadow: 0 8px 20px rgba(22, 128, 82, .22) !important;
}

:where(.arke-app, .public-body) .flight-print-shifts .print-shift-swings:is(:focus, :focus-visible, :active, :visited) {
  border-color: #d78200 !important;
  color: #fff !important;
  background: #d78200 !important;
  box-shadow: 0 8px 20px rgba(215, 130, 0, .22) !important;
}

:where(.arke-app, .public-body) .flight-print-shifts .print-shift-mids:is(:focus, :focus-visible, :active, :visited) {
  border-color: #c73932 !important;
  color: #fff !important;
  background: #c73932 !important;
  box-shadow: 0 8px 20px rgba(199, 57, 50, .22) !important;
}
