/* Shared utility classes (Consistency Review C9, "850 inline styles"). Each class is ONE declaration that used to be written
   inline in app/js, so the look is unchanged but now lives in one place (and a style-src without 'unsafe-inline' becomes
   possible for everything that is not toggled by script).

   Rules: this file loads LAST on every page, after base.css / style.css / sheet.css. Names are u-<property>-<value>
   (mt = margin-top, fs = font-size, c = color, ...). Every declaration is !important so it wins the way an inline style did,
   except `display` and `color`: script sets those inline (style.display / style.color for hide-show and error tint), and an
   inline value must still beat the class. Those two use a doubled selector (.u-x.u-x) instead, to out-rank two-class rules. Before adding a new class, check it is used 4+ times; one-off layout stays inline. */

.u-d-block.u-d-block { display: block; }
.u-d-flex.u-d-flex { display: flex; }

.u-fdir-column { flex-direction: column !important; }

.u-wrap-wrap { flex-wrap: wrap !important; }

.u-ai-center { align-items: center !important; }
.u-ai-flex-end { align-items: flex-end !important; }

.u-jc-space-between { justify-content: space-between !important; }

.u-gap-2 { gap: 2px !important; }
.u-gap-4 { gap: 4px !important; }
.u-gap-5 { gap: 5px !important; }
.u-gap-6 { gap: 6px !important; }
.u-gap-8 { gap: 8px !important; }

.u-flex-1 { flex: 1 !important; }

.u-fb-100pct { flex-basis: 100% !important; }

.u-w-100pct { width: 100% !important; }
.u-w-56 { width: 56px !important; }
.u-w-64 { width: 64px !important; }

.u-minw-140 { min-width: 140px !important; }

.u-minh-1em { min-height: 1em !important; }

.u-m-0 { margin: 0 !important; }
.u-m-1-0-4 { margin: 1px 0 4px !important; }
.u-m-2-0 { margin: 2px 0 !important; }
.u-m-2-0-6 { margin: 2px 0 6px !important; }
.u-m-3-0 { margin: 3px 0 !important; }
.u-m-4-0 { margin: 4px 0 !important; }
.u-m-4-0-14 { margin: 4px 0 14px !important; }
.u-m-4-0-4-4 { margin: 4px 0 4px 4px !important; }
.u-m-6-0 { margin: 6px 0 !important; }
.u-m-n2-0-4 { margin: -2px 0 4px !important; }
.u-m-n2-0-6 { margin: -2px 0 6px !important; }
.u-m-n3-0-2 { margin: -3px 0 2px !important; }
.u-m-n3-0-4 { margin: -3px 0 4px !important; }
.u-m-n3-0-6 { margin: -3px 0 6px !important; }

.u-mt-0 { margin-top: 0 !important; }
.u-mt-10 { margin-top: 10px !important; }
.u-mt-12 { margin-top: 12px !important; }
.u-mt-14 { margin-top: 14px !important; }
.u-mt-4 { margin-top: 4px !important; }
.u-mt-6 { margin-top: 6px !important; }
.u-mt-8 { margin-top: 8px !important; }

.u-mb-10 { margin-bottom: 10px !important; }
.u-mb-14 { margin-bottom: 14px !important; }
.u-mb-2 { margin-bottom: 2px !important; }
.u-mb-4 { margin-bottom: 4px !important; }
.u-mb-5 { margin-bottom: 5px !important; }
.u-mb-6 { margin-bottom: 6px !important; }
.u-mb-8 { margin-bottom: 8px !important; }

.u-ml-6 { margin-left: 6px !important; }

.u-p-0-5 { padding: 0 5px !important; }
.u-p-1-10 { padding: 1px 10px !important; }
.u-p-1-8 { padding: 1px 8px !important; }
.u-p-2-10 { padding: 2px 10px !important; }
.u-p-2-8 { padding: 2px 8px !important; }
.u-p-3-10 { padding: 3px 10px !important; }
.u-p-6-10 { padding: 6px 10px !important; }

.u-pl-18 { padding-left: 18px !important; }

.u-fs-lg { font-size: var(--fs-lg) !important; }
.u-fs-md { font-size: var(--fs-md) !important; }
.u-fs-sm { font-size: var(--fs-sm) !important; }
.u-fs-xs { font-size: var(--fs-xs) !important; }

.u-fw-500 { font-weight: 500 !important; }
.u-fw-600 { font-weight: 600 !important; }
.u-fw-700 { font-weight: 700 !important; }

.u-fst-italic { font-style: italic !important; }

.u-lh-1p4 { line-height: 1.4 !important; }

.u-c-danger.u-c-danger { color: var(--danger-text); }
.u-c-dim.u-c-dim { color: var(--text-dim); }
.u-c-text.u-c-text { color: var(--text); }

.u-ta-center { text-align: center !important; }

.u-td-none { text-decoration: none !important; }

.u-ws-pre-wrap { white-space: pre-wrap !important; }

.u-cur-pointer { cursor: pointer !important; }
