/* Field rhythm — the spacing BETWEEN fields, owned once.

   Every family field component already wraps its control in `.spc-field`, but
   nothing ever styled that class. So the gap between two fields was whatever
   the CALL SITE remembered to pass — `Class="mb-3"`, field by field, page by
   page. Anything the page forgot got none, which is why a form could run tight
   at the top and loose in the middle, and why fields rendered by a loop
   (DynamicFieldRow) were flush against each other while hand-written ones were
   not. Spacing between peers is not a per-instance decision.

   Opt-in per app: this file is only in effect where the shell links
   _content/SPC.Blazor/css/fields.css, so no existing app's layout moves until
   its owner asks for it. Where it IS linked, drop the hand-passed mb-3 — the
   two add up. */

.spc-field {
    margin-bottom: 14px;
}

/* No trailing gap at the end of a form or a panel — that space belongs to the
   container, which already has padding, and doubling it makes a card look
   bottom-heavy. */
.spc-field:last-child {
    margin-bottom: 0;
}

/* A read-only field draws its own grey box (FieldUi.ReadOnlyFieldStyle). Boxes
   need a little more air between them than underlines do, or they read as one
   striped block. */
.spc-field--ro {
    margin-bottom: 10px;
}
