.portada[hidden], #app[hidden], #salto-cuaderno[hidden] { display: none !important; }
.portada {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(20px, 5vw, 88px);
  background: #183b32;
}
.programa {
  position: relative;
  width: min(1050px, 100%);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  overflow: hidden;
  background: #faf8ed;
  color: #193b31;
  border-radius: 3px;
  border: 1px solid #c5c3a4;
  box-shadow: 0 20px 65px #0a1d1948;
}
.programa-texto {
  padding: clamp(30px, 4.4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(28px, 5.2vh, 60px);
}
.firma { display: flex; align-items: center; gap: 11px; }
.firma img { width: 40px; height: 40px; }
.firma span { font: italic 37px/1 var(--serif); letter-spacing: -.065em; }
.programa-entrada { width: min(100%, 360px); }
.programa h1 {
  font: 500 clamp(43px, 5.2vw, 78px)/.99 var(--serif);
  letter-spacing: -.065em;
  margin: 0 0 clamp(25px, 4vh, 45px);
}
.programa h1 em { color: #46664f; font-weight: 400; }
#form-acceso label { display: block; margin: 0 0 7px; font-size: 15px; font-weight: 600; }
.campo-acceso { display: flex; align-items: center; background: #fffef8; border: 1px solid #9cae9d; border-radius: 5px; }
.campo-acceso:focus-within { outline: 2px solid #8c6837; outline-offset: 2px; }
.campo-acceso input { flex: 1; min-width: 0; min-height: 46px; border: 0; outline: none; background: transparent; padding: 9px 12px; box-shadow: none; }
.campo-acceso input:focus-visible { outline: none; }
#ver-clave { align-self: stretch; min-width: 60px; padding: 6px 10px; font-size: 14px; font-weight: 650; color: #355740; }
#abrir-cuaderno { width: 100%; min-height: 46px; margin-top: 13px; padding: 10px 16px; border-radius: 5px; background: #20483b; color: #fffdf1; font-weight: 650; }
#abrir-cuaderno:hover:enabled { background: #173a2e; }
#estado-acceso { min-height: 1.4em; margin: 10px 0 0; color: #6b4d31; font-size: 14px; line-height: 1.45; }
.programa-arte { position: relative; min-height: min(565px, 73svh); border-left: 1px solid #d0cbad; background: #eceadc; overflow: hidden; }
.programa-arte img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 54% 50%; mix-blend-mode: multiply; }
.programa-arte::after { content: ""; position: absolute; inset: 13px; border: 1px solid #efe8ceae; pointer-events: none; }
.cerrar-cuaderno { color: #dbe8dc; display: inline-flex; align-items: center; gap: 9px; padding: 4px 2px; font-size: 14px; }
.cerrar-cuaderno:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 650px) {
  .portada { padding: clamp(12px, 4vw, 25px); }
  .programa { grid-template-columns: minmax(0, 1fr); width: min(460px, 100%); }
  .programa-texto { padding: 23px clamp(20px, 7vw, 40px) 15px; gap: 24px; }
  .programa-arte { min-height: 0; height: clamp(70px, 19svh, 140px); grid-row: 1; border-left: 0; border-bottom: 1px solid #d0cbad; }
  .programa-arte img { object-position: 50% 47%; }
  .programa-arte::after { inset: 6px; }
  .programa h1 { font-size: clamp(41px, 10.4vw, 54px); margin-bottom: 22px; }
  .firma img { width: 31px; height: 31px; }
  .firma span { font-size: 31px; }
}
@media (max-height: 610px) and (max-width: 650px) { .programa-arte { height: 50px; } }
@media print { .portada { display: none !important; } }
