@charset "UTF-8";
/*
Standard WordPress admin colors.

Announcement post:
https://make.wordpress.org/core/2021/02/23/standardization-of-wp-admin-colors-in-wordpress-5-7/

Source:
https://codepen.io/ryelle/pen/WNGVEjw

A "wp" prefix has been added to avoid name conflicts with other code in this plugin.
 */
#rex-loading-message {
  margin-top: 10px;
}

#rex-main-ui {
  display: flex;
  flex-direction: row;
  margin-top: 8px;
  width: 100%;
}

#rex-content-container,
#rex-main-buttons {
  border: 1px solid #ccd0d4;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

#rex-content-container {
  display: flex;
  flex-grow: 80;
  padding: 0;
  overflow-x: hidden;
}

#rex-action-sidebar {
  box-sizing: border-box;
  width: 170px;
  flex-grow: 0;
  flex-shrink: 0;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  margin: 0 0 0 15px;
}
#rex-action-sidebar.metabox-holder {
  padding-top: 0;
}
#rex-action-sidebar .rex-action-separator {
  height: 10px;
}

@media screen and (min-width: 601px) {
  #rex-action-sidebar {
    position: sticky;
    --ame-rex-sidebar-top: calc(var(--wp-admin--admin-bar--height, 32px) + var(--ame-sticky-bar-last-pinned-height, 0px));
    top: var(--ame-rex-sidebar-top, 32px);
    max-height: calc(100vh - var(--ame-rex-sidebar-top, 32px) - 10px);
    overflow-y: auto;
  }
}
#rex-main-buttons {
  padding: 10px 8px;
}

#rex-main-buttons,
#rex-related-widget {
  min-width: unset;
  margin: 0;
}

#rex-related-widget {
  margin-top: 15px;
}
#rex-related-widget .hndle {
  cursor: initial;
}
#rex-related-widget .ws-ame-postbox-content {
  margin-bottom: 0;
}

#rex-category-sidebar {
  width: 240px;
  flex-grow: 0;
  flex-shrink: 0;
  position: relative;
  border-right: 1px solid #ccd0d4;
  padding: 10px 0;
  background: #f8f8f8;
}
#rex-category-sidebar > ul {
  margin-top: 0;
}
#rex-category-sidebar .rex-nav-item {
  cursor: pointer;
  margin: 0;
  padding: 3px 8px 3px 10px;
}
#rex-category-sidebar .rex-nav-item:hover {
  background-color: #E5F3FF;
}
#rex-category-sidebar .rex-selected-nav-item {
  background-color: #CCE8FF;
  box-shadow: 0px -1px 0px 0px #99D1FF, 0px 1px 0px 0px #99D1FF;
}
#rex-category-sidebar .rex-selected-nav-item:hover {
  background-color: #CCE8FF;
}
#rex-category-sidebar .rex-nav-level-2 {
  padding-left: 0px;
}
#rex-category-sidebar .rex-nav-level-3 {
  padding-left: 13px;
}
#rex-category-sidebar .rex-nav-level-4 {
  padding-left: 26px;
}
#rex-category-sidebar .rex-nav-level-5 {
  padding-left: 39px;
}
#rex-category-sidebar .rex-nav-toggle {
  visibility: hidden;
  display: inline-block;
  box-sizing: border-box;
  max-height: 100%;
  width: 20px;
  text-align: right;
  vertical-align: middle;
}
#rex-category-sidebar .rex-nav-toggle:after {
  font-family: dashicons, sans-serif;
  content: "\f345";
}
#rex-category-sidebar .rex-nav-toggle:hover {
  color: #3ECEF9;
}
#rex-category-sidebar .rex-nav-is-expanded .rex-nav-toggle:after {
  content: "\f347";
}
#rex-category-sidebar .rex-nav-has-children .rex-nav-toggle {
  visibility: visible;
}
#rex-category-sidebar .rex-dropdown-trigger {
  position: absolute;
  right: 0;
  top: 0;
  padding: 12px 10px 3px 8px;
}
#rex-category-sidebar .rex-nav-item {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  height: 21px;
  padding-top: 4px;
  padding-bottom: 2px;
}
#rex-category-sidebar .rex-nav-item .rex-nav-toggle {
  flex-shrink: 0;
  margin-right: 0.3em;
  align-self: stretch;
  padding: 1px 0;
}
#rex-category-sidebar .rex-nav-item .rex-capability-count {
  flex-shrink: 0;
  margin-left: 0.3em;
  margin-right: 0.3em;
}
#rex-category-sidebar .rex-nav-item .rex-nav-item-header {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
#rex-category-sidebar .rex-nav-item:first-child {
  padding-right: 42px;
}

#rex-capability-view-container {
  flex-grow: 70;
  padding: 10px 10px;
  overflow-x: hidden;
}

#rex-capability-view {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.rex-category {
  box-sizing: border-box;
  min-width: 160px;
  width: 250px;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
  padding: 0;
  margin: 0 16px 16px 0;
  border: 1px solid #ccd0d4;
}
.rex-category .rex-category-name {
  font-weight: 600;
}
.rex-category .rex-category-subheading {
  display: none;
  color: #666;
  font-size: 12px;
  font-variant: small-caps;
}
.rex-category .rex-category-subtitle {
  color: #888;
  font-size: 0.95em;
  font-family: Consolas, Monaco, monospace;
}
.rex-category .rex-category-contents {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 10px 8px 10px 10px;
}
.rex-category.rex-has-subcategories {
  width: 100%;
  flex-basis: 100%;
}
.rex-category .rex-category-header {
  padding: 8px 10px;
  border-bottom: 1px solid #ccd0d4;
}
.rex-category.rex-top-category {
  border: none;
  margin: 0 0 10px 0;
  padding: 0;
}
.rex-category.rex-top-category > .rex-category-header {
  color: #23282d;
  font-size: 1.3em;
  margin: 1em 0;
  padding: 0;
  border-bottom: none;
}
.rex-category.rex-top-category > .rex-category-contents {
  padding: 0;
}
.rex-category.rex-sub-category {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}
.rex-category.rex-sub-category > .rex-category-header {
  background: #fafafa;
}

.rex-desired-columns-1 {
  width: 250px;
  flex-grow: 0;
  max-width: 500px;
}

.rex-desired-columns-2 {
  width: 516px;
  flex-grow: 0;
  max-width: 1032px;
}

.rex-desired-columns-3 {
  width: 782px;
  flex-grow: 0;
  max-width: 1564px;
}

.rex-desired-columns-max {
  flex-basis: 100%;
  width: 100%;
}

@media screen and (max-width: 1432px) {
  .rex-desired-columns-3 {
    flex-basis: 100%;
    width: 100%;
  }
}
@media screen and (max-width: 1168px) {
  .rex-desired-columns-2 {
    flex-basis: 100%;
    width: 100%;
  }
  .rex-desired-columns-3 {
    flex-basis: 100%;
    width: 100%;
  }
}
.rex-full-width-categories .rex-category {
  width: 100%;
  max-width: unset;
}
.rex-full-width-categories .rex-desired-columns-1 > .rex-category-contents > .rex-permission-list {
  column-count: 1;
  max-width: 300px;
}

/*
 * Ensure that each category contains no more than the desired number of columns.
 * This is done by adding an invisible space filler element to the end of the permission list.
 *
 * Warning: This hack is not perfect. It can allow n+1 columns sometimes.
 */
@media screen and (min-width: 1292px) and (max-width: 1501px) {
  .rex-full-width-categories .rex-desired-columns-2 > .rex-category-contents > .rex-permission-list::after {
    content: "filler";
    display: block;
    background: yellowgreen;
    font-size: 13px;
    height: 81px;
    visibility: hidden;
  }
}
@media screen and (min-width: 1502px) and (max-width: 1711px) {
  .rex-full-width-categories .rex-desired-columns-2 > .rex-category-contents > .rex-permission-list::after {
    content: "filler";
    display: block;
    background: yellowgreen;
    font-size: 13px;
    height: 162px;
    visibility: hidden;
  }
  .rex-full-width-categories .rex-desired-columns-3 > .rex-category-contents > .rex-permission-list::after {
    content: "filler";
    display: block;
    background: yellowgreen;
    font-size: 13px;
    height: 81px;
    visibility: hidden;
  }
}
@media screen and (min-width: 1712px) {
  .rex-full-width-categories .rex-desired-columns-2 > .rex-category-contents > .rex-permission-list::after {
    content: "filler";
    display: block;
    background: yellowgreen;
    font-size: 13px;
    height: 243px;
    visibility: hidden;
  }
  .rex-full-width-categories .rex-desired-columns-3 > .rex-category-contents > .rex-permission-list::after {
    content: "filler";
    display: block;
    background: yellowgreen;
    font-size: 13px;
    height: 162px;
    visibility: hidden;
  }
  .rex-full-width-categories .rex-desired-columns-4 > .rex-category-contents > .rex-permission-list::after {
    content: "filler";
    display: block;
    background: yellowgreen;
    font-size: 13px;
    height: 81px;
    visibility: hidden;
  }
}
.rex-show-category-subheadings .rex-category .rex-category-subheading {
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rex-capability-count {
  border-radius: 10px;
  font-size: 12px;
}
.rex-capability-count:before {
  content: "(";
}
.rex-capability-count:after {
  content: ")";
}

.rex-enabled-capability-count + .rex-total-capability-count:before {
  content: "/";
}

.rex-fancy-capability-counts .rex-capability-count {
  border: 1px solid #9ec2e6;
  background: #f0f6fc;
  color: #2271b1;
  border-radius: 3px;
  padding: 0 6px;
  margin-right: 0;
  min-width: 31px;
  text-align: center;
  overflow: hidden;
}
.rex-fancy-capability-counts .rex-capability-count.rex-no-capabilities-enabled {
  background: #f8f8f8;
  border-color: #dcdcde;
  color: #646970;
}
.rex-fancy-capability-counts .rex-capability-count.rex-all-capabilities-enabled {
  background: #edfaef;
  border-color: #68de7c;
  color: #005c12;
}
#rex-category-sidebar .rex-fancy-capability-counts .rex-capability-count {
  margin-left: auto;
  margin-right: 0;
}
.rex-fancy-capability-counts .rex-capability-count:before, .rex-fancy-capability-counts .rex-capability-count:after {
  content: none;
}

.rex-fancy-capability-counts.rex-with-capability-count-bars .rex-capability-count {
  background: linear-gradient(to right, #72aee6 0%, #72aee6 var(--ame-rex-enabled-cap-percent, 75%), #f0f6fc var(--ame-rex-enabled-cap-percent, 75%), #f0f6fc 100%);
  position: relative;
  isolation: isolate;
}
.rex-fancy-capability-counts.rex-with-capability-count-bars .rex-capability-count:before {
  content: "";
  display: block;
  z-index: -1;
  position: absolute;
  top: 0;
  bottom: 2px;
  left: 0;
  right: 0;
  background: #f0f6fc;
  border-radius: 0 0 3px 3px;
}
.rex-fancy-capability-counts.rex-with-capability-count-bars .rex-capability-count.rex-no-capabilities-enabled {
  background: #f8f8f8;
}
.rex-fancy-capability-counts.rex-with-capability-count-bars .rex-capability-count.rex-no-capabilities-enabled:before {
  display: none;
}
.rex-fancy-capability-counts.rex-with-capability-count-bars .rex-capability-count.rex-all-capabilities-enabled {
  background: #edfaef;
}
.rex-fancy-capability-counts.rex-with-capability-count-bars .rex-capability-count.rex-all-capabilities-enabled:before {
  display: none;
}

.rex-permission-list {
  box-sizing: border-box;
  width: 100%;
  columns: 200px;
  column-gap: 10px;
}
.rex-permission {
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  height: 27px;
  vertical-align: baseline;
  break-inside: avoid-column;
  display: flex;
  margin-left: -2px;
}
.rex-permission label, .rex-permission .rex-permission-tip-trigger {
  vertical-align: baseline;
  padding-top: 3px;
  padding-bottom: 3px;
}
.rex-permission label {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 50px;
  padding-left: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rex-permission .rex-permission-tip-trigger {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 20px;
}

.rex-is-redundant {
  color: #888;
}

.rex-is-explicitly-denied input[type=checkbox] {
  border-color: red;
}

.rex-is-personal-override.rex-is-explicitly-denied input[type=checkbox] {
  background-color: #ffe5e5;
}
.rex-is-personal-override input[type=checkbox]:checked {
  background-color: #d9ffd9;
  border-color: green;
}

.rex-highlight-changes .rex-is-modified.rex-is-enabled {
  background-color: #dafbe1;
}
.rex-highlight-changes .rex-is-modified.rex-is-enabled:hover {
  background-color: rgb(184.1404878049, 247.3395121951, 197.5463414634);
}
.rex-highlight-changes .rex-is-modified.rex-is-disabled {
  background-color: #ffebe9;
}
.rex-highlight-changes .rex-is-modified.rex-is-disabled:hover {
  background-color: rgb(255, 199.5090909091, 193.96);
}

.rex-permission-tip-trigger {
  visibility: hidden;
  display: inline-block;
  min-width: 20px;
  height: 100%;
  margin: 0;
  padding-left: 2px;
  cursor: pointer;
  color: #777;
}
.rex-permission-tip-trigger:hover {
  color: #0096dd;
}

.rex-permission:hover {
  background-color: #fafafa;
}
.rex-permission:hover .rex-permission-tip-trigger {
  visibility: visible;
}

.rex-tooltip {
  max-width: 700px;
}
.rex-tooltip .rex-tooltip-section-container {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}
.rex-tooltip .rex-tooltip-section {
  max-width: 400px;
}

#rex-permission-tip {
  overflow-y: auto;
  max-height: 600px;
}
#rex-permission-tip h4 {
  margin-bottom: 0.4em;
}
#rex-permission-tip .rex-tip-granted-permissions {
  list-style: disc inside;
  margin-top: 0;
  margin-bottom: 0;
}
#rex-permission-tip .rex-documentation-link {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: break-word;
}

.rex-capability-inheritance-breakdown tbody tr:nth-child(2n+1) {
  background-color: #F9F9F9;
}
.rex-capability-inheritance-breakdown .rex-is-decisive-actor td:first-child:after {
  content: "🡄";
  display: inline-block;
  font-weight: bold;
  margin-left: 0.5em;
}

#rex-view-toolbar {
  background: #fcfcfc;
  border-bottom: 1px solid #ddd;
  padding: 0 8px 10px 8px;
  margin: -10px -10px 0 -10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
#rex-view-toolbar > * {
  margin-top: 10px;
}
#rex-view-toolbar .button {
  vertical-align: middle;
}
#rex-view-toolbar > label {
  margin-right: 10px;
}
#rex-view-toolbar .rex-dropdown-trigger .dashicons {
  line-height: 1.3;
}

#rex-quick-search-query {
  min-width: 250px;
  max-width: 100%;
  margin-right: 10px;
}

#rex-misc-view-options-button {
  margin-left: auto;
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
#rex-misc-view-options-button .dashicons.dashicons {
  line-height: 1;
}

.rex-search-highlight {
  background-color: #ffff00;
}

.rex-permission-table th input[type=checkbox] {
  vertical-align: middle;
  margin: -4px 4px -1px 0;
}
.rex-permission-table tbody tr:nth-child(2n+1) {
  background-color: #F9F9F9;
}
.rex-permission-table td ul {
  margin: 0;
}
.rex-permission-table .rex-base-cap-notice {
  color: #888;
}

/* Switch to fixed layout in narrow viewports to prevent overflow. */
@media screen and (max-width: 1540px) {
  .rex-permission-table {
    table-layout: fixed;
    max-width: 100%;
  }
  .rex-permission-table .rex-category-name-column {
    width: 20%;
  }
  .rex-readable-names-enabled .rex-permission-table {
    table-layout: fixed;
    max-width: 100%;
  }
  .rex-readable-names-enabled .rex-permission-table .rex-category-name-column {
    width: 25%;
  }
}
/* The taxonomy table needs a wider screen because it has more columns. */
@media screen and (max-width: 1650px) {
  #rex-taxonomy-summary-category .rex-permission-table {
    table-layout: fixed;
    max-width: 100%;
  }
  #rex-taxonomy-summary-category .rex-permission-table .rex-category-name-column {
    width: 25%;
  }
}
/*
When in "human readable" mode, the taxonomy table doesn't show capability names,
so it won't overflow its container unless the viewport is very small.
*/
.rex-readable-names-enabled #rex-taxonomy-summary-category .rex-permission-table {
  table-layout: auto;
  max-width: 600px;
}
.rex-readable-names-enabled #rex-taxonomy-summary-category .rex-permission-table .rex-capability-name, .rex-readable-names-enabled #rex-taxonomy-summary-category .rex-permission-table .rex-permission-tip-trigger {
  display: none;
}
.rex-readable-names-enabled #rex-taxonomy-summary-category .rex-permission-table .rex-permission, .rex-readable-names-enabled #rex-taxonomy-summary-category .rex-permission-table th[scope=col] {
  text-align: center;
}
.rex-readable-names-enabled #rex-taxonomy-summary-category .rex-permission-table .rex-category-name-column {
  width: unset;
}

@media screen and (max-width: 1200px) {
  .rex-readable-names-enabled #rex-taxonomy-summary-category .rex-permission-table {
    table-layout: fixed;
    max-width: 100%;
  }
  .rex-readable-names-enabled #rex-taxonomy-summary-category .rex-permission-table .rex-category-name-column {
    width: 40%;
  }
}
#rex-action-sidebar .rex-action-button {
  display: block;
  margin-bottom: 4px;
  width: 100%;
}

#rex-permission-list-view {
  column-width: 240px;
  column-gap: 16px;
  padding-top: 8px;
}

#rex-category-view-spacer {
  width: 100%;
  height: 10px;
}

.rex-dropdown-trigger {
  display: inline-block;
  box-sizing: border-box;
  cursor: pointer;
  padding: 2px;
  color: #aaa;
  text-decoration: none;
}
.rex-dropdown-trigger:hover, .rex-dropdown-trigger:focus {
  color: #777;
  text-decoration: none;
}

.rex-dropdown {
  position: absolute;
  border: 1px solid #ccd0d4;
  background: #fff;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
  padding: 10px 8px;
  z-index: 100;
}
.rex-dropdown .rex-dropdown-item {
  display: block;
  margin-bottom: 10px;
}
.rex-dropdown .rex-dropdown-item:last-child {
  margin-bottom: 0;
}
.rex-dropdown .rex-dropdown-sub-item, .rex-dropdown .rex-dropdown-sub-item-divider {
  margin-left: 1em;
}
.rex-dropdown .rex-dropdown-item > .rex-dropdown-item {
  margin-bottom: 6px;
}
.rex-dropdown .rex-dropdown-item > .rex-dropdown-item:last-child {
  margin-bottom: 0;
}
.rex-dropdown .rex-dropdown-sub-item-divider {
  border-bottom: 1px solid #dcdcde;
  margin-top: 0;
  padding-top: 2px;
}

.ui-dialog .ui-dialog-buttonpane {
  background: #fcfcfc;
  border-top: 1px solid #dfdfdf;
  padding: 8px;
}
.ui-dialog .ui-dialog-buttonpane:after {
  clear: both;
  content: "";
  min-height: 0;
  display: table;
  border-collapse: collapse;
}
.ui-dialog .ui-dialog-buttonset {
  width: 100%;
}
.ui-dialog .ui-dialog-buttonset .ui-button.rex-dialog-cancel-button, .ui-dialog .ui-dialog-buttonset .ui-button.ame-dialog-cancel-button {
  float: right;
  margin-right: 0 !important;
}
.ui-dialog .ui-dialog-buttonset .ui-button {
  float: left;
}

.rex-dialog input[type=text], .rex-dialog select {
  box-sizing: border-box;
  display: block;
  width: 100%;
}

.rex-dialog-section {
  margin-top: 0;
}
.rex-dialog-section h4 {
  margin: 0 0 6px 0;
}

#rex-delete-capability-dialog .rex-deletable-capability-container {
  max-height: 400px;
  overflow-y: auto;
}
#rex-delete-capability-dialog .rex-deletable-capability-list {
  margin-top: 0;
  list-style-type: none;
}

#rex-add-capability-dialog #rex-new-capability-name {
  box-sizing: border-box;
  width: 100%;
}
#rex-add-capability-dialog #rex-add-capability-validation-message {
  min-height: 40px;
  margin-bottom: 6px;
}

#rex-delete-role-dialog .rex-deletable-role-list-container {
  max-height: 380px;
  overflow-y: auto;
  margin-top: 10px;
}
#rex-delete-role-dialog .rex-deletable-role-list {
  table-layout: fixed;
}
#rex-delete-role-dialog .rex-deletable-role-list tbody tr:nth-child(2n+1) {
  background-color: #F9F9F9;
}
#rex-delete-role-dialog .rex-role-name-column > label {
  display: inline-block;
  width: 100%;
}
#rex-delete-role-dialog .rex-role-usage-column {
  width: 6em;
  max-width: 30%;
  color: #888;
  text-align: right;
}

#rex-editable-roles-container {
  display: flex;
}
#rex-editable-roles-container .ame-role-table {
  min-width: 190px;
  border: 1px solid #ccd0d4;
  border-right-style: none;
}
#rex-editable-roles-container .ame-role-table td {
  cursor: pointer;
}
#rex-editable-roles-container .ame-selected-role-table-row {
  background: #CCE8FF;
}
#rex-editable-roles-container .ame-selected-role-table-row .ame-selected-role-tip {
  visibility: visible;
}
#rex-editable-roles-container .ame-selected-role-table-row .ame-column-role-name {
  font-weight: bold;
}
#rex-editable-roles-container .ame-column-selected-role-tip {
  position: relative;
  padding: 0;
  min-width: 30px;
}
#rex-editable-roles-container .ame-selected-role-tip {
  visibility: hidden;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  right: -2px;
  border-right: 1px solid white;
}
#rex-editable-roles-container .ame-selected-role-tip .ame-rex-svg-triangle {
  box-sizing: border-box;
  position: absolute;
  right: 0;
  height: 100%;
}
#rex-editable-roles-container .ame-selected-role-tip .ame-rex-svg-triangle polygon {
  fill: white;
  stroke: white;
  stroke-width: 1px;
}

#rex-editable-roles-options {
  padding: 4px 10px 10px 10px;
  border: 1px solid #ccd0d4;
}
#rex-editable-roles-options fieldset > p:first-of-type {
  margin-top: 0;
}

#rex-editable-role-list {
  margin-left: 1em;
  margin-top: 0;
}

#rex-editable-roles-placeholder-content {
  padding: 0 10px;
}
#rex-editable-roles-placeholder-content, #rex-editable-roles-placeholder-content p {
  font-size: 15px;
}
#rex-editable-roles-placeholder-content h3, #rex-editable-roles-placeholder-content h4 {
  margin-top: 0;
}
#rex-editable-roles-placeholder-content ul {
  list-style: disc outside;
  margin-top: 0;
  margin-left: 1em;
}
#rex-editable-roles-placeholder-content .dashicons {
  font-size: 15px;
  vertical-align: baseline;
}

#rex-user-role-list {
  max-width: 240px;
  border-right: 1px solid #ccd0d4;
  padding: 10px 8px;
  background: #f8f8f8;
}
#rex-user-role-list p:first-child {
  margin-top: 0;
}

#rex-primary-user-role {
  display: block;
  max-width: 100%;
}

.rex-user-role-option-list {
  margin-top: 0;
}
.rex-user-role-option-list li {
  margin-bottom: 0;
  padding: 0;
}
.rex-user-role-option-list li label {
  display: block;
  box-sizing: border-box;
  font-size: 13px;
  line-height: 18px;
  padding: 3px 0 6px 4px;
  margin-left: -4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#rex-reset-roles-dialog {
  font-size: 1em;
  position: relative;
}
#rex-reset-roles-dialog .rex-dialog-section {
  margin-bottom: 1em;
}
#rex-reset-roles-dialog .rex-dialog-section p {
  margin: 0 0 4px 0;
}
#rex-reset-roles-dialog h4 {
  margin: 0 0 6px 0;
}

.rex-rr-change {
  font-weight: 600;
}

.rex-rr-positive-change {
  color: green;
}

.rex-rr-negative-change {
  color: red;
}

.rex-rr-no-changes {
  color: #8c8f94;
}

.rex-rr-role-options .rex-rr-checkbox-col {
  padding: 11px 0 0 3px;
  width: 1.8em;
  vertical-align: top;
}
.rex-rr-role-options thead .rex-rr-checkbox-col {
  padding-top: 4px;
  vertical-align: middle;
}
.rex-rr-role-options label {
  vertical-align: baseline;
}
.rex-rr-role-options .rex-rr-name-col {
  width: 35%;
}

#rex-rr-role-options-container {
  max-height: 500px;
  overflow-y: auto;
}

#rex-rr-info-text ul {
  list-style: disc;
  margin-top: 0;
  margin-left: 1.2em;
}

.rex-rr-version-notice-major,
.rex-rr-version-notice-none {
  font-weight: bold;
}

.rex-rr-version-notice-major,
.rex-rr-version-notice-none {
  color: #d63638;
  display: block;
}

#rex-rr-load-overlay {
  position: absolute;
  box-sizing: border-box;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  padding: 8px;
  margin: 0;
}

#rex-rr-loading-message {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
#rex-rr-loading-message .spinner {
  margin: 0;
  float: none;
}

.rex-rr-reset-roles-dialog {
  max-height: calc(100vh - var(--wp-admin--admin-bar--height, 32px) - 40px);
  display: flex;
  flex-direction: column;
}
.rex-rr-reset-roles-dialog .ui-dialog-content {
  flex-grow: 1;
  flex-shrink: 1;
  overflow-y: auto;
}

/*
Standard WordPress admin colors.

Announcement post:
https://make.wordpress.org/core/2021/02/23/standardization-of-wp-admin-colors-in-wordpress-5-7/

Source:
https://codepen.io/ryelle/pen/WNGVEjw

A "wp" prefix has been added to avoid name conflicts with other code in this plugin.
 */
.rex-rm-role-options .rex-rm-checkbox-col {
  padding: 11px 0 0 3px;
  width: 1.8em;
  vertical-align: top;
}
.rex-rm-role-options thead .rex-rm-checkbox-col {
  padding-top: 4px;
  vertical-align: middle;
}
.rex-rm-role-options label {
  vertical-align: baseline;
}
.rex-rm-role-options .rex-rm-name-col {
  width: 35%;
}
.rex-rm-role-options #rex-rm-toggle-all[type=checkbox]:indeterminate {
  background: #fff;
}
.rex-rm-role-options #rex-rm-toggle-all[type=checkbox]:indeterminate:before {
  content: "";
  display: block;
  float: left;
  margin: 0.125rem 0 0 0.125rem;
  width: 0.625rem;
  height: 0.625rem;
  line-height: 0.625rem;
  background: var(--wp-admin-theme-color, #1e8cbe);
}
@media screen and (max-width: 782px) {
  .rex-rm-role-options #rex-rm-toggle-all[type=checkbox]:indeterminate:before {
    height: 0.9375rem;
    width: 0.9375rem;
    line-height: 0.9375rem;
    margin: 0.25rem 0 0 0.25rem;
    font-family: unset;
    font-weight: normal;
  }
}

.rex-rm-change {
  font-weight: 600;
}

.rex-rm-positive-change, .rex-rm-added-caps li {
  color: green;
}

.rex-rm-negative-change, .rex-rm-removed-caps li {
  color: red;
}

.rex-rm-no-changes {
  color: #8c8f94;
  font-weight: normal;
}

.rex-rm-section {
  margin-bottom: 1em;
}

.rex-rm-role-merging-settings h4 {
  margin: 0 0 6px 0;
}
.rex-rm-role-merging-settings p {
  margin: 0 0 4px 0;
}

.rex-rm-has-details .rex-rm-change-texts {
  cursor: pointer;
}

.rex-rm-change-expand-indicator {
  color: #8c8f94;
  line-height: 1;
  font-size: 92.3076923077%;
}
.rex-rm-change-texts:hover .rex-rm-change-expand-indicator {
  color: #23282d;
}
.rex-rm-change-expand-indicator:after {
  content: "▶";
}
.rex-rm-panel-open .rex-rm-change-expand-indicator:after {
  content: "▲";
}

.rex-rm-cap-details-panel {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 2em;
  row-gap: 4px;
  border: 1px solid #dcdcde;
  border-radius: 4px;
  background: #fff;
  margin-top: 8px;
}
.rex-rm-cap-details-panel h4 {
  display: none;
  margin-top: 0;
}
.rex-rm-cap-details-panel ul {
  line-height: 1.5em;
  list-style: none;
  margin: 0;
}
.rex-rm-cap-details-panel li {
  margin: 0 0 6px 0;
}

.rex-rm-removed-caps li:before {
  content: "− ";
  font-weight: 600;
}

.rex-rm-added-caps li:before {
  content: "+ ";
  font-weight: 600;
}

.rex-rm-cap-details-section {
  padding: 8px 12px;
}

.rex-rm-other-change-list {
  margin: 0;
  border-spacing: 0;
}
.rex-rm-other-change-list td {
  padding: 0 0 6px 0;
  line-height: 1.5em;
}
.rex-rm-other-change-list td.rex-rm-cap-name {
  padding-right: 1em;
}
.rex-rm-other-change-list .rex-rm-cap-old-state, .rex-rm-other-change-list .rex-rm-cap-new-state {
  text-align: center;
  font-variant: small-caps;
}
.rex-rm-other-change-list .rex-rm-cap-state-enabled {
  color: green;
}
.rex-rm-other-change-list .rex-rm-cap-state-denied {
  color: red;
}
.rex-rm-other-change-list .rex-rm-cap-change-indicator {
  width: 1.5em;
  text-align: center;
  font-weight: 600;
  font-size: 120%;
  line-height: 1;
  vertical-align: middle;
}

/*# sourceMappingURL=role-editor.css.map */
