/* Shared CRM form palette: dialogs and inline forms use the same light surface. */
.crm-body dialog {
  background: #ffffff;
  color: #172015;
  color-scheme: light;
  border: 1px solid #788372;
  border-radius: 14px;
}
.crm-body dialog .panel-heading {
  background: #f0f3eb;
  color: #172015;
  border-bottom: 1px solid #788372;
}
.crm-body dialog .panel-heading :is(h2, button),
.crm-body .lead-form label,
.crm-body .lead-form .field-caption,
.crm-body .lead-form legend,
.crm-body .lead-form .dialog-subheading b {
  color: #172015;
}
.crm-body .lead-form label,
.crm-body .lead-form .field-caption,
.crm-body .lead-form legend {
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .02em;
  text-transform: none;
}
.crm-body .lead-form :is(input, select, textarea),
.crm-body .crm-workspace :is(input, select, textarea) {
  color: #172015;
  background: #ffffff;
  border: 1px solid #788372;
  caret-color: #172015;
  color-scheme: light;
  font-size: 15px;
  line-height: 1.5;
  opacity: 1;
}
.crm-body .lead-form :is(input, textarea)::placeholder,
.crm-body .crm-workspace :is(input, textarea)::placeholder {
  color: #58624f;
  opacity: 1;
}
.crm-body .lead-form :is(input, select, textarea):focus,
.crm-body .crm-workspace :is(input, select, textarea):focus {
  border-color: #40551f;
  outline: 2px solid #40551f;
  outline-offset: 2px;
}
.crm-body .lead-form :is(input, select, textarea):disabled,
.crm-body .crm-workspace :is(input, select, textarea):disabled {
  color: #58624f;
  background: #e9ede5;
  cursor: not-allowed;
}
.crm-body .lead-form :is(small, .dialog-disclaimer, .dialog-subheading span),
.crm-body dialog .ops-line-choice small,
.crm-body dialog .olx-packet-grid article span {
  color: #47533f;
  font-size: 13px;
  line-height: 1.5;
}
.crm-body dialog :is(fieldset, .permission-grid, .permission-option, .ops-line-builder, .ops-line-choice) {
  border-color: #788372;
}
.crm-body dialog .permission-option {
  color: #172015 !important;
}
.crm-body dialog .dialog-actions > button:not(.primary-button),
.crm-body dialog .lookup-control .table-action {
  color: #172015;
  background: #ffffff;
  border: 1px solid #788372;
}
.crm-body .lead-form .primary-button {
  background: #40551f;
  color: #ffffff;
}
.crm-body .lead-form button:focus-visible {
  outline: 3px solid #40551f;
  outline-offset: 3px;
}
