/* =========================================================
   Shared utility classes — the patterns that turned up in several modules
   when their style="" attributes were moved into stylesheets (the 2026-10-11
   module-by-module clean-up). One class per pattern instead of one per module.

   Loaded last in <head> on every page (layouts/base.html, after extra_head),
   so a utility wins ties the way the inline style it replaced did. The /app/
   fragment pages that link stylesheets inside the body link this again after
   theirs, for the same reason.

   A utility is only a value. Where a component's own rule out-ranks a single
   class (".card h2", ".tg-table--stack tbody td", ".proof-strip img",
   ".crm-timeline li"), the module stylesheet pins it next to that component.

   Values here are exactly those of the module classes they replace — change
   one and every page using it changes.
   ========================================================= */

/* Padding */
.u-pad-0{ padding:0; }
.u-pad{ padding:1rem; }
.u-pad-head{ padding:1rem 1rem 0; }
.u-pad-sm{ padding:.75rem 1rem; }
.u-pad-16{ padding:16px; }
.u-pad-15{ padding:1.5rem; }

/* Spacing above / below */
.u-gap-above-sm{ margin-top:.5rem; }
.u-gap-above-12{ margin-top:12px; }
.u-gap-above-14{ margin-top:14px; }
.u-gap-above-1{ margin-top:1rem; }
.u-gap-below-12{ margin-bottom:12px; }
.u-gap-below-14{ margin-bottom:14px; }

/* Text */
.u-note{ font-size:13px; margin-top:4px; }
.u-note-sm{ margin-top:6px; font-size:12px; }
.u-text-12{ font-size:12px; }
.u-text-13{ font-size:13px; }
.u-bold{ font-weight:700; }
.u-plain-link{ text-decoration:none; }

/* Layout */
.u-inline{ display:inline; }
.u-grow{ flex:1; }
.u-gap-sm{ gap:.5rem; }
.u-max-220{ max-width:220px; }
.u-max-240{ max-width:240px; }
.u-w-22{ width:22px; }
.u-w-34{ width:34px; }

/* Totals */
.u-sum-row{ display:flex; justify-content:space-between; padding:4px 0; }
.u-total-row{ font-weight:700; border-top:2px solid var(--border,#ddd); }
