/*
 * CBA_ACTIVITY_CENTER_STYLES_V1
 */

.cba-category-ballot-session {
  display: none !important;
}

.cba-activity-launcher {
  display: flex;
  width: 100%;
  min-height: 50px;
  margin: 18px 0;
  padding: 12px 16px;
  border: 1px solid #d9dde5;
  border-radius: 12px;
  background: #ffffff;
  color: #111111;
  align-items: center;
  gap: 10px;
  text-align: left;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cba-activity-launcher:hover {
  border-color: #111111;
}

.cba-activity-launcher-icon {
  color: #ff3c57;
  font-size: 15px;
}

.cba-activity-badge {
  min-width: 24px;
  margin-left: auto;
  padding: 3px 7px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.cba-activity-overlay {
  position: fixed;
  z-index: 999999;
  inset: 0;
  padding: 24px;
  background: rgba(17, 17, 17, 0.46);
  overflow: auto;
}

.cba-activity-overlay[hidden] {
  display: none !important;
}

.cba-activity-open {
  overflow: hidden;
}

.cba-activity-panel {
  width: min(680px, 100%);
  max-height: calc(100vh - 48px);
  margin: 0 auto;
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    0 24px 80px
    rgba(17, 17, 17, 0.24);
  overflow: hidden;
}

.cba-activity-header {
  display: flex;
  padding: 22px 24px 16px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.cba-activity-header span {
  display: block;
  margin-bottom: 4px;
  color: #737b8c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cba-activity-header h2 {
  margin: 0;
  color: #111111;
  font-size: 24px;
  line-height: 1.2;
}

.cba-activity-close {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f0f2f6;
  color: #4d5565;
  font-size: 26px;
  line-height: 38px;
  cursor: pointer;
}

.cba-activity-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 24px;
  border-bottom: 1px solid #e3e6ec;
}

.cba-activity-tabs button {
  padding: 13px 10px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #737b8c;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cba-activity-tabs button.is-active {
  border-bottom-color: #ff3c57;
  color: #111111;
  border-radius: 0;
}

.cba-activity-body {
  max-height: calc(100vh - 190px);
  padding: 20px 24px 28px;
  overflow: auto;
}

.cba-activity-list,
.cba-manage-list {
  display: grid;
  gap: 10px;
}

.cba-activity-row,
.cba-manage-row {
  display: flex;
  padding: 14px;
  border: 1px solid #e0e4eb;
  border-radius: 12px;
  background: #ffffff;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cba-activity-row-copy,
.cba-manage-copy {
  min-width: 0;
}

.cba-activity-row-copy strong,
.cba-manage-copy strong {
  display: block;
  color: #111111;
  font-size: 14px;
  line-height: 1.35;
}

.cba-activity-row-copy span,
.cba-manage-copy span {
  display: block;
  margin-top: 3px;
  color: #737b8c;
  font-size: 12px;
  text-transform: capitalize;
}

.cba-activity-row-copy p {
  margin: 7px 0 0;
  color: #148238;
  font-size: 12px;
  font-weight: 700;
}

.cba-activity-row a {
  flex: 0 0 auto;
  color: #111111;
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
}

.cba-activity-empty {
  padding: 26px 18px;
  border: 1px dashed #ccd2dd;
  border-radius: 12px;
  text-align: center;
}

.cba-activity-empty strong {
  display: block;
  color: #111111;
}

.cba-activity-empty p {
  max-width: 420px;
  margin: 7px auto 0;
  color: #737b8c;
  font-size: 13px;
  line-height: 1.5;
}

.cba-activity-loading {
  padding: 30px;
  color: #737b8c;
  text-align: center;
}

.cba-activity-body h3 {
  margin: 24px 0 10px;
  color: #111111;
  font-size: 14px;
}

.cba-activity-body h3:first-child {
  margin-top: 0;
}

.cba-manage-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.cba-manage-notify,
.cba-manage-remove,
.cba-activity-primary {
  padding: 8px 11px;
  border: 1px solid #cdd2dc;
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.cba-manage-notify.is-on {
  border-color: #ff3c57;
  background: #ff3c57;
  color: #ffffff;
}

.cba-manage-remove {
  color: #a92a3d;
}

.cba-activity-primary {
  margin-top: 16px;
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

@media (max-width: 640px) {
  .cba-activity-overlay {
    padding: 0;
  }

  .cba-activity-panel {
    width: 100%;
    min-height: 100vh;
    max-height: none;
    border-radius: 0;
  }

  .cba-activity-body {
    max-height: calc(100vh - 145px);
    padding-right: 16px;
    padding-left: 16px;
  }

  .cba-activity-header,
  .cba-activity-tabs {
    padding-right: 16px;
    padding-left: 16px;
  }

  .cba-activity-row,
  .cba-manage-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .cba-manage-actions {
    width: 100%;
  }

  .cba-manage-actions button {
    flex: 1;
  }
}


/*
 * CBA_ACTIVITY_CENTER_HEADER_FILTERS_V2
 */

/* The old full-width ballot launcher is no longer used. */
.cba-activity-launcher {
  display: none !important;
}

/* Compact circular control beside the main header ellipsis. */
.cba-activity-header-trigger {
  position: relative;
  display: inline-flex !important;
  width: 42px;
  height: 42px;
  min-width: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f0f1f3;
  color: #111111;
  align-items: center;
  justify-content: center;
  appearance: none;
  cursor: pointer;
}

.cba-activity-header-trigger:hover {
  background: #e2e4e8;
}

.cba-activity-header-trigger:focus-visible {
  outline: 2px solid #ff3c57;
  outline-offset: 2px;
}

.cba-activity-header-bell {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
}

.cba-activity-header-trigger
.cba-activity-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  display: block;
  min-width: 19px;
  height: 19px;
  margin: 0;
  padding: 0 5px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  line-height: 15px;
  text-align: center;
}

.cba-activity-header-trigger
.cba-activity-badge[hidden] {
  display: none !important;
}

/* Type and status filtering in the Manage tab. */
.cba-manage-filters {
  display: grid;
  margin-bottom: 20px;
  gap: 14px;
}

.cba-manage-filter-group {
  display: grid;
  gap: 7px;
}

.cba-manage-filter-label {
  color: #737b8c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cba-manage-filter-buttons {
  display: flex;
  max-width: 100%;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.cba-manage-filter {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid #d4d9e2;
  border-radius: 999px;
  background: #ffffff;
  color: #596172;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}

.cba-manage-filter:hover {
  border-color: #111111;
  color: #111111;
}

.cba-manage-filter.is-active {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

/* Entire activity item is now the navigation control. */
.cba-activity-row.is-clickable {
  cursor: pointer;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    transform 140ms ease;
}

.cba-activity-row.is-clickable:hover {
  border-color: #c8ced8;
  background: #f5f6f8;
}

.cba-activity-row.is-clickable:active {
  transform: translateY(1px);
}

.cba-activity-row.is-clickable:focus-visible {
  border-color: #ff3c57;
  outline: 2px solid rgba(255, 60, 87, 0.2);
  outline-offset: 2px;
}

/* Old independent text links are no longer rendered. */
.cba-activity-row > a {
  display: none !important;
}

@media (max-width: 760px) {
  .cba-activity-header-trigger {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .cba-manage-filter-buttons {
    padding-bottom: 3px;
  }
}

/*
 * CBA_ACTIVITY_CENTER_CARD_BELL_MODAL_FIX_V3
 *
 * Match the contextual nominee bell while using the requested path
 * fills for the persistent header activity center.
 */
.custom_header
.cba-activity-header-trigger.cba-context-bell-trigger {
  position: relative;
  display: inline-flex !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  align-items: center !important;
  justify-content: center !important;
  appearance: none;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.custom_header
.cba-activity-header-trigger
.cba-context-bell-icon {
  display: block;
  width: 30px !important;
  height: 33.378px !important;
  overflow: visible;
  pointer-events: none;
}

/* Requested icon fills. */
.custom_header
.cba-activity-header-trigger
#inner-fill {
  fill: #000000 !important;
  stroke: none !important;
}

.custom_header
.cba-activity-header-trigger
#stroke {
  fill: #f0f1f3 !important;
  stroke: none !important;
}

.custom_header
.cba-activity-header-trigger
.cba-context-bell-dot {
  position: absolute;
  top: 5px;
  right: 4px;
  display: block;
  width: 9px;
  height: 9px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #ff3c57;
  pointer-events: none;
}

.custom_header
.cba-activity-header-trigger
.cba-context-bell-dot[hidden] {
  display: none !important;
}

/* Keep the numeric count available to screen readers only. */


.custom_header
.cba-activity-header-trigger:hover
#stroke {
  fill: #e1e3e7 !important;
}

.custom_header
.cba-activity-header-trigger:focus-visible {
  outline: 2px solid #ff3c57 !important;
  outline-offset: 2px !important;
}

@media (max-width: 760px) {
  .custom_header
  .cba-activity-header-trigger.cba-context-bell-trigger {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }

  .custom_header
  .cba-activity-header-trigger
  .cba-context-bell-icon {
    width: 27px !important;
    height: auto !important;
  }
}

/*
 * CBA_BALLOT_ACTIVITY_CLEANUP_V4
 *
 * Match the header ellipsis control:
 * - gray circular background
 * - black bell body
 * - light-gray outer bell path
 */
.custom_header
.cba-activity-header-trigger.cba-context-bell-trigger {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #f0f1f3 !important;
  box-shadow: none !important;
}

.custom_header
.cba-activity-header-trigger.cba-context-bell-trigger:hover {
  background: #e2e4e8 !important;
}

.custom_header
.cba-activity-header-trigger
.cba-context-bell-icon {
  width: 22px !important;
  height: auto !important;
}

.custom_header
.cba-activity-header-trigger
#inner-fill {
  fill: #000000 !important;
  stroke: none !important;
}

.custom_header
.cba-activity-header-trigger
#stroke {
  fill: #f0f1f3 !important;
  stroke: none !important;
}

.custom_header
.cba-activity-header-trigger:hover
#stroke {
  fill: #e2e4e8 !important;
}


/*
 * CBA_ACTIVITY_RELATIONSHIP_STATE_COLLAPSE_V5
 */
.custom_header
.cba-activity-header-trigger
.cba-context-bell-icon {
  width: 22px !important;
  height: auto !important;
}

/*
 * CBA_ACTIVITY_UNSEEN_DOT_V2
 *
 * Core Activity code may track whether activity exists. The sitewide
 * loader exclusively controls whether the red unseen dot is visible.
 */
.custom_header
.cba-activity-header-trigger
.cba-context-bell-dot {
  display: none !important;
}



.cba-activity-auth-actions {
  display: flex;
  margin-top: 16px;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cba-activity-auth-actions
.cba-activity-primary {
  margin-top: 0;
}

.cba-activity-secondary {
  display: inline-flex;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #111111;
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}


/*
 * CBA_ACTIVITY_INDICATOR_CLEANUP_V4
 */
.custom_header .cba-activity-header-trigger[data-unseen="1"] .cba-context-bell-dot {
  position: absolute;
  top: 4px !important;
  right: 3px !important;
  display: block !important;
  width: 9px !important;
  height: 9px !important;
  border: none;
  border-radius: 50% !important;
  background: #ff3c57 !important;
}

/*
 * CBA_NOTIFICATION_PREFERENCES_FOUNDATION_V1
 */

.cba-email-preference-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 22px;
  padding: 17px;
  border: 1px solid #d8dde6;
  border-radius: 12px;
  background: #f8f9fb;
  gap: 18px;
  align-items: center;
}

.cba-email-preference-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.cba-email-preference-copy strong {
  color: #111;
  font-size: 15px;
  line-height: 1.3;
}

.cba-email-preference-copy span {
  color: #596172;
  font-size: 13px;
  line-height: 1.45;
}

.cba-email-preference-controls {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.cba-email-preference-toggle {
  margin: 0;
  display: inline-flex;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid #cfd4dc;
  border-radius: 9px;
  background: #fff;
  color: #111;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.cba-email-preference-toggle input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #ff3c57;
  align-self: center;
}

.cba-email-preference-toggle input:disabled {
  cursor: not-allowed;
}

.cba-email-preference-frequency {
  min-height: 38px;
  padding: 7px 32px 7px 10px;
  border: 1px solid #cfd4dc;
  border-radius: 9px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 13px;
}

.cba-email-preference-frequency:disabled {
  opacity: .55;
  cursor: not-allowed;
}


@media (max-width: 640px) {
  .cba-email-preference-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .cba-email-preference-controls {
    justify-items: stretch;
  }

  .cba-email-preference-toggle {
    justify-content: center;
  }

  .cba-email-preference-frequency {
    width: 100%;
  }
}


/*
 * CBA_NOTIFICATION_PREFERENCES_DEFAULT_ON_V2
 * New email preferences default on with a daily summary.
 * Checkbox alignment corrected.
 */


/*
 * CBA_EMAIL_PREFERENCE_STATUS_REMOVED_V3
 * Removed the unused email-preference status element.
 */

/*
 * CBA_NOMINATION_OWNER_APPROVAL_CSS_V1
 */
.cba-activity-nomination-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.cba-activity-nomination-actions button {
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid #111;
  border-radius: 7px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.cba-activity-nomination-approve {
  background: #111;
  color: #fff;
}

.cba-activity-nomination-decline {
  background: #fff;
  color: #111;
}

.cba-activity-nomination-actions.is-busy button,
.cba-activity-nomination-actions button:disabled {
  cursor: wait;
  opacity: .55;
}

.cba-activity-nomination-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
}

.cba-activity-nomination-status.is-approved {
  color: #176b3a;
  background: #edf9f2;
}

.cba-activity-nomination-status.is-declined {
  color: #8b2525;
  background: #fff1f1;
}

.cba-activity-nomination-status.is-pending {
  color: #66520a;
  background: #fff9dd;
}

@media (max-width: 480px) {
  .cba-activity-nomination-actions {
    width: 100%;
  }

  .cba-activity-nomination-actions button {
    flex: 1 1 110px;
  }
}

/*
 * CBA_POST_OWNER_APPROVAL_EMPTY_ACTIONS_V1
 *
 * Do not reserve space for approval-control containers that no
 * longer contain an actionable button.
 */
.cba-activity-nomination-actions:empty {
  display: none;
}

/*
 * CBA_POST_APPROVAL_CUSTOM_FEEDBACK_CSS_V1
 */
.cba-activity-post-edit-decision {
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid #111;
  border-radius: 7px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.cba-post-approval-confirm {
  flex: 1 0 100%;
  margin-top: 4px;
  padding: 12px;
  border: 1px solid #d7dce3;
  border-radius: 9px;
  background: #f7f8fa;
}

.cba-post-approval-confirm p {
  margin: 0 0 10px;
  color: #111;
  font-size: 13px;
  font-weight: 700;
}

.cba-post-approval-confirm-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cba-post-approval-confirm-decline {
  background: #8b2525 !important;
  border-color: #8b2525 !important;
  color: #fff !important;
}

.cba-post-approval-confirm-cancel {
  background: #fff !important;
  color: #111 !important;
}

.cba-post-approval-toast {
  position: fixed;
  z-index: 100000;
  right: 22px;
  bottom: 22px;
  max-width: min(390px, calc(100vw - 32px));
  padding: 13px 16px;
  border: 1px solid #d7dce3;
  border-radius: 10px;
  background: #111;
  color: #fff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .22);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity .18s ease,
    transform .18s ease;
}

.cba-post-approval-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cba-post-approval-toast.is-error {
  background: #8b2525;
}

.cba-post-approval-toast.is-success {
  background: #176b3a;
}

@media (max-width: 600px) {
  .cba-post-approval-toast {
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: none;
  }
}

/*
 * CBA_POST_APPROVAL_REVIEW_MODAL_CSS_V1
 */
.cba-activity-row.is-clickable {
  cursor: pointer;
}

.cba-activity-row.is-clickable:hover {
  border-color: #aeb7c4;
  background: #fafbfc;
}

.cba-post-approval-review-overlay {
  position: fixed;
  z-index: 100001;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(18, 22, 29, .56);
}

.cba-post-approval-review {
  width: min(600px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.cba-post-approval-review > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid #e3e6eb;
}

.cba-post-approval-review-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #6d7788;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.cba-post-approval-review h3 {
  margin: 0;
  color: #111;
  font-size: 23px;
  line-height: 1.2;
}

.cba-post-approval-review-close {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f0f2f5;
  color: #596272;
  font-size: 26px;
  line-height: 38px;
  cursor: pointer;
}

.cba-post-approval-review-author {
  margin: 0;
  padding: 18px 24px 0;
  color: #626d7c;
  font-size: 14px;
  font-weight: 600;
}

.cba-post-approval-review-body {
  margin: 18px 24px;
  padding: 18px;
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  background: #f7f8fa;
  color: #17191d;
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.cba-post-approval-review-actions {
  padding: 0 24px 24px;
}

.cba-post-approval-review-actions
.cba-activity-nomination-actions {
  margin-top: 0;
}

@media (max-width: 600px) {
  .cba-post-approval-review-overlay {
    align-items: end;
    padding: 0;
  }

  .cba-post-approval-review {
    width: 100%;
    max-height: 88vh;
    border-radius: 18px 18px 0 0;
  }
}

/*
 * CBA_POST_APPROVAL_REVIEW_MODAL_LAYER_CSS_V2
 */

html.cba-post-review-open,
body.cba-post-review-open {
  overflow: hidden !important;
}

.cba-post-approval-review-overlay {
  position: fixed !important;
  z-index: 2147483000 !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  padding: 24px !important;
  background: rgba(14, 19, 27, .68) !important;
  backdrop-filter: blur(2px);
}

.cba-post-approval-review {
  position: relative !important;
  width: min(640px, 100%) !important;
  max-height: calc(100vh - 48px) !important;
  overflow: auto !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(215, 220, 228, .9) !important;
  border-radius: 18px !important;
  background: #fff !important;
  color: #15171a !important;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, .34),
    0 4px 14px rgba(0, 0, 0, .12) !important;
}

.cba-post-approval-review-header {
  position: static !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 18px !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 22px 24px 18px !important;
  border: 0 !important;
  border-bottom: 1px solid #e3e7ed !important;
  background: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}

.cba-post-approval-review-heading {
  min-width: 0;
}

.cba-post-approval-review-eyebrow {
  display: block !important;
  margin: 0 0 5px !important;
  color: #6f7989 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: .09em !important;
}

.cba-post-approval-review h3 {
  margin: 0 !important;
  color: #111318 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

.cba-post-approval-review-business {
  margin: 5px 0 0 !important;
  color: #525d6d !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
}

.cba-post-approval-review-close {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  margin: 0 !important;
  padding: 0 0 2px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #eef1f5 !important;
  color: #536071 !important;
  box-shadow: none !important;
  font-family: Arial, sans-serif !important;
  font-size: 26px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.cba-post-approval-review-close:hover,
.cba-post-approval-review-close:focus-visible {
  background: #e1e5eb !important;
  color: #111318 !important;
  outline: 2px solid #111318;
  outline-offset: 2px;
}

.cba-post-approval-review-author {
  margin: 0 !important;
  padding: 18px 24px 0 !important;
  color: #697485 !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.4 !important;
}

.cba-post-approval-review-body {
  display: block !important;
  min-height: 72px !important;
  margin: 16px 24px 18px !important;
  padding: 17px 18px !important;
  box-sizing: border-box !important;
  border: 1px solid #dce1e8 !important;
  border-radius: 11px !important;
  background: #f6f8fa !important;
  color: #20242a !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
}

.cba-post-approval-review-actions {
  display: block !important;
  margin: 0 !important;
  padding: 0 24px 24px !important;
}

.cba-post-approval-review-actions
.cba-activity-nomination-actions {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 9px !important;
  margin: 0 !important;
}

.cba-post-approval-review-actions button {
  min-height: 36px;
}

@media (max-width: 600px) {
  .cba-post-approval-review-overlay {
    align-items: flex-end !important;
    padding: 0 !important;
  }

  .cba-post-approval-review {
    width: 100% !important;
    max-height: 90vh !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-radius: 18px 18px 0 0 !important;
  }

  .cba-post-approval-review-header {
    padding: 19px 18px 16px !important;
  }

  .cba-post-approval-review-author {
    padding: 16px 18px 0 !important;
  }

  .cba-post-approval-review-body {
    margin: 14px 18px 17px !important;
  }

  .cba-post-approval-review-actions {
    padding: 0 18px 22px !important;
  }
}


/*
 * CBA_ACTIVITY_MANAGE_NOMINATION_APPROVALS_V1
 *
 * Pending business nomination approvals are shown at the top of
 * the existing Manage tab. Existing Activity rows and approval
 * controls are reused.
 */
.cba-manage-approval-section {
  margin: 0 0 22px;
  padding: 16px;
  border: 1px solid #d9dee8;
  border-radius: 14px;
  background: #f8faff;
}

.cba-manage-approval-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.cba-manage-approval-heading h3 {
  margin: 2px 0 4px;
  font-size: 18px;
  line-height: 1.25;
}

.cba-manage-approval-heading p {
  margin: 0;
  color: #687083;
  font-size: 13px;
  line-height: 1.45;
}

.cba-manage-approval-eyebrow {
  display: block;
  color: #6c7487;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cba-manage-approval-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 30px;
  min-height: 30px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #ff3156;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.cba-manage-approval-list {
  gap: 10px;
}

.cba-manage-approval-list .cba-activity-row {
  background: #fff;
}

@media (max-width: 560px) {
  .cba-manage-approval-section {
    padding: 13px;
  }

  .cba-manage-approval-heading {
    gap: 10px;
  }
}



/*
 * CBA_ACTIVITY_NOMINATION_RESOLVED_EDIT_V2
 */
.cba-activity-nomination-edit {
  background: #fff;
  color: #111;
}

.cba-activity-nomination-edit:hover,
.cba-activity-nomination-edit:focus-visible {
  background: #f2f4f7;
}



/*
 * CBA_ACTIVITY_MANAGE_POST_APPROVALS_V1
 */
.cba-manage-post-approval-section {
  background: #fffaf0;
  border-color: #ead9ad;
}

.cba-manage-post-approval-section
.cba-manage-approval-count {
  background: #b87500;
}

