/* Temas de plano administrativo. No alteran :root de la experiencia de empresa. */

body.nomi-theme--platform {
  --nomi-primary: #3d5a80;
  --nomi-primary-dark: #2b425f;
  --nomi-primary-gradient-start: #4a6fa5;
  --nomi-primary-gradient-end: #2b425f;
  --nomi-sidebar: #0f1724;
  --nomi-text: #0f1724;
  --nomi-page: #e8edf4;
  --nomi-border: #cfd8e4;
  --nomi-soft: #d9e2ee;
  --nomi-primary-glow: 61, 90, 128;
}

body.nomi-theme--tenant-admin {
  --nomi-primary: #4c51bf;
  --nomi-primary-dark: #3730a3;
  --nomi-primary-gradient-start: #5b61d6;
  --nomi-primary-gradient-end: #3730a3;
  --nomi-sidebar: #16182b;
  --nomi-text: #16182b;
  --nomi-page: #f1f0f7;
  --nomi-border: #ddd8ea;
  --nomi-soft: #e8e5f4;
  --nomi-primary-glow: 76, 81, 191;
}

body.nomi-theme--platform.nomi-auth-page {
  background:
    radial-gradient(circle at 15% 12%, rgba(61, 90, 128, .18), transparent 30rem),
    radial-gradient(circle at 88% 88%, rgba(15, 23, 36, .1), transparent 32rem),
    linear-gradient(145deg, #eef2f7 0%, var(--nomi-page) 52%, #d8e0eb 100%);
}

body.nomi-theme--platform.nomi-auth-page::before {
  background: rgba(61, 90, 128, .16);
}

body.nomi-theme--platform.nomi-auth-page::after {
  background: rgba(15, 23, 36, .08);
}

.nomi-sidebar__brand-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.nomi-sidebar__brand-meta small {
  color: #8b93a8;
  font-family: Inter, sans-serif;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.nomi-theme--platform .nomi-ops-subtitle {
  margin: 14px 0 8px;
  color: var(--nomi-text-muted);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

body.nomi-theme--platform .nomi-ops-subtitle:first-of-type {
  margin-top: 0;
}

body.nomi-theme--platform .nomi-meter {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

body.nomi-theme--platform .nomi-meter__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--nomi-text);
  font-size: .74rem;
}

body.nomi-theme--platform .nomi-meter__track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--nomi-soft);
}

body.nomi-theme--platform .nomi-meter__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--nomi-primary-gradient-start), var(--nomi-primary-gradient-end));
}

body.nomi-theme--platform .nomi-meter__fill--p0 { width: 0; }
body.nomi-theme--platform .nomi-meter__fill--p5 { width: 5%; }
body.nomi-theme--platform .nomi-meter__fill--p10 { width: 10%; }
body.nomi-theme--platform .nomi-meter__fill--p15 { width: 15%; }
body.nomi-theme--platform .nomi-meter__fill--p20 { width: 20%; }
body.nomi-theme--platform .nomi-meter__fill--p25 { width: 25%; }
body.nomi-theme--platform .nomi-meter__fill--p30 { width: 30%; }
body.nomi-theme--platform .nomi-meter__fill--p35 { width: 35%; }
body.nomi-theme--platform .nomi-meter__fill--p40 { width: 40%; }
body.nomi-theme--platform .nomi-meter__fill--p45 { width: 45%; }
body.nomi-theme--platform .nomi-meter__fill--p50 { width: 50%; }
body.nomi-theme--platform .nomi-meter__fill--p55 { width: 55%; }
body.nomi-theme--platform .nomi-meter__fill--p60 { width: 60%; }
body.nomi-theme--platform .nomi-meter__fill--p65 { width: 65%; }
body.nomi-theme--platform .nomi-meter__fill--p70 { width: 70%; }
body.nomi-theme--platform .nomi-meter__fill--p75 { width: 75%; }
body.nomi-theme--platform .nomi-meter__fill--p80 { width: 80%; }
body.nomi-theme--platform .nomi-meter__fill--p85 { width: 85%; }
body.nomi-theme--platform .nomi-meter__fill--p90 { width: 90%; }
body.nomi-theme--platform .nomi-meter__fill--p95 { width: 95%; }
body.nomi-theme--platform .nomi-meter__fill--p100 { width: 100%; }

@media (max-width: 1050px) {
  body.nomi-theme--platform .nomi-ops-grid {
    grid-template-columns: 1fr;
  }
}
