/* Yelcho — Pesca
   Usa estilos.css de Mantenimiento tal cual (misma familia) y cambia el
   acento a azul de lago, para que en el teléfono no se confundan. */

:root {
  --acento:       #1d5c78;
  --acento-claro: #2a7699;
  --acento-tenue: #e2eef3;
  --papel:        #f5f7f8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --acento:       #7cc0dc;
    --acento-claro: #9fd3e8;
    --acento-tenue: #15303c;
    --papel:        #10161c;
  }
}

/* No hay barra de pestañas abajo. */
main { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }

/* ── Lo disponible ─────────────────────────────────────────── */

.disponible {
  background: var(--tarjeta);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 18px 18px 16px;
  text-align: center;
}
.disponible-etiqueta {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--tinta-suave);
}
.disponible-litros {
  margin: 2px 0 4px;
  font-size: 52px; font-weight: 750; line-height: 1.1;
  color: var(--acento);
  font-variant-numeric: tabular-nums;
}
.disponible-litros small { font-size: 24px; font-weight: 650; margin-left: 4px; }
.disponible-detalle { font-size: 15px; color: var(--tinta-suave); }

.acciones--pila { display: grid; gap: 10px; margin-top: 14px; }
.acciones--pila .boton { min-height: 64px; font-size: 17px; }
.boton--azul { background: var(--acento); border-color: var(--acento); color: #fff; }
@media (prefers-color-scheme: dark) { .boton--azul { color: #0d1b22; } }

/* ── Historial ─────────────────────────────────────────────── */

.fila {
  display: flex; align-items: baseline; gap: 10px;
  background: var(--tarjeta);
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid var(--borde);
}
.fila-fecha { flex: none; width: 64px; font-size: 14px; color: var(--tinta-suave); }
.fila-principal { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fila-detalle { margin-left: auto; text-align: right; font-size: 14px; color: var(--tinta-suave); }
.fila--pendiente { border-style: dashed; }
.fila-alerta { color: var(--rojo); font-weight: 650; }

/* ── Formularios ───────────────────────────────────────────── */

.campo--grande { font-size: 28px; font-weight: 700; text-align: right; }
.unidad-grande { font-size: 22px; font-weight: 650; color: var(--tinta-suave); }
.advertencia {
  margin: 10px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--rojo-tenue); color: var(--rojo);
  font-size: 15px; font-weight: 600;
}

/* ── Instalar en iPhone ────────────────────────────────────── */

.instalar {
  background: var(--acento-tenue); color: var(--tinta);
  border-radius: var(--radio);
  padding: 12px 14px;
  font-size: 15px;
}
.instalar strong { color: var(--acento); }
.instalar button {
  margin-top: 6px; padding: 0; border: none; background: none;
  color: var(--tinta-suave); font: inherit; font-size: 14px; text-decoration: underline;
}

/* ── Aviso flotante ────────────────────────────────────────── */

.aviso {
  position: fixed; left: 16px; right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  max-width: 608px; margin: 0 auto;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--tinta); color: var(--papel);
  font-size: 16px; font-weight: 600;
  box-shadow: var(--sombra);
}
.aviso--error { background: var(--rojo); color: #fff; }
.advertencia .boton { margin-top: 10px; }
