/* Historico estruturado v164. Intencionalmente nao estiliza #sourcePage. */
html body.cvx-on #cvHistoryPanel .cv-history-readiness {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  margin: 10px 0 0;
  padding: 9px 10px;
  border: 1px solid #aebdd0;
  border-radius: 7px;
  background: #f5f8fc;
  color: #172d4e;
  box-shadow: 0 2px 7px rgba(25, 49, 82, 0.06);
}

html body.cvx-on #cvHistoryPanel .cv-history-readiness-icon {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #dfe8f4;
  color: #254f85;
}

html body.cvx-on #cvHistoryPanel .cv-history-readiness-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html body.cvx-on #cvHistoryPanel .cv-history-readiness-copy {
  min-width: 0;
}

html body.cvx-on #cvHistoryPanel .cv-history-readiness-copy strong,
html body.cvx-on #cvHistoryPanel .cv-history-readiness-copy span {
  display: block;
  letter-spacing: 0;
}

html body.cvx-on #cvHistoryPanel .cv-history-readiness-copy strong {
  color: inherit;
  font: 900 11px/1.2 Arial, sans-serif;
  text-transform: uppercase;
}

html body.cvx-on #cvHistoryPanel .cv-history-readiness-copy span {
  margin-top: 2px;
  color: #53657d;
  font: 700 9px/1.35 Arial, sans-serif;
}

html body.cvx-on #cvHistoryPanel .cv-history-readiness[data-state="ready"] {
  border-color: #75b995;
  background: #f0faf5;
  color: #176640;
}

html body.cvx-on #cvHistoryPanel .cv-history-readiness[data-state="ready"] .cv-history-readiness-icon {
  background: #d6f1e2;
  color: #187148;
}

html body.cvx-on #cvHistoryPanel .cv-history-readiness[data-state="incomplete"] {
  border-color: #d5ae61;
  background: #fff9eb;
  color: #78500b;
}

html body.cvx-on #cvHistoryPanel .cv-history-readiness[data-state="incomplete"] .cv-history-readiness-icon {
  background: #f9e8bc;
  color: #91620d;
}

html body.cvx-on #cvHistoryPanel .cv-history-readiness[data-state="offline"] {
  border-color: #b8c2d0;
  background: #f4f6f9;
  color: #4f5e73;
}

html body.cvx-on #cvHistoryPanel .cv-history-sync-mark {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding: 0 6px;
  border-radius: 11px;
  background: #e4ebf4;
  color: #40536c;
  font: 900 8px/1 Arial, sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
}

html body.cvx-on #cvHistoryPanel .cv-history-sync-mark[data-sync="syncing"] {
  color: #164f91;
  background: #dcecff;
}

html body.cvx-on #cvHistoryPanel .cv-history-sync-mark[data-sync="error"] {
  color: #8e2932;
  background: #fde6e8;
}

html body.cvx-on #cvHistoryPanel .cv-structured-review {
  margin-top: 9px;
  border: 1px solid #b5c2d4;
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
}

html body.cvx-on #cvHistoryPanel .cv-structured-review[hidden] {
  display: none !important;
}

html body.cvx-on #cvHistoryPanel .cv-structured-review-toggle {
  display: grid !important;
  width: 100% !important;
  min-height: 36px !important;
  grid-template-columns: minmax(0, 1fr) auto 15px;
  align-items: center !important;
  gap: 7px;
  padding: 8px 10px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #eef4fb !important;
  color: #173760 !important;
  box-shadow: none !important;
  transform: none !important;
  font: 900 10px/1.2 Arial, sans-serif !important;
  letter-spacing: 0 !important;
  text-align: left !important;
}

html body.cvx-on #cvHistoryPanel .cv-structured-review-toggle:hover {
  background: #e2edf9 !important;
  box-shadow: inset 0 0 0 1px #9fb6d1 !important;
  transform: none !important;
}

html body.cvx-on #cvHistoryPanel .cv-structured-review-count {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 6px;
  border-radius: 10px;
  background: #2865ad;
  color: #fff;
  font: 900 9px/1 Arial, sans-serif;
}

html body.cvx-on #cvHistoryPanel .cv-structured-review-toggle svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  transition: transform 160ms ease;
}

html body.cvx-on #cvHistoryPanel .cv-structured-review.is-open .cv-structured-review-toggle svg {
  transform: rotate(180deg);
}

html body.cvx-on #cvHistoryPanel .cv-structured-review-list {
  display: none;
  max-height: 250px;
  overflow: auto;
  padding: 8px;
  border-top: 1px solid #b5c2d4;
  scrollbar-width: thin;
  scrollbar-color: #6584aa #e7edf5;
}

html body.cvx-on #cvHistoryPanel .cv-structured-review.is-open .cv-structured-review-list {
  display: grid;
  gap: 7px;
}

html body.cvx-on #cvHistoryPanel .cv-structured-review-list::-webkit-scrollbar {
  width: 8px;
}

html body.cvx-on #cvHistoryPanel .cv-structured-review-list::-webkit-scrollbar-track {
  background: #e7edf5;
}

html body.cvx-on #cvHistoryPanel .cv-structured-review-list::-webkit-scrollbar-thumb {
  border: 2px solid #e7edf5;
  border-radius: 8px;
  background: #6584aa;
}

html body.cvx-on #cvHistoryPanel .cv-structured-review-item {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid #c7d2e1;
  border-radius: 6px;
  background: #fbfcfe;
}

html body.cvx-on #cvHistoryPanel .cv-structured-review-item strong {
  color: #172d4e;
  font: 900 9px/1.2 Arial, sans-serif;
}

html body.cvx-on #cvHistoryPanel .cv-structured-review-item p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #4c5f78;
  font: 700 8.5px/1.35 Arial, sans-serif;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

html body.cvx-on #cvHistoryPanel .cv-structured-review-actions,
html body.cvx-on #cvHistoryPanel .cv-history-model-actions-v164 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

html body.cvx-on #cvHistoryPanel .cv-history-model-actions-v164 {
  margin-top: 2px;
}

html body.cvx-on #cvHistoryPanel .cv-history-model-section[hidden] {
  display: none !important;
}

html body.cvx-on #cvHistoryPanel .cv-structured-action,
html body.cvx-on #cvHistoryPanel .cv-history-model-action-v164 {
  display: inline-flex !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 29px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px;
  padding: 5px 4px !important;
  border: 1px solid #15579f !important;
  border-radius: 6px !important;
  background: #1767bd !important;
  color: #fff !important;
  box-shadow: 0 3px 7px rgba(24, 71, 124, 0.2) !important;
  font: 900 7.4px/1.1 Arial, sans-serif !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

html body.cvx-on #cvHistoryPanel .cv-structured-action:hover,
html body.cvx-on #cvHistoryPanel .cv-history-model-action-v164:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 10px rgba(24, 50, 82, 0.16) !important;
}

html body.cvx-on #cvHistoryPanel .cv-structured-action svg,
html body.cvx-on #cvHistoryPanel .cv-history-model-action-v164 svg {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html body.cvx-on #cvHistoryPanel .cv-structured-action.is-confirm,
html body.cvx-on #cvHistoryPanel .cv-history-model-action-v164.is-primary {
  border-color: #1b7448 !important;
  background: #1e8553 !important;
  color: #fff !important;
}

html body.cvx-on #cvHistoryPanel .cv-structured-action.is-reject,
html body.cvx-on #cvHistoryPanel .cv-history-model-action-v164.is-danger {
  border-color: #a9454d !important;
  background: #b33e49 !important;
  color: #fff !important;
}

html body.cvx-on #cvHistoryPanel .cv-history-model-action-v164.is-automatic {
  border-color: #b9780a !important;
  background: #c88913 !important;
  color: #fff !important;
}

html body.cvx-on #cvHistoryPanel .cv-history-model-action-v164.is-copy {
  border-color: #6543a4 !important;
  background: #7651bc !important;
  color: #fff !important;
}

html body.cvx-on #cvHistoryPanel .cv-history-model-section[data-history-model-group="manual"] > .cv-history-model-toggle {
  border-color: #4f86bd !important;
  background: #cfe6ff !important;
  color: #123f70 !important;
}

html body.cvx-on #cvHistoryPanel .cv-history-model-section[data-history-model-group="manual"].is-open > .cv-history-model-body {
  border-color: #7ca7d2 !important;
  background: #e1efff !important;
}

html body.cvx-on #cvHistoryPanel .cv-history-model-section[data-history-model-group="automatic"] > .cv-history-model-toggle {
  border-color: #8d5cba !important;
  background: #e4cff8 !important;
  color: #462365 !important;
}

html body.cvx-on #cvHistoryPanel .cv-history-model-section[data-history-model-group="automatic"].is-open > .cv-history-model-body {
  border-color: #aa7dce !important;
  background: #eee2f8 !important;
}

html body.cvx-on #cvHistoryPanel .cv-history-talent-section > .cv-history-model-toggle {
  border-color: #c2760f !important;
  background: #ffe6c2 !important;
  color: #6d3c05 !important;
}

html body.cvx-on #cvHistoryPanel .cv-history-talent-section.is-open > .cv-history-model-body {
  border-color: #d19a50 !important;
  background: linear-gradient(180deg, #f8e8d1 0%, #f3d6ad 55%, #f9ead7 100%) !important;
}

html body.cvx-on #cvHistoryPanel .cv-history-model-action-v164.is-talent {
  border-color: #9d5d09 !important;
  background: #b77313 !important;
  color: #fff !important;
}

html body.cvx-on #cvHistoryPanel .cv-history-model-action-v164.is-source {
  border-color: #16456f !important;
  background: #1e5686 !important;
  color: #fff !important;
}

html body.cvx-on #cvHistoryPanel .cv-history-model-action-v164.is-archive {
  border-color: #596a7f !important;
  background: #687a90 !important;
  color: #fff !important;
}

html body.cvx-on #cvHistoryPanel .cv-history-item.is-active {
  border: 2px solid #1767bd !important;
  background: #eef6ff !important;
  box-shadow:
    0 0 0 3px rgba(23, 103, 189, 0.13),
    0 7px 16px rgba(25, 67, 112, 0.13) !important;
}

html body.cvx-on #cvHistoryPanel .cv-history-item.is-active .cv-history-badge {
  border-color: #1767bd !important;
  background: #1767bd !important;
  color: #fff !important;
}

html body.cvx-on #cvHistoryPanel .cv-history-origin-v164 {
  margin-top: 1px;
  padding: 7px 8px;
  border-left: 3px solid #6687b1;
  background: #eef3f9;
  color: #40546e;
  font: 700 8px/1.35 Arial, sans-serif;
  letter-spacing: 0;
}

html body.cvx-on #cvHistoryPanel .cv-history-origin-v164[hidden] {
  display: none !important;
}

html body.cvx-on #cvHistoryPanel .cv-history-general-action:disabled {
  cursor: not-allowed !important;
  filter: grayscale(0.2);
  opacity: 0.62 !important;
  transform: none !important;
  box-shadow: none !important;
}

html body.cvx-on #cvHistoryPanel .cv-history-item[data-sync-state="pending"] {
  border-style: dashed !important;
}

html body.cvx-on #cvHistoryPanel .cv-history-item[data-sync-state="error"] {
  border-color: #c77379 !important;
}

@media (max-width: 420px) {
  html body.cvx-on #cvHistoryPanel .cv-history-readiness {
    grid-template-columns: 26px minmax(0, 1fr);
  }

  html body.cvx-on #cvHistoryPanel .cv-history-sync-mark {
    grid-column: 2;
    justify-self: start;
  }

  html body.cvx-on #cvHistoryPanel .cv-structured-review-list {
    max-height: 220px;
  }
}

@media print {
  .cv-history-readiness,
  .cv-structured-review,
  .cv-history-origin-v164,
  .cv-history-model-actions-v164 {
    display: none !important;
  }
}

/* Pessoas do Historico: identidade separada dentro da mesma conta. */
html body.cvx-on #cvHistoryPanel .cv-history-header {
  grid-template-columns: minmax(0, 1fr) max-content !important;
  grid-template-rows: auto auto !important;
  row-gap: 8px !important;
}

html body.cvx-on #cvHistoryPanel .cv-history-header-actions {
  display: contents !important;
}

html body.cvx-on #cvHistoryPanel .cv-history-person-trigger {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 38px !important;
  grid-template-columns: 25px minmax(0, 1fr) 22px;
  align-items: center !important;
  gap: 8px;
  padding: 6px 8px !important;
  border: 1px solid #aebed3 !important;
  border-radius: 7px !important;
  background: #eef4fb !important;
  color: #173760 !important;
  box-shadow: 0 3px 8px rgba(24, 55, 94, 0.08) !important;
  transform: none !important;
  text-align: left !important;
}

html body.cvx-on #cvHistoryPanel .cv-history-person-trigger:hover,
html body.cvx-on #cvHistoryPanel .cv-history-person-trigger:focus-visible {
  border-color: #3f79bd !important;
  background: #e5f0fc !important;
  box-shadow: 0 6px 14px rgba(24, 73, 130, 0.16) !important;
  transform: translateY(-1px) !important;
}

html body.cvx-on #cvHistoryPanel .cv-history-person-trigger-icon,
.cv-history-person-avatar {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #d9e9fb;
  color: #15589e;
}

html body.cvx-on #cvHistoryPanel .cv-history-person-trigger-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html body.cvx-on #cvHistoryPanel .cv-history-person-trigger-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

html body.cvx-on #cvHistoryPanel .cv-history-person-trigger-copy small,
html body.cvx-on #cvHistoryPanel .cv-history-person-trigger-copy strong {
  min-width: 0;
  overflow: hidden;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body.cvx-on #cvHistoryPanel .cv-history-person-trigger-copy small {
  color: #65768d;
  font: 700 8px/1 Arial, sans-serif;
  text-transform: uppercase;
}

html body.cvx-on #cvHistoryPanel .cv-history-person-trigger-copy strong {
  color: #173760;
  font: 900 10px/1.2 Arial, sans-serif;
}

html body.cvx-on #cvHistoryPanel .cv-history-person-count {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding: 0 5px;
  border-radius: 11px;
  background: #1f63aa;
  color: #fff;
  font: 900 9px/1 Arial, sans-serif;
}

html body.cvx-on #cvHistoryPanel #cvHistoryAffiliation {
  grid-column: 2;
  grid-row: 1;
}

.cv-history-people-overlay {
  position: fixed;
  z-index: 16000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 22, 43, 0.64);
  backdrop-filter: blur(5px);
}

.cv-history-people-overlay[hidden] {
  display: none !important;
}

.cv-history-people-dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 32px));
  overflow: hidden;
  border: 1px solid #9fb0c7;
  border-radius: 8px;
  background: #edf5ff;
  box-shadow: 0 26px 70px rgba(4, 19, 39, 0.32);
  color: #102b52;
  font-family: Arial, Helvetica, sans-serif;
}

.cv-history-people-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px 13px;
  border-bottom: 1px solid #aebed2;
  background: #fff;
}

.cv-history-people-header h2,
.cv-history-people-header p {
  margin: 0;
  letter-spacing: 0;
}

.cv-history-people-header h2 {
  color: #0d2548;
  font: 900 18px/1.15 Arial, sans-serif;
}

.cv-history-people-header p {
  margin-top: 4px;
  color: #586a82;
  font: 700 11px/1.35 Arial, sans-serif;
}

.cv-history-people-close {
  min-height: 32px !important;
  padding: 6px 12px !important;
  border: 1px solid #a93c47 !important;
  border-radius: 16px !important;
  background: #b74450 !important;
  color: #fff !important;
  box-shadow: 0 5px 12px rgba(151, 42, 53, 0.22) !important;
  font: 900 10px/1 Arial, sans-serif !important;
}

.cv-history-people-body {
  display: grid;
  gap: 12px;
  max-height: calc(min(720px, 100vh - 32px) - 78px);
  overflow-y: auto;
  padding: 14px 18px 18px;
  background: #edf5ff;
  scrollbar-width: thin;
  scrollbar-color: #6684a9 #e5ebf3;
}

.cv-history-people-guide {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid #a9bed8;
  border-radius: 7px;
  background: #f8fbff;
  box-shadow: 0 3px 10px rgba(25, 58, 99, 0.07);
}

.cv-history-people-guide-icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #dcecff;
  color: #1b5c9f;
  font: 900 16px/1 Arial, sans-serif;
}

.cv-history-people-guide strong,
.cv-history-people-guide p {
  margin: 0;
  letter-spacing: 0;
}

.cv-history-people-guide strong {
  display: block;
  color: #102b52;
  font: 900 11px/1.25 Arial, sans-serif;
}

.cv-history-people-guide p {
  margin-top: 3px;
  color: #526982;
  font: 700 9.5px/1.4 Arial, sans-serif;
}

.cv-history-people-body::-webkit-scrollbar {
  width: 8px;
}

.cv-history-people-body::-webkit-scrollbar-track {
  background: #e5ebf3;
}

.cv-history-people-body::-webkit-scrollbar-thumb {
  border: 2px solid #e5ebf3;
  border-radius: 8px;
  background: #6684a9;
}

.cv-history-people-create {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid #b9c8da;
  border-radius: 7px;
  background: #eef4fb;
}

.cv-history-people-create[hidden] {
  display: none !important;
}

.cv-history-people-create label {
  color: #173760;
  font: 900 10px/1.2 Arial, sans-serif;
}

.cv-history-people-create p {
  margin: 0;
  color: #607187;
  font: 700 9px/1.35 Arial, sans-serif;
}

.cv-history-people-create-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content max-content;
  gap: 7px;
}

.cv-history-people-create-row input {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  box-sizing: border-box;
  padding: 7px 10px;
  border: 1px solid #9fb3ca;
  border-radius: 6px;
  background: #fff;
  color: #102b52;
  font: 700 11px/1.2 Arial, sans-serif;
}

.cv-history-people-create-row button,
.cv-history-person-actions button {
  min-height: 32px !important;
  padding: 6px 11px !important;
  border: 1px solid #7f95af !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #29486f !important;
  box-shadow: none !important;
  transform: none !important;
  font: 900 9px/1 Arial, sans-serif !important;
}

.cv-history-people-create-row #cvHistoryPersonSave,
.cv-history-person-actions button.is-primary {
  border-color: #17633f !important;
  background: #238754 !important;
  color: #fff !important;
}

.cv-history-people-create-row button:hover,
.cv-history-person-actions button:hover:not(:disabled) {
  box-shadow: 0 5px 11px rgba(26, 61, 103, 0.16) !important;
  transform: translateY(-1px) !important;
}

.cv-history-people-create-row .cv-history-people-cancel {
  border-color: #a93c47 !important;
  color: #9a2e39 !important;
}

.cv-history-people-list {
  display: grid;
  gap: 8px;
}

.cv-history-person-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid #b7c5d7;
  border-radius: 7px;
  background: #fbfdff;
  box-shadow: 0 3px 9px rgba(26, 57, 96, 0.06);
}

.cv-history-person-row.is-active {
  border-color: #2b70ba;
  background: #fff;
  box-shadow: inset 4px 0 0 #2b70ba, 0 5px 14px rgba(26, 81, 145, 0.12);
}

.cv-history-person-row.is-archived {
  background: #f1f3f6;
  opacity: 0.82;
}

.cv-history-person-avatar {
  width: 34px;
  height: 34px;
  font: 900 10px/1 Arial, sans-serif;
}

.cv-history-person-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.cv-history-person-copy strong,
.cv-history-person-copy span {
  min-width: 0;
  letter-spacing: 0;
}

.cv-history-person-copy strong {
  overflow: hidden;
  color: #102b52;
  font: 900 12px/1.2 Arial, sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cv-history-person-copy span {
  color: #63748a;
  font: 700 9px/1.3 Arial, sans-serif;
}

.cv-history-person-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 1px 0;
}

.cv-history-person-badges .cv-history-person-badge {
  display: inline-grid;
  width: max-content;
  min-height: 18px;
  place-items: center;
  padding: 2px 7px;
  border: 1px solid #aabbd0;
  border-radius: 9px;
  background: #edf2f8;
  color: #39516f;
  font: 900 7.5px/1 Arial, sans-serif;
  white-space: nowrap;
}

.cv-history-person-badges .cv-history-person-badge.is-primary {
  border-color: #d7aa43;
  background: #fff6dc;
  color: #76500a;
}

.cv-history-person-badges .cv-history-person-badge.is-derived {
  border-color: #9ab4d4;
  background: #eaf3ff;
  color: #1e568f;
}

.cv-history-person-badges .cv-history-person-badge.is-active {
  border-color: #68aa85;
  background: #eaf8f0;
  color: #17623d;
}

.cv-history-person-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  max-width: 220px;
}

.cv-history-person-actions button.is-danger {
  border-color: #b64a55 !important;
  background: #b74450 !important;
  color: #fff !important;
}

.cv-history-person-actions button:not(.is-danger):not(.is-primary) {
  border-color: #2867aa !important;
  background: #2867aa !important;
  color: #fff !important;
}

.cv-history-person-actions button.is-danger:hover:not(:disabled) {
  background: #a43440 !important;
  color: #fff !important;
}

.cv-history-person-actions button:disabled {
  cursor: default;
  opacity: 0.72;
}

.cv-history-people-status {
  min-height: 16px;
  color: #4f627b;
  font: 700 10px/1.35 Arial, sans-serif;
}

.cv-history-people-status[data-tone="error"] {
  color: #a02f3a;
}

.cv-history-people-status[data-tone="success"] {
  color: #176640;
}

body.cv-history-people-open {
  overflow: hidden !important;
}

@media (max-width: 560px) {
  .cv-history-people-overlay {
    padding: 10px;
  }

  .cv-history-people-dialog {
    width: min(100%, calc(100vw - 20px));
    max-height: calc(100vh - 20px);
  }

  .cv-history-people-header,
  .cv-history-people-body {
    padding-left: 12px;
    padding-right: 12px;
  }

  .cv-history-people-create-row {
    grid-template-columns: minmax(0, 1fr) max-content;
  }

  .cv-history-people-create-row .cv-history-people-cancel {
    grid-column: 1 / -1;
  }

  .cv-history-person-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .cv-history-person-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .cv-history-people-guide {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .cv-history-people-guide-icon {
    width: 32px;
    height: 32px;
  }
}

@media print {
  .cv-history-people-overlay {
    display: none !important;
  }
}
