/* Record form fields. */

/*
   Same rhythm as Settings: each label hugs its own control, field groups keep
   a clear gap, and explanation copy lives in an info pill beside the label. */
#trade-form > label:not(.sync-check),
#trade-form > div > label:not(.sync-check),
#trade-form details.adv > label:not(.sync-check),
#trade-form details.adv > div > label:not(.sync-check),
#t-sources-row > .fld-label,
#t-recipients > .fld-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.9rem 0 0.3rem;
  padding: 0.05rem 0.1rem;
  line-height: 1.45;
}
/* Direct grid children already receive the form gap, which supplies the
   label-to-control space without a second margin. */
#trade-form > label:not(.sync-check) {
  margin-bottom: 0;
}
#trade-form > label:not(.sync-check):first-child {
  margin-top: 0;
}
#trade-form .info-pill {
  margin-left: 0 !important;
}
