/* ==========================================================================
   Lake Mead Admin — Utilities
   A deliberately small set. Anything used more than a few times should
   become a component instead of a stack of utility classes.
   ========================================================================== */

/* --- Spacing -------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--sp-1); }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); }
.mb-6 { margin-bottom: var(--sp-6); }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }

.p-0 { padding: 0; }
.p-4 { padding: var(--sp-4); }
.p-5 { padding: var(--sp-5); }
.p-6 { padding: var(--sp-6); }

/* --- Type ----------------------------------------------------------------- */
.t-2xs { font-size: var(--fs-2xs); }
.t-xs  { font-size: var(--fs-xs); }
.t-sm  { font-size: var(--fs-sm); }
.t-md  { font-size: var(--fs-md); }
.t-lg  { font-size: var(--fs-lg); }
.t-xl  { font-size: var(--fs-xl); }
.t-2xl { font-size: var(--fs-2xl); }
.t-3xl { font-size: var(--fs-3xl); }

.fw-normal { font-weight: var(--fw-body); }
.fw-medium { font-weight: var(--fw-medium); }
.fw-semi   { font-weight: var(--fw-semi); }
.fw-bold   { font-weight: var(--fw-bold); }
.fw-heavy  { font-weight: var(--fw-heavy); }

.tracking-tight { letter-spacing: var(--track-tight); }
.tracking-snug  { letter-spacing: var(--track-snug); }
.uppercase { text-transform: uppercase; letter-spacing: .08em; }

.t-ink    { color: var(--ink); }
.t-soft   { color: var(--ink-soft); }
.t-muted  { color: var(--muted); }
.t-aqua   { color: var(--aqua-deep); }
.t-blue   { color: var(--blue); }
.t-sun    { color: var(--sun); }
.t-rose   { color: var(--rose); }
.t-violet { color: var(--violet); }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nowrap { white-space: nowrap; }

/* --- Layout --------------------------------------------------------------- */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.block { display: block; }
.hidden { display: none !important; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 auto; min-width: 0; }
.gap-1 { gap: var(--sp-1); }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-5 { gap: var(--sp-5); }
.gap-6 { gap: var(--sp-6); }

.w-full { width: 100%; }
.h-full { height: 100%; }
.relative { position: relative; }

/* --- Surface -------------------------------------------------------------- */
.bg-surface { background: var(--surface); }
.bg-alt     { background: var(--surface-alt); }
.bg-paper   { background: var(--paper); }
.rounded    { border-radius: var(--radius-card); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-pill { border-radius: var(--radius-pill); }
.bordered   { border: 1px solid var(--line-soft); }
.border-t   { border-top: 1px solid var(--line-soft); }
.border-b   { border-bottom: 1px solid var(--line-soft); }
.shadow-sm  { box-shadow: var(--shadow-sm); }
.shadow-md  { box-shadow: var(--shadow-md); }

/* --- Responsive visibility ------------------------------------------------ */
@media (max-width: 960px) { .hide-md { display: none !important; } }
@media (max-width: 640px) { .hide-sm { display: none !important; } }
@media (min-width: 961px) { .show-md-only { display: none !important; } }
