:root {
  --color-fondo-lavanda: #f5d3ff;
  --gradiente-principal: linear-gradient(90deg, #8d1d7b 0%, #ba5ff8 100%);
  --gradiente-secundario: linear-gradient(90deg, #652696 0%, #9b097f 100%);
  --color-campo: #cfc7c7;
  --gradiente-rojo: linear-gradient(90deg, #990c18 0%, #ff5d62 100%);
  --gradiente-verde: linear-gradient(90deg, #3b6b2a 0%, #8ff649 100%);
  --gradiente-azul: linear-gradient(90deg, #26218b 0%, #6ee1ff 100%);
  --gradiente-amarillo: linear-gradient(90deg, #d1b106 0%, #f8d72b 100%);
  --blanco: #fff;
  --negro-suave: #2e2830;
  --texto-secundario: #716775;
  --borde: rgba(101, 38, 150, 0.14);
  --tarjeta: rgba(255, 255, 255, 0.9);
  --tarjeta-solida: #fff;
  --translucido: rgba(255, 255, 255, 0.68);
  --foco: #26218b;
  --deshabilitado: #ddd7df;
  --sombra: 0 18px 45px rgba(85, 28, 93, 0.12);
  --sombra-suave: 0 8px 24px rgba(85, 28, 93, 0.09);
  --radio-xs: 10px;
  --radio-sm: 14px;
  --radio-md: 20px;
  --radio-lg: 28px;
  --espacio-1: 0.35rem;
  --espacio-2: 0.65rem;
  --espacio-3: 1rem;
  --espacio-4: 1.4rem;
  --espacio-5: 2rem;
  --ancho-menu: 282px;
  --ancho-menu-contraido: 88px;
  --alto-barra: 82px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--negro-suave);
  background:
    radial-gradient(circle at 92% 4%, rgba(186, 95, 248, 0.22), transparent 28rem),
    radial-gradient(circle at 4% 94%, rgba(110, 225, 255, 0.24), transparent 26rem),
    #f9f5fa;
  font-family: "Google Sans", Arial, sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "GRAD" 0;
  font-size: 16px;
  line-height: 1.5;
}

.google-sans-portal {
  font-family: "Google Sans", Arial, sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "GRAD" 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
.cifra,
.marca__titulo {
  font-family: "Google Sans", Arial, sans-serif;
  font-optical-sizing: auto;
  font-variation-settings: "GRAD" 0;
}

.acceso__identidad h1,
.barra-superior__titulo h1,
.encabezado-pagina h2,
.hero-dashboard h2,
.estado-vacio h2 {
  font-family: "Bricolage Grotesque", "Google Sans", Arial, sans-serif;
  font-optical-sizing: auto;
  font-variation-settings: normal;
}

.salto-contenido {
  position: fixed;
  z-index: 9999;
  top: -100px;
  left: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 0 0 12px 12px;
  color: #fff;
  background: #26218b;
}

.salto-contenido:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid rgba(38, 33, 139, 0.78);
  outline-offset: 3px;
}

.solo-lector {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icono-portal {
  flex: 0 0 auto;
  width: var(--icono, 36px);
  height: var(--icono, 36px);
  object-fit: contain;
  filter: drop-shadow(0 6px 9px rgba(61, 20, 66, 0.11));
}

.icono-portal--grande {
  --icono: clamp(120px, 16vw, 210px);
}

.inicio-sesion {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: clamp(1rem, 4vw, 4rem);
  background: #fdfbfe;
}

.inicio-sesion::before,
.inicio-sesion::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.inicio-sesion::before {
  z-index: -2;
  inset: -55px;
  background-image: var(--fondo-acceso);
  background-position: center;
  background-size: cover;
  filter: blur(34px) saturate(0.62) brightness(1.16);
  opacity: 0.2;
  transform: scale(1.08);
}

.inicio-sesion::after {
  z-index: -1;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(250, 241, 253, 0.72));
}

.acceso {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1040px, 100%);
  min-height: 560px;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 32px 90px rgba(84, 25, 88, 0.22);
  backdrop-filter: blur(22px);
}

.acceso__identidad {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  color: #fff;
  background: var(--gradiente-principal);
}

.acceso__identidad::after {
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 340px;
  height: 340px;
  border: 70px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.acceso__logo {
  width: min(250px, 72%);
  height: 78px;
  object-fit: contain;
  object-position: left center;
}

.acceso__heroe {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.55rem;
}

.acceso__icono {
  width: clamp(125px, 15vw, 185px);
  height: clamp(125px, 15vw, 185px);
  margin-bottom: 0.5rem;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(53, 8, 62, 0.25));
  animation: entrada-icono 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.acceso__identidad h1 {
  max-width: 520px;
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.acceso__slogan {
  max-width: 470px;
  margin: 0.7rem 0 0;
  font-family: "Google Sans", Arial, sans-serif;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  font-weight: 650;
}

.acceso__frase {
  max-width: 470px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.acceso__formulario {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
}

.acceso__formulario > img {
  width: 205px;
  height: 65px;
  margin-bottom: 2rem;
  object-fit: contain;
  object-position: left center;
}

.acceso__formulario h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  letter-spacing: -0.035em;
}

.campo--buscador-acceso {
  position: relative;
}

.resultados-acceso {
  position: absolute;
  z-index: 30;
  top: calc(100% - 1.4rem);
  right: 0;
  left: 0;
  max-height: 285px;
  overflow-y: auto;
  padding: 0.4rem;
  border: 1px solid rgba(101, 38, 150, 0.18);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(69, 29, 78, 0.18);
}

.resultados-acceso[hidden] {
  display: none;
}

.resultados-acceso button {
  display: grid;
  width: 100%;
  gap: 0.12rem;
  padding: 0.72rem 0.8rem;
  border-radius: 12px;
  color: var(--negro-suave);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.resultados-acceso button:hover,
.resultados-acceso button:focus-visible {
  background: #f7effb;
}

.resultados-acceso button strong,
.resultados-acceso button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resultados-acceso button span {
  color: var(--texto-secundario);
  font-size: 0.78rem;
}

.resultados-acceso p {
  margin: 0;
  padding: 0.7rem;
  color: var(--texto-secundario);
  font-size: 0.85rem;
}

#correo[readonly] {
  color: #5e5361;
  background: #f4f0f5;
  cursor: default;
}

.texto-secundario {
  color: var(--texto-secundario);
}

.formulario {
  display: grid;
  gap: 1rem;
}

.campo {
  display: grid;
  gap: 0.42rem;
}

.campo--horizontal {
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
}

.campo label,
.campo__etiqueta {
  font-size: 0.88rem;
  font-weight: 700;
  color: #55495a;
}

.campo input,
.campo select,
.campo textarea,
.control {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(101, 38, 150, 0.17);
  border-radius: var(--radio-sm);
  color: var(--negro-suave);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.campo input,
.campo select,
.campo textarea {
  padding: 0.78rem 0.95rem;
}

.campo textarea {
  min-height: 110px;
  resize: vertical;
}

.campo input:focus,
.campo select:focus,
.campo textarea:focus,
.control:focus-within {
  border-color: rgba(101, 38, 150, 0.6);
  box-shadow: 0 0 0 4px rgba(186, 95, 248, 0.13);
  outline: none;
}

.campo__ayuda {
  margin: 0;
  font-size: 0.78rem;
  color: var(--texto-secundario);
}

.entrada-con-accion {
  position: relative;
}

.entrada-con-accion input {
  padding-right: 3.5rem;
}

.entrada-con-accion button {
  position: absolute;
  top: 50%;
  right: 0.45rem;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  color: #652696;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.boton {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 750;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.boton:hover {
  transform: translateY(-2px);
}

.boton:active {
  transform: translateY(0) scale(0.98);
}

.boton--primario {
  color: #fff;
  background: var(--gradiente-principal);
  box-shadow: 0 12px 24px rgba(141, 29, 123, 0.22);
}

.boton--secundario {
  color: #fff;
  background: var(--gradiente-secundario);
}

.boton--sutil {
  border-color: var(--borde);
  color: #652696;
  background: rgba(255, 255, 255, 0.76);
}

.boton--peligro {
  color: #9f1322;
  background: #fff0f1;
  border-color: rgba(153, 12, 24, 0.16);
}

.boton--excel {
  color: #285b2c;
  background: #fff;
  border-color: rgba(59, 107, 42, 0.22);
  box-shadow: var(--sombra-suave);
}

.boton--excel .icono-portal {
  --icono: 28px;
}

.boton--icono {
  min-width: 46px;
  padding: 0.6rem;
}

.boton[disabled],
.boton[aria-disabled="true"] {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.enlace {
  color: #741f89;
  font-weight: 700;
  text-decoration: none;
}

.enlace:hover {
  text-decoration: underline;
}

.nota-demo {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  color: #3e3974;
  background: rgba(110, 225, 255, 0.2);
  font-size: 0.82rem;
}

.portal {
  min-height: 100vh;
}

.menu-lateral {
  position: fixed;
  z-index: 50;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  width: var(--ancho-menu);
  flex-direction: column;
  color: #fff;
  background: var(--gradiente-principal);
  box-shadow: 16px 0 40px rgba(67, 19, 75, 0.13);
  transition: width 220ms ease, transform 220ms ease;
}

.menu-lateral__marca {
  display: flex;
  min-height: var(--alto-barra);
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
}

.menu-lateral__marca img {
  width: 185px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.menu-lateral__alternar {
  display: none;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  margin-left: auto;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.menu-lateral nav {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.4rem 0.72rem 1rem;
  scrollbar-width: thin;
}

.menu-lista {
  display: grid;
  gap: 0.26rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-enlace {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  gap: 0.78rem;
  padding: 0.55rem 0.7rem;
  border: 0;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease, transform 150ms ease;
}

.menu-enlace:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(2px);
}

.menu-enlace[aria-current="page"] {
  color: #6e246f;
  background: #fff;
  box-shadow: 0 8px 22px rgba(60, 13, 72, 0.2);
}

.menu-enlace .icono-portal {
  --icono: 36px;
}

.menu-enlace span {
  min-width: 0;
  overflow: hidden;
  font-size: 0.91rem;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-lateral__pie {
  padding: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.perfil-menu {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: #74206e;
  background: #fff;
  font-weight: 800;
}

.perfil-menu__texto {
  min-width: 0;
  flex: 1;
}

.perfil-menu__texto strong,
.perfil-menu__texto small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.perfil-menu__texto strong {
  font-size: 0.83rem;
}

.perfil-menu__texto small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
}

.portal--contraido .menu-lateral {
  width: var(--ancho-menu-contraido);
}

.portal--contraido .menu-lateral__marca img,
.portal--contraido .menu-enlace span,
.portal--contraido .perfil-menu__texto {
  display: none;
}

.portal--contraido .menu-lateral__alternar {
  margin: 0 auto;
}

.portal--contraido .menu-enlace {
  justify-content: center;
}

.portal--contraido .perfil-menu {
  justify-content: center;
}

.portal-contenedor {
  min-height: 100vh;
  margin-left: var(--ancho-menu);
  transition: margin-left 220ms ease;
}

.portal--contraido .portal-contenedor {
  margin-left: var(--ancho-menu-contraido);
}

.barra-superior {
  position: sticky;
  z-index: 40;
  top: 0;
  display: grid;
  min-height: var(--alto-barra);
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem clamp(1rem, 3vw, 2.2rem);
  border-bottom: 1px solid rgba(101, 38, 150, 0.09);
  background: rgba(251, 248, 252, 0.84);
  backdrop-filter: blur(18px);
}

.barra-superior__titulo {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.8rem;
}

.boton-menu-movil {
  display: none;
}

.barra-superior__titulo h1 {
  overflow: hidden;
  margin: 0;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  letter-spacing: -0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.barra-superior__titulo p {
  margin: 0;
  color: var(--texto-secundario);
  font-size: 0.8rem;
}

.barra-superior__acciones {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
}

.selector-mes {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.24rem;
  border: 1px solid var(--borde);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--sombra-suave);
}

.selector-mes button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  color: #652696;
  background: transparent;
  cursor: pointer;
}

.selector-mes button:hover {
  background: #f8edfb;
}

.selector-mes select {
  min-width: 126px;
  height: 38px;
  border: 0;
  color: #4d2656;
  background: transparent;
  font-size: 0.87rem;
  font-weight: 750;
  cursor: pointer;
  outline: 0;
}

.accion-superior {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--borde);
  border-radius: 14px;
  color: #652696;
  background: #fff;
  box-shadow: var(--sombra-suave);
  cursor: pointer;
}

.accion-superior .icono-portal {
  --icono: 28px;
}

.contador {
  position: absolute;
  top: -4px;
  right: -5px;
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 20px;
  color: #fff;
  background: #c71e43;
  font-size: 0.68rem;
  font-weight: 800;
}

.contenido {
  width: min(1560px, 100%);
  margin: 0 auto;
  padding: clamp(1rem, 2.6vw, 2.2rem);
}

.encabezado-pagina {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.encabezado-pagina__texto {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 1rem;
}

.encabezado-pagina__texto .icono-portal {
  --icono: clamp(62px, 7vw, 92px);
}

.encabezado-pagina h2 {
  margin: 0 0 0.2rem;
  font-size: clamp(1.7rem, 3.2vw, 2.65rem);
  letter-spacing: -0.045em;
}

.encabezado-pagina p {
  max-width: 740px;
  margin: 0;
  color: var(--texto-secundario);
}

.grupo-acciones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.hero-dashboard {
  position: relative;
  display: grid;
  min-height: 270px;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.38fr);
  align-items: center;
  gap: 2rem;
  overflow: hidden;
  margin-bottom: 1.4rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radio-lg);
  color: #fff;
  background: var(--gradiente-principal);
  box-shadow: 0 22px 50px rgba(117, 26, 116, 0.22);
}

.hero-dashboard::before {
  position: absolute;
  top: -100px;
  right: -70px;
  width: 360px;
  height: 360px;
  border: 70px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.hero-dashboard h2 {
  max-width: 760px;
  margin-bottom: 0.65rem;
  font-size: clamp(2.1rem, 4vw, 3.65rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.hero-dashboard p {
  max-width: 690px;
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.03rem;
}

.hero-dashboard__icono {
  position: relative;
  z-index: 1;
  width: clamp(160px, 19vw, 250px);
  height: clamp(160px, 19vw, 250px);
  justify-self: end;
  object-fit: contain;
  filter: drop-shadow(0 25px 35px rgba(44, 9, 51, 0.28));
}

.rejilla {
  display: grid;
  gap: 1rem;
}

.rejilla--kpi {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rejilla--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rejilla--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tarjeta {
  border: 1px solid var(--borde);
  border-radius: var(--radio-md);
  background: var(--tarjeta);
  box-shadow: var(--sombra-suave);
  backdrop-filter: blur(14px);
}

.tarjeta--relleno {
  padding: clamp(1rem, 2.2vw, 1.45rem);
}

.tarjeta--elevable {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.tarjeta--elevable:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra);
}

.kpi {
  position: relative;
  display: grid;
  min-height: 142px;
  grid-template-columns: minmax(0, 1fr) 56px;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
  padding: 1.15rem;
}

.kpi::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  content: "";
  background: var(--tono-kpi, var(--gradiente-principal));
}

.kpi__etiqueta {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--texto-secundario);
  font-size: 0.82rem;
  font-weight: 650;
}

.kpi__valor {
  display: block;
  margin-bottom: 0.15rem;
  font-family: "Google Sans", Arial, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.kpi__detalle {
  color: var(--texto-secundario);
  font-size: 0.76rem;
}

.kpi .icono-portal {
  --icono: 58px;
}

.seccion {
  margin-top: 1.5rem;
}

.seccion__encabezado {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.seccion__encabezado h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -0.025em;
}

.seccion__encabezado p {
  margin: 0;
  color: var(--texto-secundario);
  font-size: 0.84rem;
}

.tarjeta-area {
  display: grid;
  min-height: 170px;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.tarjeta-area .icono-portal {
  --icono: 78px;
}

.tarjeta-area h4 {
  margin: 0 0 0.2rem;
  font-size: 1.08rem;
}

.tarjeta-area__cifra {
  font-family: "Google Sans", Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
}

.progreso {
  position: relative;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #eee8ef;
}

.progreso > span {
  display: block;
  width: var(--avance, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--gradiente-verde);
  transform-origin: left;
  animation: llenar 700ms ease both;
}

.progreso--riesgo > span {
  background: var(--gradiente-rojo);
}

.progreso--atencion > span {
  background: var(--gradiente-amarillo);
}

.etiqueta-estado {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  color: #4f4751;
  background: #f1edf2;
  font-size: 0.73rem;
  font-weight: 800;
  white-space: nowrap;
}

.etiqueta-estado .icono-portal {
  --icono: 24px;
  filter: none;
}

.etiqueta-estado--verde {
  color: #365b2d;
  background: #e7f6df;
}

.etiqueta-estado--amarillo {
  color: #6a5700;
  background: #fff5c7;
}

.etiqueta-estado--rojo {
  color: #8a1720;
  background: #ffe1e3;
}

.etiqueta-estado--azul {
  color: #302c78;
  background: #e4e9ff;
}

.barra-filtros {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr)) auto;
  gap: 0.7rem;
  margin-bottom: 1rem;
  padding: 0.9rem;
}

.barra-filtros .campo {
  gap: 0.25rem;
}

.barra-filtros .campo label {
  font-size: 0.72rem;
}

.barra-filtros input,
.barra-filtros select {
  min-height: 42px;
  padding: 0.55rem 0.72rem;
  font-size: 0.85rem;
}

.tabla-contenedor {
  overflow-x: auto;
  border: 1px solid var(--borde);
  border-radius: var(--radio-md);
  background: #fff;
  box-shadow: var(--sombra-suave);
}

.tabla {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.tabla th,
.tabla td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid #eee8ef;
  text-align: left;
  vertical-align: middle;
}

.tabla th {
  position: sticky;
  z-index: 1;
  top: 0;
  color: #5e4f62;
  background: #fbf8fc;
  font-size: 0.72rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.tabla tr:last-child td {
  border-bottom: 0;
}

.tabla tbody tr {
  transition: background 140ms ease;
}

.tabla tbody tr:hover {
  background: #fdf8ff;
}

.tabla__principal {
  min-width: 190px;
}

.tabla__principal strong,
.tabla__principal small {
  display: block;
}

.tabla__principal small {
  margin-top: 0.14rem;
  color: var(--texto-secundario);
}

.acciones-fila {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.acciones-fila .boton {
  min-height: 38px;
  padding: 0.5rem 0.65rem;
  font-size: 0.76rem;
}

.objetivo {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
}

.objetivo__encabezado {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
}

.objetivo__encabezado .icono-portal {
  --icono: 58px;
}

.objetivo h3 {
  margin: 0 0 0.15rem;
  font-size: 1.16rem;
}

.objetivo__meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.dato {
  padding: 0.65rem;
  border-radius: 12px;
  background: #faf7fb;
}

.dato span,
.dato strong {
  display: block;
}

.dato span {
  margin-bottom: 0.15rem;
  color: var(--texto-secundario);
  font-size: 0.7rem;
}

.dato strong {
  font-size: 0.9rem;
}

.grafica {
  min-height: 330px;
  padding: 1.2rem;
}

.grafica h3 {
  margin-bottom: 0.2rem;
}

.grafica__subtitulo {
  margin-bottom: 1.5rem;
  color: var(--texto-secundario);
  font-size: 0.8rem;
}

.grafica-barras {
  display: grid;
  gap: 0.85rem;
}

.barra-dato {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
}

.barra-dato__pista {
  height: 20px;
  overflow: hidden;
  border-radius: 8px;
  background: #f0eaf2;
}

.barra-dato__relleno {
  width: var(--valor);
  height: 100%;
  border-radius: inherit;
  background: var(--color-barra, var(--gradiente-principal));
  animation: llenar 700ms ease both;
}

.dona {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 1.4rem;
}

.dona__grafico {
  display: grid;
  width: 170px;
  height: 170px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#8ff649 0 38%, #f8d72b 38% 65%, #6ee1ff 65% 88%, #ff5d62 88% 100%);
}

.dona__centro {
  display: grid;
  width: 105px;
  height: 105px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  text-align: center;
}

.dona__centro strong,
.dona__centro small {
  display: block;
}

.dona__centro strong {
  font-family: "Google Sans", Arial, sans-serif;
  font-size: 1.7rem;
}

.leyenda {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.leyenda li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.leyenda i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color);
}

.organigrama {
  display: grid;
  gap: 1.2rem;
  padding: 1.3rem;
}

.organigrama__nivel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.organigrama__persona {
  display: grid;
  width: min(240px, 100%);
  min-height: 150px;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--borde);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--sombra-suave);
}

.organigrama__persona .icono-portal {
  --icono: 62px;
}

.organigrama__persona h4 {
  margin: 0 0 0.15rem;
  font-size: 0.92rem;
}

.organigrama__persona p {
  margin: 0;
  color: var(--texto-secundario);
  font-size: 0.73rem;
}

.organigrama__linea {
  width: 2px;
  height: 26px;
  margin: -0.7rem auto;
  background: rgba(101, 38, 150, 0.24);
}

.estado-vacio {
  display: grid;
  min-height: 380px;
  place-items: center;
  padding: 2rem;
  text-align: center;
}

.estado-vacio__contenido {
  display: grid;
  max-width: 580px;
  justify-items: center;
}

.estado-vacio .icono-portal {
  --icono: clamp(145px, 22vw, 230px);
  margin-bottom: 1rem;
  animation: flotar 3.8s ease-in-out infinite;
}

.estado-vacio h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
}

.estado-vacio p {
  color: var(--texto-secundario);
}

.pasos {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pasos li {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: start;
  gap: 0.65rem;
}

.pasos__numero {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--gradiente-secundario);
  font-weight: 800;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0.9rem;
  padding-left: 1.3rem;
}

.timeline::before {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 5px;
  width: 2px;
  content: "";
  background: #ded3e1;
}

.timeline__item {
  position: relative;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  background: #faf7fb;
}

.timeline__item::before {
  position: absolute;
  top: 1.05rem;
  left: -1.18rem;
  width: 10px;
  height: 10px;
  border: 3px solid #fff;
  border-radius: 50%;
  content: "";
  background: #8d1d7b;
  box-shadow: 0 0 0 1px #8d1d7b;
}

.timeline__item p {
  margin: 0;
  font-size: 0.84rem;
}

.timeline__item small {
  color: var(--texto-secundario);
}

.notificacion {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  border-bottom: 1px solid #eee8ef;
}

.notificacion:last-child {
  border-bottom: 0;
}

.notificacion .icono-portal {
  --icono: 50px;
}

.notificacion h4 {
  margin: 0 0 0.12rem;
  font-size: 0.92rem;
}

.notificacion p {
  margin: 0;
  color: var(--texto-secundario);
  font-size: 0.8rem;
}

.seleccion-colaborador {
  display: grid;
  min-height: calc(100vh - var(--alto-barra) - 4rem);
  place-items: center;
}

.seleccion-colaborador__panel {
  width: min(980px, 100%);
  padding: clamp(1.3rem, 4vw, 2.4rem);
}

.colaboradores {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.colaborador-opcion {
  display: grid;
  min-height: 145px;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem;
  border: 1px solid var(--borde);
  border-radius: 18px;
  text-align: left;
  background: #fff;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.colaborador-opcion:hover {
  border-color: #ba5ff8;
  transform: translateY(-3px);
  box-shadow: var(--sombra-suave);
}

.colaborador-opcion .avatar {
  color: #fff;
  background: var(--gradiente-principal);
}

.colaborador-opcion strong,
.colaborador-opcion span {
  display: block;
}

.colaborador-opcion strong {
  font-size: 0.84rem;
}

.colaborador-opcion span {
  margin-top: 0.15rem;
  color: var(--texto-secundario);
  font-size: 0.72rem;
}

.alertas-contenedor {
  position: fixed;
  z-index: 110;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: min(390px, calc(100vw - 2rem));
  gap: 0.6rem;
}

.alerta {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 28px;
  align-items: start;
  gap: 0.65rem;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  color: #fff;
  background: var(--gradiente-azul);
  box-shadow: 0 18px 42px rgba(46, 24, 51, 0.22);
  animation: alerta-entrada 280ms ease both;
}

.alerta--exito {
  color: #fff;
  background: linear-gradient(100deg, #215f37 0%, #2f8f50 100%);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
}

.alerta--atencion {
  background: var(--gradiente-amarillo);
  color: #4f4306;
}

.alerta--error {
  background: var(--gradiente-rojo);
}

.alerta__icono {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.26);
  font-weight: 900;
}

.alerta p {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 650;
}

.alerta button {
  width: 28px;
  height: 28px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.credencial-generada {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(101, 38, 150, 0.16);
  border-radius: 16px;
  background: #f8f2fb;
}

.estado-tabla-vacio {
  display: grid;
  gap: 0.3rem;
  justify-items: center;
  padding: 2rem 1rem;
  color: var(--texto-secundario);
  text-align: center;
}

.estado-tabla-vacio strong {
  color: var(--texto-principal);
  font-size: 1rem;
}

.notificacion--leida {
  opacity: 0.72;
}

.credencial-generada span {
  color: var(--texto-secundario);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.credencial-generada code {
  overflow-wrap: anywhere;
  color: #4f1767;
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.035em;
}

.loader-global {
  position: fixed;
  z-index: 150;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(251, 247, 252, 0.78);
  backdrop-filter: blur(12px);
}

.loader-global[hidden],
.modal-capa[hidden] {
  display: none;
}

.loader-global__contenido {
  display: grid;
  justify-items: center;
  text-align: center;
}

.loader-global img {
  width: min(340px, 70vw);
  height: min(340px, 70vw);
  object-fit: contain;
}

.loader-global p {
  margin-top: -1rem;
  color: #652696;
  font-family: "Google Sans", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 750;
}

.modal-capa {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  overflow-y: auto;
  place-items: center;
  padding: 1rem;
  background: rgba(39, 25, 42, 0.52);
  backdrop-filter: blur(8px);
}

.modal {
  width: min(680px, 100%);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 36px 80px rgba(38, 18, 42, 0.28);
  animation: modal-entrada 220ms ease both;
}

.modal--ancho {
  width: min(980px, 100%);
}

.modal__encabezado,
.modal__contenido,
.modal__pie {
  padding: 1.2rem 1.35rem;
}

.modal__encabezado {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #eee8ef;
}

.modal__encabezado h2 {
  margin: 0;
  font-size: 1.45rem;
}

.modal__cerrar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: #652696;
  background: #f8effa;
  cursor: pointer;
}

.modal__pie {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
  border-top: 1px solid #eee8ef;
}

.visor-pdf {
  display: grid;
  gap: 0.65rem;
}

.visor-pdf iframe {
  width: 100%;
  height: clamp(420px, 67vh, 760px);
  border: 1px solid var(--borde);
  border-radius: 16px;
  background: #f4eff8;
}

.visor-pdf__ayuda {
  margin: 0;
  color: var(--texto-secundario);
  font-size: 0.82rem;
}

.formulario-rejilla {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.formulario-rejilla .campo--completo {
  grid-column: 1 / -1;
}

.superposicion-menu {
  display: none;
}

@keyframes entrada-icono {
  0% { opacity: 0; transform: translateY(20px) scale(0.86); }
  72% { transform: translateY(-5px) scale(1.04); }
  100% { opacity: 1; transform: none; }
}

@keyframes llenar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes flotar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes alerta-entrada {
  from { opacity: 0; transform: translateY(-12px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@keyframes modal-entrada {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1180px) {
  .rejilla--kpi {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rejilla--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .barra-filtros {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --alto-barra: 74px;
  }

  .acceso {
    grid-template-columns: 1fr;
  }

  .acceso__identidad {
    min-height: 390px;
  }

  .acceso__formulario {
    padding: 2.2rem;
  }

  .menu-lateral,
  .portal--contraido .menu-lateral {
    width: min(340px, 92vw);
    transform: translateX(-105%);
  }

  .menu-enlace span {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .portal--menu-abierto .menu-lateral {
    transform: translateX(0);
  }

  .portal-contenedor,
  .portal--contraido .portal-contenedor {
    margin-left: 0;
  }

  .menu-lateral__alternar {
    display: none;
  }

  .boton-menu-movil {
    display: grid;
  }

  .superposicion-menu {
    position: fixed;
    z-index: 45;
    inset: 0;
    display: block;
    border: 0;
    background: rgba(39, 25, 42, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .portal--menu-abierto .superposicion-menu {
    opacity: 1;
    pointer-events: auto;
  }

  .barra-superior {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .barra-superior__acciones {
    min-width: 0;
    gap: 0.35rem;
  }

  .encabezado-pagina {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .encabezado-pagina > .grupo-acciones {
    width: 100%;
  }

  .selector-mes button {
    display: none;
  }

  .hero-dashboard {
    grid-template-columns: 1fr 190px;
  }

  .colaboradores {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .inicio-sesion {
    padding: 0;
  }

  .acceso {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .acceso__identidad {
    min-height: 300px;
    padding: 1.5rem;
  }

  .acceso__logo {
    width: 190px;
    height: 58px;
  }

  .acceso__icono {
    width: 96px;
    height: 96px;
  }

  .acceso__identidad h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .acceso__formulario {
    padding: 1.5rem;
  }

  .acceso__formulario > img {
    display: none;
  }

  .barra-superior {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.55rem 0.8rem;
  }

  .barra-superior__titulo {
    gap: 0.45rem;
  }

  .barra-superior__titulo p,
  .accion-superior--perfil {
    display: none;
  }

  .barra-superior__titulo h1 {
    font-size: 1.15rem;
  }

  .selector-mes select {
    min-width: 104px;
    max-width: 112px;
    font-size: 0.78rem;
  }

  .contenido {
    padding: 1rem 0.82rem 5rem;
  }

  .encabezado-pagina {
    align-items: flex-start;
    flex-direction: column;
  }

  .encabezado-pagina__texto .icono-portal {
    --icono: 64px;
  }

  .encabezado-pagina h2 {
    font-size: 1.7rem;
  }

  .hero-dashboard {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 1.3rem;
  }

  .hero-dashboard__icono {
    position: absolute;
    right: -28px;
    bottom: -35px;
    width: 150px;
    height: 150px;
    opacity: 0.3;
  }

  .hero-dashboard__contenido {
    position: relative;
    z-index: 2;
  }

  .hero-dashboard h2 {
    font-size: 2.1rem;
  }

  .rejilla--kpi,
  .rejilla--3,
  .rejilla--2,
  .objetivo__meta,
  .formulario-rejilla,
  .colaboradores {
    grid-template-columns: 1fr;
  }

  .barra-filtros {
    grid-template-columns: 1fr 1fr;
  }

  .barra-filtros .campo:first-child {
    grid-column: 1 / -1;
  }

  .kpi {
    min-height: 118px;
  }

  .tarjeta-area {
    min-height: 138px;
  }

  .objetivo__encabezado {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .objetivo__encabezado > :last-child {
    grid-column: 1 / -1;
  }

  .tabla-contenedor--adaptable {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .tabla--adaptable,
  .tabla--adaptable tbody,
  .tabla--adaptable tr,
  .tabla--adaptable td {
    display: block;
    width: 100%;
  }

  .tabla--adaptable thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .tabla--adaptable tr {
    margin-bottom: 0.8rem;
    overflow: hidden;
    border: 1px solid var(--borde);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--sombra-suave);
  }

  .tabla--adaptable td {
    display: grid;
    grid-template-columns: minmax(105px, 0.42fr) minmax(0, 1fr);
    gap: 0.7rem;
    padding: 0.7rem 0.85rem;
  }

  .tabla--adaptable td::before {
    content: attr(data-etiqueta);
    color: var(--texto-secundario);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .tabla--adaptable .acciones-fila {
    justify-content: flex-end;
  }

  .dona {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .modal-capa {
    align-items: end;
    padding: 0;
  }

  .modal {
    width: 100%;
    max-height: 94vh;
    border-radius: 24px 24px 0 0;
  }

  .modal__encabezado,
  .modal__contenido,
  .modal__pie {
    padding: 1rem;
  }

  .modal__pie .boton {
    flex: 1;
  }

  .visor-pdf iframe {
    height: 58vh;
    min-height: 360px;
  }

  .campo--horizontal {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .menu-lateral,
  .portal--contraido .menu-lateral {
    width: min(330px, 94vw);
  }

  .menu-lateral__marca {
    padding-inline: 0.85rem;
  }

  .menu-lateral__marca img {
    width: 168px;
  }

  .menu-lateral nav {
    padding-inline: 0.55rem;
  }

  .menu-enlace {
    min-height: 56px;
    gap: 0.65rem;
    padding: 0.6rem;
  }

  .menu-enlace .icono-portal {
    --icono: 34px;
  }

  .barra-superior {
    gap: 0.35rem;
    padding-inline: 0.55rem;
  }

  .boton-menu-movil,
  .accion-superior {
    width: 42px;
    height: 42px;
  }

  .barra-superior__titulo h1 {
    max-width: 105px;
    font-size: 1rem;
  }

  .selector-mes select {
    min-width: 92px;
    max-width: 98px;
    padding-inline: 0.45rem;
  }

  .barra-filtros {
    grid-template-columns: 1fr;
  }

  .barra-filtros .campo:first-child {
    grid-column: auto;
  }

  .encabezado-pagina__texto {
    align-items: flex-start;
    gap: 0.65rem;
  }

  .encabezado-pagina__texto .icono-portal {
    --icono: 52px;
  }

  .encabezado-pagina h2 {
    font-size: 1.45rem;
  }

  .encabezado-pagina > .grupo-acciones,
  .encabezado-pagina > .grupo-acciones .boton,
  .hero-dashboard .grupo-acciones,
  .hero-dashboard .grupo-acciones .boton {
    width: 100%;
  }

  .grupo-acciones .boton {
    min-width: 0;
  }

  .contenido {
    padding-inline: 0.65rem;
  }

  .tarjeta {
    border-radius: 16px;
  }

  .tabla--adaptable td {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .modal__pie {
    flex-direction: column-reverse;
  }

  .modal__pie .boton {
    width: 100%;
  }

  .alertas-contenedor {
    top: 0.6rem;
    right: 0.6rem;
    width: calc(100vw - 1.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
