/* Panel de Archivo Inédito, con el lenguaje de Cuadre: colores y tipografía de iOS,
   grafito en oscuro (no negro), tarjetas lisas de 22 px sin borde, filas con separador fino
   y cristal solo en lo que flota (barra de pestañas, barra lateral, hojas y avisos). */

:root {
  color-scheme: light;
  --fondo: #f2f2f7;
  --tarjeta: #ffffff;
  --relleno: #e5e5ea;
  --relleno-2: #efeff4;
  --separador: rgb(60 60 67 / 0.18);
  --texto: #000000;
  --texto-2: #8e8e93;
  --texto-3: #aeaeb2;
  --tinta: #007aff;
  --tinta-suave: rgb(0 122 255 / 0.12);
  --rojo: #ff3b30;
  --verde: #34c759;
  --naranja: #ff9500;
  --cristal: rgb(255 255 255 / 0.72);
  --cristal-borde: rgb(255 255 255 / 0.9);
  --sombra-flotante: 0 4px 22px rgb(0 0 0 / 0.08), 0 1px 2px rgb(0 0 0 / 0.04);
  --radio: 22px;
  --radio-fila: 12px;
  --fuente: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --fuente-titulo: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ancho-lateral: 264px;
  --alto-pestanas: 62px;
}

/* Oscuro: grafito de Cuadre */
:root[data-tema="oscuro"] {
  color-scheme: dark;
  --fondo: #17171a;
  --tarjeta: #242428;
  --relleno: #303035;
  --relleno-2: #2b2b30;
  --separador: rgb(84 84 88 / 0.55);
  --texto: #ffffff;
  --texto-2: #98989f;
  --texto-3: #6c6c70;
  --tinta: #0a84ff;
  --tinta-suave: rgb(10 132 255 / 0.18);
  --rojo: #ff453a;
  --verde: #30d158;
  --naranja: #ff9f0a;
  --cristal: rgb(44 44 48 / 0.7);
  --cristal-borde: rgb(255 255 255 / 0.08);
  --sombra-flotante: 0 6px 26px rgb(0 0 0 / 0.45);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-tema="claro"]) {
    color-scheme: dark;
    --fondo: #17171a;
    --tarjeta: #242428;
    --relleno: #303035;
    --relleno-2: #2b2b30;
    --separador: rgb(84 84 88 / 0.55);
    --texto: #ffffff;
    --texto-2: #98989f;
    --texto-3: #6c6c70;
    --tinta: #0a84ff;
    --tinta-suave: rgb(10 132 255 / 0.18);
    --rojo: #ff453a;
    --verde: #30d158;
    --naranja: #ff9f0a;
    --cristal: rgb(44 44 48 / 0.7);
    --cristal-borde: rgb(255 255 255 / 0.08);
    --sombra-flotante: 0 6px 26px rgb(0 0 0 / 0.45);
  }
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  background: var(--fondo);
}
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--fondo);
  color: var(--texto);
  font: 16px/1.4 var(--fuente);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  overflow-x: hidden;
}
h1,
h2,
h3 {
  font-family: var(--fuente-titulo);
  text-wrap: balance;
  margin: 0;
}
h1 {
  font-size: 34px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0.005em;
}
h2 {
  font-size: 20px;
  font-weight: 700;
}
h3 {
  font-size: 17px;
  font-weight: 600;
}
p {
  margin: 0;
  text-wrap: pretty;
}
a {
  color: inherit;
}
.num {
  font-variant-numeric: tabular-nums;
}
:focus-visible {
  outline: 3px solid var(--tinta);
  outline-offset: 2px;
  border-radius: 8px;
}
.principal:focus {
  outline: none;
}
.saltar {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--tinta);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.saltar:focus {
  top: 12px;
}

/* Cristal: solo lo que flota sobre el contenido */
.cristal {
  background: var(--cristal);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  backdrop-filter: blur(24px) saturate(1.8);
  border: 0.5px solid var(--cristal-borde);
  box-shadow: var(--sombra-flotante);
}

/* Estructura */
.marco {
  display: grid;
  min-height: 100dvh;
}
.lateral {
  display: none;
}
.principal {
  min-width: 0;
  padding: calc(env(safe-area-inset-top) + 24px) 16px calc(var(--alto-pestanas) + env(safe-area-inset-bottom) + 40px);
}
.contenido {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

/* Barra de pestañas flotante en cápsula, como iOS 26 */
.pestanas {
  position: fixed;
  z-index: 20;
  left: 16px;
  right: 16px;
  bottom: calc(env(safe-area-inset-bottom) + 14px);
  height: var(--alto-pestanas);
  border-radius: 31px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 4px;
}
.pestana {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  border: 0;
  background: none;
  color: var(--texto);
  font: 600 10px var(--fuente);
  letter-spacing: 0;
  text-decoration: none;
  border-radius: 27px;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.pestana svg {
  width: 24px;
  height: 24px;
}
.pestana[aria-current="page"] {
  color: var(--tinta);
  background: var(--tinta-suave);
}

@media (min-width: 900px) {
  .marco {
    grid-template-columns: var(--ancho-lateral) 1fr;
  }
  .pestanas {
    display: none;
  }
  /* Barra lateral de iPadOS: panel flotante de cristal */
  .lateral {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: sticky;
    top: 12px;
    height: calc(100dvh - 24px);
    margin: 12px 0 12px 12px;
    padding: 18px 10px 12px;
    border-radius: 26px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .lateral .marca {
    padding: 2px 12px 16px;
  }
  .principal {
    padding: 44px 36px 64px;
  }
}
.marca {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 17px var(--fuente-titulo);
}
.marca-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #1c1c1e;
  display: grid;
  place-items: center;
  color: #ff9f0a;
  flex: none;
}
.marca-logo svg {
  width: 18px;
  height: 18px;
}
.enlace-lateral {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radio-fila);
  background: none;
  color: var(--texto);
  font: 500 15px var(--fuente);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.enlace-lateral svg {
  width: 21px;
  height: 21px;
  flex: none;
  color: var(--tinta);
}
.enlace-lateral:hover {
  background: var(--relleno-2);
}
.enlace-lateral[aria-current="page"] {
  background: var(--tinta);
  color: #fff;
}
.enlace-lateral[aria-current="page"] svg {
  color: #fff;
}
.enlace-lateral .cuenta {
  margin-left: auto;
  font-size: 14px;
  color: var(--texto-2);
  font-variant-numeric: tabular-nums;
}
.enlace-lateral[aria-current="page"] .cuenta {
  color: rgb(255 255 255 / 0.85);
}
.separador {
  height: 0.5px;
  background: var(--separador);
  margin: 10px 12px;
}
.pie-lateral {
  margin-top: auto;
  display: grid;
  gap: 2px;
}

/* Encabezado de cada vista: título grande de iOS */
.titulo-vista {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 0 4px;
}
.titulo-vista p {
  color: var(--texto-2);
  margin-top: 4px;
  font-size: 15px;
}

/* Tarjetas lisas */
.tarjeta {
  background: var(--tarjeta);
  border-radius: var(--radio);
  padding: 16px;
  min-width: 0;
}
.tarjeta > h2,
.tarjeta > h3 {
  margin-bottom: 10px;
}
.tarjeta-cabecera {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
/* En la cabecera de una tarjeta, el botón es un enlace de texto, como en iOS */
.tarjeta-cabecera .boton:not(.boton-principal):not(.boton-peligro) {
  min-height: 32px;
  padding: 0 4px;
  background: none;
  font-weight: 400;
}
.tarjeta-cabecera .boton:not(.boton-principal):not(.boton-peligro):hover {
  text-decoration: underline;
}
.rejilla {
  display: grid;
  gap: 16px;
}
.rejilla-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}
.rejilla-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}

/* Cifra protagonista, como «Libre este mes» de Cuadre */
.etiqueta-gris {
  font-size: 13px;
  color: var(--texto-2);
}
.cifra-grande {
  font: 700 40px/1.08 var(--fuente-titulo);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  margin-top: 2px;
}
.cifra-media {
  font: 700 22px/1.2 var(--fuente-titulo);
  font-variant-numeric: tabular-nums;
  margin: 2px 0 1px;
}
.redes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 0.5px solid var(--separador);
}
.red-bloque {
  min-width: 0;
}
.red-bloque .etiqueta-gris:first-child,
.kpi-red {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--texto-2);
}
.punto {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}
.red-youtube {
  background: #ff3b30;
}
.red-tiktok {
  background: #32ade6;
}
.red-instagram {
  background: #ff2d92;
}
.red-otra {
  background: #8e8e93;
}

/* Filas de lista con separador fino, como en iOS */
.lista {
  display: grid;
  margin: -6px 0;
}
.fila {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 10px 0;
  position: relative;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.fila + .fila::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.5px;
  background: var(--separador);
}
.fila.con-portada + .fila.con-portada::before {
  left: 54px;
}
a.fila {
  transition: transform 0.18s cubic-bezier(0.3, 0.7, 0.4, 1), opacity 0.15s ease;
}
a.fila:hover .fila-titulo {
  color: var(--tinta);
}
a.fila:active {
  transform: scale(0.99);
  opacity: 0.7;
}
.fila-cuerpo {
  flex: 1;
  min-width: 0;
}
.fila-titulo {
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.fila-meta {
  color: var(--texto-2);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 1px;
}
.fila-cifra {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  flex: none;
}
.fila-cifra small {
  display: block;
  color: var(--texto-2);
  font-weight: 400;
  font-size: 12px;
}
.chevron {
  width: 16px;
  height: 16px;
  color: var(--texto-3);
  flex: none;
}
.portada-mini {
  width: 42px;
  height: 74px;
  border-radius: 9px;
  object-fit: cover;
  background: var(--relleno);
  flex: none;
}

/* Barras finas */
.barras {
  display: grid;
  gap: 14px;
}
.barra {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  align-items: center;
  font-size: 15px;
}
.barra:hover .fila-titulo {
  color: var(--tinta);
}
.barra .num {
  font-weight: 600;
}
.barra-pista {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 3px;
  background: var(--relleno);
  overflow: hidden;
}
.barra-pista i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--tinta);
  transform-origin: left;
}

/* Tabla de cifras */
.tabla-envoltorio {
  overflow-x: auto;
  margin: 0 -16px;
  padding: 0 16px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 15px;
}
th,
td {
  text-align: right;
  padding: 10px 8px;
  border-top: 0.5px solid var(--separador);
  white-space: nowrap;
}
th:first-child,
td:first-child {
  text-align: left;
  padding-left: 0;
}
th {
  font-size: 13px;
  font-weight: 500;
  color: var(--texto-2);
  border-top: 0;
}

/* Etiquetas de estado tintadas */
.etiqueta {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--relleno);
  color: var(--texto-2);
  white-space: nowrap;
  flex: none;
}
.etiqueta[data-tono="acento"] {
  background: color-mix(in srgb, var(--naranja) 16%, transparent);
  color: var(--naranja);
}
.etiqueta[data-tono="verde"] {
  background: color-mix(in srgb, var(--verde) 16%, transparent);
  color: color-mix(in srgb, var(--verde) 80%, var(--texto));
}
.etiqueta[data-tono="rojo"] {
  background: color-mix(in srgb, var(--rojo) 14%, transparent);
  color: var(--rojo);
}
.etiqueta[data-tono="azul"] {
  background: var(--tinta-suave);
  color: var(--tinta);
}

/* Filtros: cápsulas */
.segmentos {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 -16px;
  padding: 2px 16px;
  scrollbar-width: none;
}
.segmentos::-webkit-scrollbar {
  display: none;
}
.segmentos a {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--tarjeta);
  color: var(--texto);
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.segmentos a:hover {
  background: var(--relleno);
}
.segmentos a[aria-current="true"] {
  background: var(--tinta);
  color: #fff;
}

/* Botones de iOS: tintado, relleno y gris */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  background: var(--tinta-suave);
  color: var(--tinta);
  font: 600 15px var(--fuente);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.18s cubic-bezier(0.3, 0.7, 0.4, 1);
}
.boton:hover {
  background: color-mix(in srgb, var(--tinta) 20%, transparent);
}
.boton:active {
  transform: scale(0.97);
}
.boton-principal {
  background: var(--tinta);
  color: #fff;
}
.boton-principal:hover {
  background: color-mix(in srgb, var(--tinta) 88%, black);
}
.boton-peligro {
  background: color-mix(in srgb, var(--rojo) 12%, transparent);
  color: var(--rojo);
}
.boton-peligro:hover {
  background: color-mix(in srgb, var(--rojo) 20%, transparent);
}
.boton-icono {
  width: 40px;
  padding: 0;
}
.boton svg {
  width: 18px;
  height: 18px;
}
.boton[disabled] {
  opacity: 0.55;
  cursor: progress;
}

/* Campos: relleno gris, sin borde */
.campo {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.campo > span {
  font-size: 13px;
  color: var(--texto-2);
  padding: 0 4px;
}
input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  padding: 11px 14px;
  border-radius: var(--radio-fila);
  border: 0;
  background-color: var(--relleno-2);
  color: var(--texto);
  font: 16px/1.4 var(--fuente);
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--texto-2) 50%), linear-gradient(135deg, var(--texto-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
textarea {
  resize: vertical;
  min-height: 110px;
}
textarea.mono {
  font: 14px/1.6 var(--mono);
}
input::placeholder,
textarea::placeholder {
  color: var(--texto-3);
}
input:hover,
textarea:hover,
select:hover {
  background-color: var(--relleno);
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--tinta);
  background-color: var(--tarjeta);
}
.formulario {
  display: grid;
  gap: 14px;
}
.acciones {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.dos-campos {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
}

/* Comentarios */
.comentario {
  display: grid;
  gap: 8px;
  padding: 14px 0;
  position: relative;
}
.comentario + .comentario::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.5px;
  background: var(--separador);
}
.tarjeta > .comentario:first-of-type {
  padding-top: 4px;
}
.comentario-cabeza {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-size: 13px;
  color: var(--texto-2);
}
.comentario-cabeza strong {
  color: var(--texto);
  font-size: 15px;
  font-weight: 600;
}
.comentario-texto {
  overflow-wrap: anywhere;
}
.voto {
  min-width: 26px;
  text-align: center;
  font: 700 13px var(--fuente);
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--naranja);
  color: #fff;
}
details > summary {
  list-style: none;
  cursor: pointer;
  color: var(--tinta);
  font-size: 15px;
}
details > summary::-webkit-details-marker {
  display: none;
}
details[open] > summary {
  margin-bottom: 10px;
}

/* Texto largo */
.prosa {
  display: grid;
  gap: 10px;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.55;
}
.prosa h1 {
  font-size: 24px;
}
.prosa h2 {
  font-size: 19px;
  margin-top: 8px;
}
.prosa h3 {
  margin-top: 4px;
}
.prosa ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 4px;
}
.prosa pre {
  margin: 0;
  padding: 14px;
  border-radius: 14px;
  background: var(--relleno-2);
  font: 13px/1.6 var(--mono);
  white-space: pre-wrap;
}
.prosa code {
  font: 0.9em var(--mono);
  background: var(--relleno-2);
  padding: 1px 5px;
  border-radius: 5px;
}
.prosa pre code {
  padding: 0;
  background: none;
}
.prosa a {
  color: var(--tinta);
}
.recorte {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--texto-2);
  font-size: 15px;
}

/* Calendario: fecha como en la app Calendario */
.dia {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  position: relative;
}
.dia + .dia::before {
  content: "";
  position: absolute;
  top: 0;
  left: 62px;
  right: 0;
  height: 0.5px;
  background: var(--separador);
}
.dia-fecha {
  text-align: center;
  font-variant-numeric: tabular-nums;
  display: grid;
}
.dia-fecha strong {
  font: 700 24px/1.05 var(--fuente-titulo);
}
.dia-fecha span {
  color: var(--rojo);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.dia-fecha strong + span {
  color: var(--texto-2);
  font-weight: 500;
}

/* Accesos */
.acceso {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none;
  transition: transform 0.18s cubic-bezier(0.3, 0.7, 0.4, 1);
}
.acceso:hover .fila-titulo {
  color: var(--tinta);
}
.acceso:active {
  transform: scale(0.97);
}
.acceso-icono {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}
.acceso-icono svg {
  width: 20px;
  height: 20px;
}

/* Hoja inferior (menú Más en móvil) */
.velo {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgb(0 0 0 / 0.32);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.velo[data-abierto="true"] {
  opacity: 1;
}
.hoja {
  position: fixed;
  z-index: 41;
  left: 8px;
  right: 8px;
  bottom: calc(env(safe-area-inset-bottom) + 8px);
  border-radius: 30px;
  padding: 14px 10px 10px;
  display: grid;
  gap: 2px;
  max-height: 78dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(110%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}
.hoja[data-abierto="true"] {
  transform: none;
}
.hoja::before {
  content: "";
  justify-self: center;
  width: 36px;
  height: 5px;
  border-radius: 3px;
  background: var(--texto-3);
  margin-bottom: 8px;
}
.hoja .enlace-lateral {
  min-height: 48px;
  font-size: 17px;
}

/* Vacío y carga */
.vacio {
  padding: 24px 8px;
  text-align: center;
  color: var(--texto-2);
}
.cargando {
  color: var(--texto-2);
  padding: 24px 4px;
}

/* Avisos */
.avisos {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom) + var(--alto-pestanas) + 28px);
  translate: -50% 0;
  display: grid;
  gap: 8px;
  width: min(380px, calc(100% - 32px));
  pointer-events: none;
}
@media (min-width: 900px) {
  .avisos {
    bottom: 28px;
  }
}
.aviso {
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  pointer-events: auto;
  animation: entra 0.24s cubic-bezier(0.3, 0.7, 0.4, 1) both;
}
.aviso[data-tono="rojo"] {
  color: var(--rojo);
}
@keyframes entra {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
}

/* Entrada */
.entrada {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}
.entrada-caja {
  width: min(380px, 100%);
  display: grid;
  gap: 20px;
  padding: 30px 24px 24px;
  border-radius: 30px;
}
.entrada-caja.cristal {
  background: var(--tarjeta);
  box-shadow: none;
  border: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.entrada-caja .marca-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}
.entrada-caja .marca-logo svg {
  width: 30px;
  height: 30px;
}
.entrada-caja h1 {
  font-size: 28px;
}
.entrada-caja p {
  color: var(--texto-2);
  margin-top: 4px;
}
.entrada-caja .boton {
  min-height: 50px;
  font-size: 17px;
}
.error-campo {
  color: var(--rojo);
  font-size: 14px;
}

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