body.crm-profile-editing .crm-profile-card.is-self-edit .crm-profile-label-line {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}

.crm-profile-required-mark,
.crm-profile-field-error {
  display: none;
}

body.crm-profile-editing .crm-profile-card.is-self-edit .crm-profile-required-mark:not([hidden]) {
  display: inline;
  color: var(--crm-auth-error-color);
  font-size: 1.15em;
  font-weight: 850;
}

body.crm-profile-editing .crm-profile-card.is-self-edit .crm-profile-field-error:not(:empty) {
  display: block;
  color: var(--crm-auth-error-color);
  font-size: 9px;
  font-weight: 650;
  line-height: 1.35;
}

body.crm-profile-editing .crm-profile-card.is-self-edit input[readonly] {
  cursor: default;
  background: var(--crm-auth-panel-background);
  color: var(--crm-auth-muted);
}

body.crm-profile-editing .crm-profile-card.is-self-edit input[aria-invalid="true"] {
  border-color: var(--crm-auth-error-color);
  box-shadow: 0 0 0 3px color-mix(in srgb,var(--crm-auth-error-color) 14%,transparent);
}

body.crm-profile-editing .crm-profile-card.is-self-edit .crm-profile-password-confirm-field {
  grid-column: 1 / -1;
}

.crm-profile-notifications {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 13px;
  border: 1px solid var(--crm-auth-panel-border);
  border-radius: 12px;
  background: var(--crm-auth-panel-background);
}

.crm-profile-notifications > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.crm-profile-notifications strong {
  color: var(--crm-auth-label);
  font-size: 12px;
}

.crm-profile-notifications span {
  color: var(--crm-auth-muted);
  font-size: 10px;
  line-height: 1.4;
}

.crm-profile-notifications button {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid #43b7a8;
  border-radius: 8px;
  background: transparent;
  color: var(--crm-auth-accent-color);
  font: inherit;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}

.crm-profile-notifications button:hover { background: rgba(67,183,168,.1); }
