/* Utility classes — small, additive scale to cover atomic patterns
   (spacing, flex, width, text). Pair with semantic component classes
   in 10-components.css. */

/* Spacing (margins). Existing in 10-components.css: .mt-3 (12px),
   .mt-4 (1rem), .mt-8 (2rem), .mb-2 (.5rem), .mb-4 (1rem). */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-1-half { margin-top: 6px; }
.mt-2-half { margin-top: 10px; }
.mt-5 { margin-top: 20px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 4px; }
.mb-1-half { margin-bottom: 6px; }
.mb-2-half { margin-bottom: 10px; }
.mb-3 { margin-bottom: 12px; }
.m-0 { margin: 0 !important; }
.my-3 { margin: 12px 0; }
.ml-2 { margin-left: 8px; }
.ml-auto { margin-left: auto; }

/* Display & flex */
.d-flex { display: flex; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-block { display: block; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 6px; }
.gap-3 { gap: 8px; }
.gap-4 { gap: 10px; }
.gap-5 { gap: 12px; }
.flex-1 { flex: 1; }
.flex-1-0 { flex: 1; min-width: 0; }

/* Width */
.w-full { width: 100%; }
.w-auto { width: auto; }
.max-w-110 { max-width: 110px; }
.max-w-180 { max-width: 180px; }
.max-w-200 { max-width: 200px; }
.max-w-220 { max-width: 220px; }
.max-w-640 { max-width: 640px; }
.min-w-130 { min-width: 130px; }
.min-w-160 { min-width: 160px; }

/* Text */
.text-muted { color: var(--c-muted); }
.text-sm { font-size: 13px; }
.text-xs { font-size: 0.85em; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

/* Cursor */
.clickable { cursor: pointer; }
.cursor-text { cursor: text; }

/* Misc */
.no-underline { text-decoration: none; }
.center-block { margin-left: auto; margin-right: auto; }
