[data-theme="dark"] {
  --__ac-form-description: var(--a-text-on-inverted);
}

[data-theme="light"] {
  --__ac-form-description: initial;
}

.navds-form-field {
  display: grid;
  justify-items: start;
  gap: var(--a-spacing-2);
}

.navds-form-field__description {
  margin-top: -0.375rem;
  color: var(--ac-form-description, var(--__ac-form-description, var(--a-text-subtle)));
}

.navds-form-field--disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.navds-form-field__error:empty {
  display: none;
}

.navds-form-field__subdescription {
  color: var(--ac-form-subdescription, var(--a-text-subtle));
}

.navds-form-field--readonly > :where(.navds-form-field__label) {
  display: inline-flex;
}

.navds-form-field__readonly-icon {
  margin-top: var(--a-spacing-05);
  margin-right: var(--a-spacing-2);
  flex-shrink: 0;
  align-self: flex-start;
}

@media (forced-colors: active) {
  .navds-form-field--disabled {
    opacity: 1;
  }
}
