/* frontend/estilos/base.css */
[hidden] {
  display: none !important;
}
:root {
  --negro: #111;
  --texto: #111;
  --texto-2: #666;
  --texto-3: #999;
  --borde: #e5e5e2;
  --borde-tarjeta: #e2e2df;
  --borde-fuerte: #bbb;
  --superficie: #fff;
  --superficie-2: #f0f0ee;
  --superficie-3: #f7f7f5;
  --enlace: #1c5cab;
  --ok-fondo: #eaf3de;
  --ok-texto: #27500a;
  --avi-fondo: #faeeda;
  --avi-texto: #633806;
  --mal-fondo: #fcebeb;
  --mal-texto: #791f1f;
  --sube: #006300;
  --baja: #a32d2d;
  --radio: 8px;
  --radio-tarjeta: 12px;
  --sombra-tarjeta: 0 4px 14px rgba(30, 58, 95, .05);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  background: var(--superficie-3);
  color: var(--texto);
  font-size: 14px;
  line-height: 1.5;
}
.barra {
  background: var(--negro);
  color: #fff;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.barra__izq,
.barra__der {
  display: flex;
  align-items: center;
  gap: 8px;
}
.barra__titulo {
  font-size: 13px;
  font-weight: 500;
}
.barra__usuario {
  color: #888;
  font-size: 12px;
}
.barra__salir {
  color: #888;
  font-size: 12px;
  text-decoration: none;
}
.barra__salir:hover {
  color: #fff;
  text-decoration: underline;
}
.logo {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: #fff;
  color: var(--negro);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}
.contenido {
  padding: 20px 16px;
  max-width: 1200px;
  margin: 0 auto;
  flex: 1;
  min-width: 0;
}
@media (max-width: 900px) {
  .tarjeta .tabla {
    display: block;
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }
  .barra {
    flex-wrap: wrap;
    row-gap: 6px;
  }
  .barra__der {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .contenido {
    padding: 14px 10px;
  }
}
.titulo {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}
.apagado {
  color: var(--texto-3);
  font-size: 12px;
}
.ctr {
  text-align: center;
}
.rgt {
  text-align: right;
}
a {
  color: var(--enlace);
}
code {
  background: var(--superficie-2);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 12px;
}
