/**
 * TALIQ — escala tipográfica y ajustes admin
 * Plus Jakarta Sans (títulos) + Inter (cuerpo)
 */
:root {
  --font-title: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.8125rem;
  --leading-body: 1.6;
  --leading-tight: 1.35;
  --tracking-tight: -0.02em;
  --tracking-label: 0.03em;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-dark, #0f1724);
}

p, li, label, input, textarea, select, button {
  font-family: inherit;
}

/* Panel admin — densidad legible, menos “página de marketing” */
.main-content {
  font-size: 0.9375rem;
  line-height: 1.55;
}

.main-content h2 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.main-content h5,
.main-content .h5 {
  font-size: 1rem;
  font-weight: 600;
}

.main-content .dashboard-subtitle,
.main-content .text-muted.small,
.main-content small.text-muted {
  font-size: 0.8125rem;
  line-height: 1.45;
}

/* Tablas y formularios */
.table-mpg th {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.table-mpg td {
  font-size: 0.875rem;
  line-height: 1.45;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.form-control,
.form-select,
.btn {
  font-size: 0.875rem;
}

.btn-sm {
  font-size: 0.8125rem;
}

/* Etiquetas UI — sin gritar “SISTEMA” */
.drawer-resumen-label,
.global-search-type,
.inbox-badge,
.kanban-col-header,
.status-badge {
  font-family: var(--font-body);
  letter-spacing: var(--tracking-label);
}

.drawer-resumen {
  font-size: 0.875rem;
  line-height: 1.55;
}

/* Sidebar */
.sidebar-mpg .nav-link {
  font-size: 0.875rem;
  font-weight: 500;
}

.sidebar-section-title {
  font-size: 0.625rem;
  letter-spacing: 0.08em;
}

/* Landing — títulos con más aire, cuerpo más contenido */
.hero-title {
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.hero-lead,
.section-lead {
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
}

.section-title {
  letter-spacing: -0.025em;
}

/* Modales bootstrap */
.modal-title {
  font-family: var(--font-title);
  font-size: 1.125rem;
  font-weight: 600;
}

/* App candidatos */
.bottom-nav a {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .main-content {
    font-size: 0.9rem;
  }
}
