/* Only invoice modal headers. Received invoices retain their existing blue. */
#client-billing-editor.v5-invoice-form[open][data-direction=issued] > .invoice-editor-header {
  background: #173f0b !important;
  border-bottom-color: #527748 !important;
}
#client-billing-editor.v5-invoice-form[open][data-direction=issued] > .invoice-editor-header :is(h2, small, h2 .ui-icon) {
  color: #fff !important;
}
#client-billing-editor.v5-invoice-form.ob-billing-editor[open][data-direction=issued][data-reference-layout] > .invoice-editor-header button:is([data-registration-options], [data-close]) {
  color: #fff !important;
}
#client-billing-editor.v5-invoice-form[open][data-direction=issued] > .invoice-editor-header :is([data-registration-options], [data-close]) {
  background: #103008 !important;
  border-color: #a6bfa0 !important;
  color: #fff !important;
}
#client-billing-editor.v5-invoice-form[open][data-direction=issued] > .invoice-editor-header :is([data-registration-options], [data-close]):hover:not(:disabled) {
  background: #244e18 !important;
}
/* Center the contents, preserving the action group's position and button sizes. */
#client-billing-editor.v5-invoice-form[open]:is([data-direction=issued], [data-direction=received]) > .invoice-editor-header :is([data-registration-options], [data-close]) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
}
#client-billing-editor.v5-invoice-form[open]:is([data-direction=issued], [data-direction=received]) > .invoice-editor-header :is([data-registration-options], [data-close])::before {
  flex: 0 0 auto;
  line-height: 1 !important;
}
