/* espera.css */

html[data-fondo='espera'] body {
  background:
    linear-gradient(180deg, rgb(10 12 16 / 0.45) 0%, rgb(10 12 16 / 0.6) 50%, rgb(10 12 16 / 0.78) 100%),
    var(--foto-de-seccion) center 35% / cover fixed,
    var(--bg-page, #0e1014);
}
@media (max-width: 760px) { html[data-fondo='espera'] body { background-attachment: scroll, scroll, scroll; } }

.espera--sondeo main.correo-pc { visibility: hidden; }

.correo-pc {
  --cr-fondo: #f2f4f7;
  --cr-papel: #ffffff;
  --cr-leido: #f6f8fa;
  --cr-texto: #1c2028;
  --cr-texto-2: #434a57;
  --cr-texto-3: #59616f;
  --cr-linea: #dfe3ea;
  --cr-linea-2: #edf0f4;
  --cr-hover: #e7ebf0;
  --cr-acento: #146c5a;
  --cr-acento-lav: #d6ece5;
  --cr-acento-suave: #ebf6f2;
  --cr-rojo: #b9241b;
  --cr-rojo-lav: #fdeceb;
  --cr-azul: #164a86;
  --cr-azul-lav: #e9f1fb;
  --cr-azul-borde: #c4d6ef;
  --cr-barra: #d8dde5;
  --pc-arriba: 117px;

  overflow-x: clip;
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: calc(var(--alto-ventana, 100dvh) - var(--pc-arriba));
  min-height: 520px;
  padding: 16px 24px;
}
:where(.correo-pc) *, :where(.correo-pc) *::before, :where(.correo-pc) *::after { box-sizing: border-box; }
:where(.correo-pc) button { font: inherit; color: inherit; cursor: pointer; }
.correo-pc :is(button, a, input):focus-visible { outline: 2px solid var(--cr-acento); outline-offset: 2px; }

.pc__dock { display: none; }
@media (min-width: 761px) and (min-height: 820px) {
  .correo-pc { padding-bottom: 68px; }
  .pc__dock {
    position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
    display: flex; gap: 10px; padding: 7px 12px; border-radius: 16px;
    background: rgb(20 23 30 / 0.92); box-shadow: 0 10px 30px -10px rgb(0 0 0 / 0.7);
  }
  .pc__dock i { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, #3a4153, #222837); }
  .pc__dock i.pc__dock-on { background: linear-gradient(135deg, #2a9a7d, #146c5a); }
}

.ventana-pc {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cr-fondo);
  color: var(--cr-texto);
  font-family: var(--font-ui);
  box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.85), 0 0 0 1px rgb(255 255 255 / 0.06);
}
.ventana-pc__barra { flex: none; display: flex; align-items: flex-end; gap: 10px; padding: 8px 14px 0; background: var(--cr-barra); min-width: 0; }
.ventana-pc__semaforo { display: flex; gap: 7px; padding: 0 6px 10px 0; flex: none; }
.ventana-pc__semaforo i { width: 12px; height: 12px; border-radius: 50%; background: #e2564d; }
.ventana-pc__semaforo i:nth-child(2) { background: #e4a72f; }
.ventana-pc__semaforo i:nth-child(3) { background: #3fae4c; }
.ventana-pc__pestana {
  display: block; min-width: 0; max-width: 340px; padding: 8px 14px; border-radius: 10px 10px 0 0;
  background: var(--cr-fondo); font-size: var(--fs-2xs); line-height: 1.3; color: #2c3039;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ventana-pc__pestana--otra { background: transparent; color: #424854; text-decoration: none; flex: none; }
@media (hover: hover) { .ventana-pc__pestana--otra:hover { background: rgb(255 255 255 / 0.45); } }
.ventana-pc__dir { flex: none; padding: 6px 14px 8px; background: var(--cr-fondo); border-bottom: 1px solid var(--cr-linea); }
.ventana-pc__url {
  display: block; max-width: 640px; padding: 5px 14px; border-radius: 999px; background: #e3e7ed;
  font-size: var(--fs-2xs); line-height: 1.35; color: #3f4550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.correo { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.correo__cab { flex: none; display: flex; align-items: center; gap: 16px; padding: 10px 18px; }
.correo__menu { display: none; flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; place-items: center; }
.correo__menu svg { width: 22px; height: 22px; fill: none; stroke: var(--cr-texto-2); stroke-width: 2; stroke-linecap: round; }
@media (hover: hover) { .correo__menu:hover { background: var(--cr-hover); } }
.correo__marca { flex: none; display: flex; align-items: center; gap: 10px; width: 232px; font-size: var(--fs-xl); font-weight: 600; color: #333944; }
.correo__marca svg { width: 30px; height: 23px; fill: var(--cr-acento); stroke: #fff; stroke-width: 2.2; stroke-linejoin: round; }
.correo__marca svg rect { stroke: none; }
.correo__buscar { flex: 1 1 auto; min-width: 0; max-width: 680px; display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 44px; border-radius: 999px; background: #e4e9ef; }
.correo__buscar svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--cr-texto-3); stroke-width: 2; stroke-linecap: round; }
.correo__buscar input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: var(--fs-sm); color: var(--cr-texto); outline: none; }
.correo__buscar input::placeholder { color: var(--cr-texto-3); opacity: 1; }
.correo__buscar:focus-within { background: var(--cr-papel); box-shadow: 0 1px 3px rgb(30 40 60 / 0.25); }
.correo__yo { margin-left: auto; flex: none; display: flex; align-items: center; gap: 10px; font-size: var(--fs-xs); color: var(--cr-texto-2); min-width: 0; }
.correo__ini { width: 34px; height: 34px; border-radius: 50%; background: var(--cr-acento); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; flex: none; }

.correo__cuerpo {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 248px minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: 0 10px;
  padding: 0 14px 14px 6px;
}
.correo__panel { min-height: 0; background: var(--cr-papel); border-radius: 16px; overflow: hidden; }

.correo__carpetas { min-height: 0; overflow-y: auto; padding: 2px 4px 10px 0; scrollbar-width: thin; }
.carpetas { display: grid; gap: 1px; }
.carpeta {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 34px; padding: 6px 14px 6px 18px;
  border: 0; border-radius: 0 999px 999px 0; background: none; font-size: var(--fs-sm); line-height: 1.2; color: var(--cr-texto); text-align: left;
  transition: background-color 0.15s;
}
.carpeta svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--cr-texto-2); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.carpeta span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.carpeta b { font-size: var(--fs-2xs); font-weight: 700; }
.carpeta i { width: 11px; height: 11px; border-radius: 3px; background: var(--etq); flex: none; margin: 0 3px; }
@media (hover: hover) { .carpeta:hover { background: var(--cr-hover); } }
.carpeta:active { transform: scale(0.98); }
.carpeta--on { background: var(--cr-acento-lav); font-weight: 800; }
@media (hover: hover) { .carpeta--on:hover { background: var(--cr-acento-lav); } }
.carpeta--on svg { stroke: var(--cr-acento); }
.carpetas__t { margin: 12px 0 2px 18px; font-size: var(--fs-2xs); font-weight: 700; color: var(--cr-texto-3); letter-spacing: 0.02em; }

.legajo-correo { margin: 14px 4px 0 10px; padding: 12px 12px 10px; border-radius: 12px; background: var(--cr-papel); border: 1px solid var(--cr-linea); display: grid; gap: 10px; font-size: var(--fs-md); color: var(--cr-texto-2); }
.legajo-correo__t { margin: 0; font-size: var(--fs-2xs); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cr-texto-3); }
.legajo-correo__salida { display: flex; align-items: center; gap: 10px; }
.legajo-correo__escudo { width: 30px; height: 30px; object-fit: contain; flex: none; opacity: 0.55; filter: grayscale(1); }
.legajo-correo__salida span { line-height: 1.35; }
.legajo-correo__salida b { display: block; font-size: var(--fs-md); color: var(--cr-texto); }
.legajo-correo__nota { margin: 0; font-size: var(--fs-xs); line-height: 1.4; color: var(--cr-texto-3); }
.legajo-correo__vara { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px 8px; padding-top: 8px; border-top: 1px solid var(--cr-linea-2); }
.legajo-correo__vara .vara__regla, .legajo-correo__vara .legajo-correo__nota { grid-column: 1 / -1; }
.legajo-correo__rotulo { font-weight: 700; color: var(--cr-texto-2); }
.legajo-correo__cifra { white-space: nowrap; color: var(--cr-texto-3); }
.legajo-correo__cifra b { font-size: var(--fs-xl); color: var(--cr-texto); }
.vara__regla { display: grid; grid-template-columns: repeat(20, 1fr); gap: 2px; }
.vara__casilla { height: 7px; border-radius: 2px; background: #dde2e9; }
.vara__casilla--llena { background: #4d5666; }
.vara__casilla--se-va { background: #c98a12; }
.legajo-correo__datos { margin: 0; padding-top: 8px; border-top: 1px solid var(--cr-linea-2); display: grid; gap: 5px; }
.legajo-correo__datos div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.legajo-correo__datos dt { color: var(--cr-texto-3); flex: none; }
.legajo-correo__datos dd { margin: 0; font-weight: 700; color: var(--cr-texto); text-align: right; min-width: 0; }
.espera__retiro[hidden] { display: none; }
.espera__retiro { flex: none; white-space: nowrap; }
.chrome .action.espera__retiro {
  position: static;
  background: var(--clay-500); border-color: var(--clay-500); color: var(--text-primary);
  padding-inline: var(--sp-6);
}
@media (hover: hover) {
  .chrome .action.espera__retiro:hover:not(:disabled) { background: var(--clay-300, var(--danger)); filter: brightness(1.12); }
}
.chrome .action.espera__retiro:active:not(:disabled) { background: var(--clay-500); filter: brightness(0.95); }
.legajo__borrar {
  justify-self: start; padding: 4px 0; border: 0; background: none; font-size: var(--fs-xs); line-height: normal;
  color: var(--cr-texto-3); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s, transform 0.2s;
}
@media (hover: hover) { .legajo__borrar:hover { color: var(--cr-rojo); } }
.legajo__borrar:active { transform: scale(0.96); }

.correo__lista { display: flex; flex-direction: column; }
.solapas { flex: none; display: flex; border-bottom: 1px solid var(--cr-linea-2); }
.solapa {
  flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 10px 11px; border: 0; border-bottom: 3px solid transparent; background: none;
  font-size: var(--fs-sm); line-height: 1.2; color: var(--cr-texto-2); white-space: nowrap; transition: background-color 0.15s, color 0.15s;
}
@media (hover: hover) { .solapa:hover { background: var(--cr-leido); } }
.solapa--on { color: var(--cr-acento); border-bottom-color: var(--cr-acento); font-weight: 800; }
.solapa em { font-style: normal; padding: 1px 7px; border-radius: 999px; background: #1d7a4a; color: #fff; font-size: var(--fs-2xs); font-weight: 800; }
.bandeja__t { flex: none; margin: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 14px 16px 12px; border-bottom: 1px solid var(--cr-linea-2); font-size: var(--fs-md); font-weight: 800; color: var(--cr-texto); }
.bandeja__t small { font-size: var(--fs-xs); font-weight: 600; color: var(--cr-texto-3); }
.bandeja__filas { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.bandeja__nada { margin: 0; padding: 28px 20px; text-align: center; font-size: var(--fs-sm); color: var(--cr-texto-3); }

.fila {
  position: relative; display: grid; width: 100%;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  grid-template-areas: 'est de cuando' '. linea linea';
  align-items: center; gap: 3px 10px; padding: 10px 16px 10px 14px;
  border: 0; border-bottom: 1px solid var(--cr-linea-2); background: var(--cr-leido);
  font-size: var(--fs-md); line-height: 1.3; color: var(--cr-texto-2); text-align: left;
  transition: background-color 0.15s, box-shadow 0.15s;
}
.fila--nueva { background: var(--cr-papel); color: var(--cr-texto); }
.fila--nueva::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--cr-acento); }
@media (hover: hover) { .fila:hover { box-shadow: inset 0 0 0 1px var(--cr-linea), 0 2px 6px -2px rgb(30 40 60 / 0.25); z-index: 1; } }
.fila:active { transform: scale(0.995); }
.fila--on, .fila--on.fila--nueva { background: var(--cr-acento-lav); }
.fila__est { grid-area: est; font-size: var(--fs-sm); color: #c5c9d0; }
.fila__est--si { color: #d99a00; }
.fila__de { grid-area: de; display: flex; align-items: center; gap: 7px; min-width: 0; }
.fila__de span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fila__escudo { width: 18px; height: 18px; object-fit: contain; flex: none; }
.fila--nueva .fila__de, .fila--nueva .fila__asunto { font-weight: 800; }
.fila__cuando { grid-area: cuando; font-size: var(--fs-xs); color: var(--cr-texto-3); white-space: nowrap; text-align: right; }
.fila__cuando--vence b { margin-left: 5px; font-size: var(--fs-xs); color: var(--cr-texto); font-variant-numeric: tabular-nums; }
.fila__cuando--vence b.fila__hoy { color: var(--cr-rojo); }
.fila__linea { grid-area: linea; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fila__previa { color: var(--cr-texto-3); font-weight: 400; }

.etq { display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 4px; font-size: var(--fs-2xs); font-weight: 700; line-height: 1.35; vertical-align: 1px; }
.etq--oferta { background: #d5eedd; color: #10592c; }
.etq--prensa { background: #e6e9ee; color: #383e49; }
.etq--club { background: #fbe3e1; color: #8a1810; }
.etq--spam { background: #ececec; color: #454545; }

.bandeja-vacia { display: grid; justify-items: center; gap: 6px; margin: 14px; padding: 22px 18px; border-radius: 12px; border: 1px dashed var(--cr-linea); text-align: center; color: var(--cr-texto-2); font-size: var(--fs-sm); line-height: 1.5; }
.bandeja-vacia svg { width: 30px; height: 30px; fill: none; stroke: var(--cr-texto-3); stroke-width: 1.6; stroke-linejoin: round; }
.bandeja-vacia b { font-size: var(--fs-md); color: var(--cr-texto); }

.correo__leer { overflow-y: auto; padding: 22px 28px 26px; container-type: inline-size; scrollbar-width: thin; }
.leer__hoja { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.leer__volver { display: none; }
.leer__vacio { height: 100%; min-height: 220px; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--cr-texto-3); font-size: var(--fs-sm); }
.leer__vacio svg { width: 54px; height: 40px; fill: none; stroke: #b9c0ca; stroke-width: 1.6; stroke-linejoin: round; }

.leer__asunto { margin: 0 0 14px; font-size: var(--fs-xl); font-weight: 500; line-height: 1.25; color: var(--cr-texto); text-wrap: balance; }
.leer__asunto .etq { font-size: var(--fs-2xs); vertical-align: 3px; }
.remite { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; grid-template-areas: 'avatar quien hora' 'avatar para hora'; gap: 2px 12px; align-items: center; }
.remite__escudo, .remite__avatar { grid-area: avatar; width: 40px; height: 40px; object-fit: contain; }
.remite__avatar { border-radius: 50%; background: #d9dee6; color: var(--cr-texto-2); font-weight: 800; display: grid; place-items: center; font-size: 16px; text-transform: uppercase; }
.remite__quien { grid-area: quien; min-width: 0; font-size: var(--fs-md); color: var(--cr-texto); overflow-wrap: anywhere; }
.remite__quien small { font-size: var(--fs-xs); color: var(--cr-texto-3); }
.remite__para { grid-area: para; font-size: var(--fs-xs); color: var(--cr-texto-3); }
.remite__para button { padding: 0; border: 0; background: none; color: var(--cr-texto-3); font-size: inherit; }
@media (hover: hover) { .remite__para button:hover { color: var(--cr-texto); text-decoration: underline; } }
.remite__hora { grid-area: hora; display: grid; justify-items: end; align-content: center; font-size: var(--fs-xs); line-height: 1.3; color: var(--cr-texto-3); text-align: right; }
.remite__hora span { margin-top: 2px; }
.remite__hora b { font-size: var(--fs-xl); line-height: 1.1; color: var(--cr-texto); font-variant-numeric: tabular-nums; }
.remite__hora b.remite__hoy { color: var(--cr-rojo); }
.cabeceras { margin: 10px 0 0 54px; padding: 10px 12px; border-radius: 8px; background: var(--cr-fondo); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 10px; font-size: var(--fs-xs); color: var(--cr-texto-2); }
.cabeceras[hidden] { display: none; }
.cabeceras dt { color: var(--cr-texto-3); text-align: right; }
.cabeceras dd { margin: 0; overflow-wrap: anywhere; }

.plazo { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 10px; background: var(--cr-azul-lav); border: 1px solid var(--cr-azul-borde); color: var(--cr-azul); font-size: var(--fs-sm); line-height: 1.4; }
.plazo__ico { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.plazo__txt b { display: block; font-size: var(--fs-md); color: #0e3766; }
.plazo__fechas { display: flex; gap: 5px; }
.plazo__fechas i { width: 26px; height: 8px; border-radius: 9px; background: #a9c5ea; }
.plazo__fechas i.plazo__paso { background: #d3d8df; }
.plazo__fechas i.plazo__ahora { background: #2563b0; }
.plazo--hoy { background: var(--cr-rojo-lav); border-color: #f2b2ac; color: #8a1810; animation: plazo-late 2.4s ease-in-out infinite; }
.plazo--hoy .plazo__txt b { color: #7a140d; }
.plazo--hoy .plazo__fechas i { background: #f2b2ac; }
.plazo--hoy .plazo__fechas i.plazo__paso { background: #d3d8df; }
.plazo--hoy .plazo__fechas i.plazo__ahora { background: var(--cr-rojo); }
@keyframes plazo-late { 0%, 100% { box-shadow: 0 0 0 0 rgb(185 36 27 / 0); } 50% { box-shadow: 0 0 0 4px rgb(185 36 27 / 0.18); } }

.traducido { margin: 0; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; background: var(--cr-fondo); font-size: var(--fs-xs); color: var(--cr-texto-2); }
.traducido svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--cr-texto-3); stroke-width: 1.6; }
.alerta-correo { display: flex; gap: 10px; padding: 10px 12px; border-radius: 8px; background: #fff5d6; border: 1px solid #ecd182; font-size: var(--fs-sm); line-height: 1.45; color: #4f3b00; }
.alerta-correo svg { width: 20px; height: 20px; flex: none; fill: #f2c230; stroke: #4f3b00; stroke-width: 1.6; stroke-linejoin: round; }
.alerta-correo b { display: block; }

.carta { font-size: var(--fs-md); line-height: 1.6; color: var(--cr-texto-2); }
.carta p { margin: 0 0 10px; }
.carta p:last-child { margin-bottom: 0; }
.membrete { display: flex; align-items: center; gap: 12px; padding: 0 0 12px; margin: 0 0 14px; border-bottom: 2px solid var(--club, var(--cr-acento)); }
.membrete__escudo { width: 40px; height: 40px; object-fit: contain; flex: none; }
.membrete span { font-size: var(--fs-xs); line-height: 1.35; color: var(--cr-texto-3); }
.membrete b { display: block; font-size: var(--fs-2xs); letter-spacing: 0.04em; text-transform: uppercase; color: var(--cr-texto); }
.carta__enlaces { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.carta__enlaces a { color: var(--cr-acento); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.aviso-spam { padding: 9px 12px; border-radius: 8px; background: #ececec; font-size: var(--fs-sm); color: #3d3d3d; }

.ficha-club { display: grid; grid-template-columns: 60px minmax(0, 1fr); grid-template-areas: 'esc nom' 'esc dato'; gap: 2px 16px; align-items: center; padding: 14px 16px; border-radius: 12px; background: linear-gradient(120deg, #eef3f8, #fff); border: 1px solid var(--cr-linea); }
.ficha-club__escudo { grid-area: esc; width: 56px; height: 56px; object-fit: contain; }
.ficha-club b { grid-area: nom; font-size: var(--fs-md); color: var(--cr-texto); line-height: 1.25; }
.ficha-club small { grid-area: dato; font-size: var(--fs-xs); color: var(--cr-texto-3); line-height: 1.4; }

.bloque { border: 1px solid var(--cr-linea); border-radius: 12px; overflow: hidden; scroll-margin-top: 10px; }
.bloque h3 { margin: 0; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 10px 14px; background: var(--cr-fondo); border-bottom: 1px solid var(--cr-linea); font-size: var(--fs-sm); font-weight: 800; color: var(--cr-texto-2); }
.bloque h3 small { font-weight: 600; color: var(--cr-texto-3); }
.bloque--marcado { animation: bloque-marca 1.4s ease-out; }
@keyframes bloque-marca { 0%, 30% { box-shadow: 0 0 0 3px rgb(20 108 90 / 0.35); } 100% { box-shadow: 0 0 0 0 rgb(20 108 90 / 0); } }
.renglones { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.renglones div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 14px; border-bottom: 1px solid var(--cr-linea-2); font-size: var(--fs-md); min-width: 0; }
.renglones div:nth-child(odd) { border-right: 1px solid var(--cr-linea-2); }
.renglones dt { color: var(--cr-texto-3); flex: none; }
.renglones dd { margin: 0; font-weight: 700; color: var(--cr-texto); text-align: right; min-width: 0; overflow-wrap: anywhere; }
.renglones dd small { font-weight: 500; color: var(--cr-texto-3); }
.renglones__azul { color: var(--cr-azul) !important; }
.renglones__tono--bueno { color: #17703f !important; }
.renglones__tono--ojo, .renglones__tono--malo, .renglones__tono--neutro { color: var(--cr-rojo) !important; }
@container (max-width: 560px) {
  .renglones { grid-template-columns: minmax(0, 1fr); }
  .renglones div:nth-child(odd) { border-right: 0; }
}
.nivel-correo { display: grid; grid-template-columns: auto minmax(80px, 1fr) auto; align-items: center; gap: 12px; padding: 11px 14px; font-size: var(--fs-md); color: var(--cr-texto-2); border-bottom: 1px solid var(--cr-linea-2); }
.nivel-correo > span:first-child { font-weight: 700; color: var(--cr-texto); white-space: nowrap; }
.nivel-correo i { position: relative; height: 8px; border-radius: 9px; background: #e3e7ed; }
.nivel-correo i b { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 9px; background: #1f8a52; }
.nivel-correo i em { position: absolute; top: -4px; bottom: -4px; width: 2px; border-radius: 2px; background: var(--cr-rojo); }
.nivel-correo__lectura--bueno { color: #17703f; font-weight: 700; }
.nivel-correo__lectura--flojo { color: var(--cr-rojo); font-weight: 700; }
@container (max-width: 560px) {
  .nivel-correo { grid-template-columns: auto minmax(80px, 1fr); }
  .nivel-correo__lectura { grid-column: 1 / -1; }
}
.figuras-correo div { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 14px; border-bottom: 1px solid var(--cr-linea-2); font-size: var(--fs-md); color: var(--cr-texto); }
.figuras-correo div:last-child { border-bottom: 0; }
.figuras-correo__pos { padding: 2px 0; border-radius: 5px; background: #e6eef9; color: var(--cr-azul); font-weight: 800; font-size: var(--fs-2xs); text-align: center; }
.figuras-correo b { font-size: var(--fs-md); font-variant-numeric: tabular-nums; }

.archivos { display: flex; flex-wrap: wrap; gap: 10px; }
.archivo {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-areas: 'ico nom' 'ico sub'; gap: 0 10px; align-items: center;
  width: 210px; max-width: 100%; padding: 8px 10px; border: 1px solid var(--cr-linea); border-radius: 8px; background: var(--cr-papel);
  font-size: var(--fs-xs); line-height: 1.35; text-align: left; transition: background-color 0.15s, transform 0.15s;
}
@media (hover: hover) { .archivo:hover { background: var(--cr-fondo); transform: translateY(-1px); } }
.archivo:active { transform: scale(0.98); }
.archivo i { grid-area: ico; width: 34px; height: 40px; border-radius: 4px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 10px; color: #fff; background-size: cover; background-position: center; }
.archivo__pdf { background-color: #b9241b; }
.archivo__xls { background-color: #17703f; }
.archivo b { grid-area: nom; font-weight: 700; color: var(--cr-texto); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.archivo small { grid-area: sub; color: var(--cr-acento); font-weight: 600; }

.firma-correo { display: grid; gap: 2px; font-size: var(--fs-sm); line-height: 1.45; color: var(--cr-texto-2); }
.firma-correo b { color: var(--cr-texto); }
.firma-correo small { margin-top: 4px; font-size: var(--fs-xs); line-height: 1.5; color: var(--cr-texto-3); }
.firma-correo em { margin-top: 6px; font-size: var(--fs-xs); color: var(--cr-texto-3); }
.carta .firma-correo { margin-top: 16px; }

.hilo { display: grid; gap: 8px; }
.hilo > div { display: grid; gap: 3px; padding: 10px 14px; border-radius: 12px; font-size: var(--fs-sm); line-height: 1.45; color: var(--cr-texto-2); }
.hilo b { font-size: var(--fs-xs); color: var(--cr-texto); }
.hilo small { font-size: var(--fs-xs); color: var(--cr-texto-3); }
.hilo__yo { justify-self: end; max-width: 85%; background: var(--cr-acento-suave); border: 1px solid #cfe6de; }
.hilo__el { justify-self: start; max-width: 85%; background: var(--cr-fondo); border: 1px solid var(--cr-linea); }

.sugeridas { display: flex; flex-wrap: wrap; gap: 8px; }
.sugeridas button { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 6px 14px; border: 1px solid #b8bec8; border-radius: 999px; background: var(--cr-papel); font-size: var(--fs-xs); font-weight: 700; line-height: normal; color: var(--cr-acento); transition: background-color 0.15s, transform 0.15s; }
@media (hover: hover) { .sugeridas button:hover { background: var(--cr-acento-suave); } }
.sugeridas button:active { transform: scale(0.96); }
.responder { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 4px; }
.btn-correo {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--cr-papel); box-shadow: inset 0 0 0 1px #7b818b; font-size: var(--pas-s-letra); font-weight: 700; line-height: normal; color: var(--cr-texto);
  transition: background-color 0.15s, transform 0.15s;
}
@media (hover: hover) { .btn-correo:hover { background: var(--cr-fondo); transform: translateY(-1px); } }
.btn-correo:active { transform: scale(0.97); }
.btn-correo--si { background: var(--cr-acento); box-shadow: none; color: #fff; }
@media (hover: hover) { .btn-correo--si:hover { background: #0f5949; } }

.pc__avisos { position: absolute; top: 26px; right: 36px; z-index: 30; width: min(340px, calc(100% - 32px)); display: grid; gap: 10px; pointer-events: none; }
.aviso-pc {
  pointer-events: auto; display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: 'esc sub' 'esc de' 'esc txt';
  gap: 1px 12px; align-items: center; width: 100%; padding: 12px 14px; border: 0; border-radius: 14px;
  background: #f6f8fa; color: var(--cr-texto); text-align: left; box-shadow: 0 18px 40px -10px rgb(0 0 0 / 0.65), 0 0 0 1px rgb(0 0 0 / 0.06);
  animation: aviso-pc-entra 0.5s cubic-bezier(.2, .8, .2, 1) both;
}
@media (hover: hover) { .aviso-pc:hover { background: #fff; } }
.aviso-pc--sale { animation: aviso-pc-sale 0.38s ease-in both; }
.aviso-pc__escudo { grid-area: esc; width: 38px; height: 38px; object-fit: contain; }
.aviso-pc small { grid-area: sub; font-size: var(--fs-2xs); color: var(--cr-texto-3); }
.aviso-pc b { grid-area: de; font-size: var(--fs-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aviso-pc span { grid-area: txt; font-size: var(--fs-xs); line-height: 1.35; color: var(--cr-texto-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@keyframes aviso-pc-entra { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes aviso-pc-sale { to { opacity: 0; transform: translateX(40px); } }

.visor-foto { padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #0f1115; color: #eef0f3; max-width: min(1100px, 92vw); box-shadow: var(--sombra-modal, 0 30px 80px rgb(0 0 0 / 0.7)); }
.visor-foto::backdrop { background: rgb(4 5 8 / 0.82); }
.visor-foto img { display: block; width: 100%; max-height: 78vh; object-fit: cover; }
.visor-foto__pie { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; font-size: var(--fs-xs); }

@media (prefers-reduced-motion: reduce) {
  .plazo--hoy, .aviso-pc, .aviso-pc--sale, .bloque--marcado { animation: none; }
}

html[data-fondo='espera'] dialog.dialogo--club[open] { display: grid; }
html[data-fondo='espera'] dialog.dialogo--club {
  width: min(60rem, calc(100vw - 2rem)); max-width: none; min-height: min(26rem, calc(100vh - 3rem)); padding: 0; overflow: hidden;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); border-radius: 22px; background: var(--bg-raised);
  box-shadow: var(--sombra-modal);
}
html[data-fondo='espera'] dialog.dialogo--club::backdrop { background: rgb(4 5 8 / 0.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
html[data-fondo='espera'] dialog.dialogo--en-espera .dlgc__escena--foto { min-height: 26rem; }
.dialogo--club .dialogo__firma { display: block; margin-top: var(--sp-4); font-size: var(--fs-sm); font-style: normal; color: var(--text-muted); }

@media (max-width: 1300px) and (min-width: 1101px) {
  .correo__cuerpo { grid-template-columns: 220px minmax(0, 0.95fr) minmax(0, 1.3fr); }
  .correo__marca { width: 204px; }
  .correo__leer { padding: 20px 22px 24px; }
}
@media (max-width: 1100px) {
  .correo__menu { display: grid; }
  .correo__marca { width: auto; }
  .correo__cuerpo { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.3fr); padding-left: 14px; }
  .correo__carpetas { display: none; }
  .correo--menu .correo__carpetas {
    display: block; position: absolute; z-index: 5; left: 10px; top: 0; bottom: 14px; width: 260px;
    padding: 10px 6px 12px 0; border-radius: 14px; background: var(--cr-fondo); box-shadow: 0 18px 40px -12px rgb(20 30 50 / 0.45), 0 0 0 1px var(--cr-linea);
  }
  .correo__yo .correo__mio { display: none; }
}
@media (max-width: 760px) {
  .correo-pc { height: auto; min-height: calc(var(--alto-ventana, 100dvh) - var(--pc-arriba)); padding: 10px 8px 18px; }
  .ventana-pc { border-radius: 10px; flex: 1 0 auto; }
  .ventana-pc__barra { padding: 6px 10px 0; gap: 8px; }
  .ventana-pc__semaforo { padding-bottom: 8px; gap: 5px; }
  .ventana-pc__semaforo i { width: 10px; height: 10px; }
  .ventana-pc__pestana { font-size: var(--fs-2xs); padding: 6px 10px; }
  .ventana-pc__pestana--otra { display: none; }
  .ventana-pc__dir { padding: 5px 10px 6px; }
  .ventana-pc__url { font-size: var(--fs-2xs); padding: 4px 12px; }
  .correo__cab { flex-wrap: wrap; gap: 8px 10px; padding: 8px 10px; }
  .correo__marca { font-size: var(--fs-lg); }
  .correo__buscar { order: 3; flex: 1 0 100%; max-width: none; height: 40px; }
  .correo__cuerpo { display: block; padding: 0 8px 8px; }
  .correo__panel { border-radius: 12px; }
  .correo__lista, .correo__leer { overflow: visible; }
  .bandeja__filas { overflow: visible; }
  .correo--leyendo .correo__lista { display: none; }
  .correo:not(.correo--leyendo) .correo__leer { display: none; }
  .correo--menu .correo__lista, .correo--menu .correo__leer { display: none; }
  .correo--menu .correo__carpetas { position: static; width: auto; box-shadow: none; background: none; padding: 0 0 8px; }
  .legajo-correo { margin: 12px 8px 0; }
  .correo__leer { padding: 0 16px 20px; }
  .leer__volver {
    position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 6px; width: calc(100% + 32px); margin: 0 -16px 12px; padding: 12px 16px;
    border: 0; border-bottom: 1px solid var(--cr-linea-2); background: var(--cr-papel); font-size: var(--fs-xs); font-weight: 700; color: var(--cr-acento); text-align: left;
  }
  .leer__volver span { font-size: 22px; line-height: 0.8; margin-top: -2px; }
  .leer__asunto { font-size: var(--fs-lg); }
  .remite { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .remite__escudo, .remite__avatar { width: 34px; height: 34px; }
  .remite__hora b { font-size: var(--fs-lg); }
  .cabeceras { margin-left: 0; }
  .plazo { grid-template-columns: 24px minmax(0, 1fr); }
  .plazo__fechas { grid-column: 2; }
  .archivo { width: 100%; }
  .responder .btn-correo { flex: 1 1 100%; }
  .sugeridas { justify-content: center; }
  .pc__avisos { position: fixed; top: calc(var(--pc-arriba) + 10px); right: 12px; left: 12px; width: auto; }
  html[data-fondo='espera'] dialog.dialogo--club { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); min-height: 0; max-height: calc(100dvh - 24px); }
  html[data-fondo='espera'] dialog.dialogo--en-espera .dlgc__escena--foto { min-height: clamp(6.5rem, 20dvh, 12rem); }
}


/* firma-espera.css */

html.con-acta, html.con-acta body { overflow: hidden; }

.acta {
  --papel: #fffdf8;
  --tinta: #15130f;
  --azul: #1d3f8f;
  --sello: rgb(190 24 34 / 0.82);
  --letra: clamp(12px, 1.55vh, 14.5px);
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  color: var(--text-primary);
  background: var(--ink-950);
  opacity: 0;
  transition: opacity 240ms var(--ease, ease);
}
.acta.es-visible { opacity: 1; }

.acta__fondo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: url('/assets/fotos/1600/modal-firma-2.webp') center / cover;
}
.acta__foto {
  position: absolute; inset: 0;
  background-position: center; background-size: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity 1400ms ease;
}
.acta__foto--on { opacity: 1; animation: acta-acerca 12s linear both; }
@keyframes acta-acerca { from { transform: scale(1.04); } to { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .acta__foto--on { animation: none; } }
.acta__fondo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 640px at 22% 30%, color-mix(in srgb, var(--club-color) 42%, transparent), transparent 70%),
    linear-gradient(180deg, rgb(0 0 0 / 0.74), rgb(0 0 0 / 0.9));
}

.acta__cerrar {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 3;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: var(--r-pill, 999px);
  background: rgb(0 0 0 / 0.35);
  color: var(--text-primary);
  font: 700 14px/1 var(--font-ui);
  cursor: pointer;
}
.acta__cerrar:hover { background: rgb(255 255 255 / 0.12); }
@media (min-width: 901px) { .acta__cerrar { display: none; } }

.acta__mesa {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 660px);
  gap: clamp(28px, 5vw, 72px);
  justify-content: center;
  align-items: center;
  padding: 56px 32px 24px;
  min-height: 0;
}

.acta__sala { display: grid; gap: 22px; align-content: center; }
.acta__escudo {
  width: clamp(96px, 16vh, 150px);
  height: clamp(96px, 16vh, 150px);
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgb(0 0 0 / 0.5));
}
.acta__rotulo, .acta__acto-rotulo {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.acta__titulo {
  margin: 8px 0 0;
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}
.acta__liga { margin-top: 8px; font-size: 15px; color: var(--text-secondary); }
.acta__voz {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.35;
  color: #fff;
}
.acta__presi { display: flex; align-items: center; gap: 14px; }
.acta__cara {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.1);
  outline: 2px solid var(--club-color);
  font-weight: 800;
  font-size: 18px;
}
.acta__presi b { display: block; font-size: 17px; }
.acta__presi small { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

.acta__lado { display: grid; gap: 14px; min-height: 0; }

.acta__papel {
  position: relative;
  padding: 22px 28px 16px;
  border-radius: 6px;
  background: var(--papel);
  color: var(--tinta);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: var(--letra);
  line-height: 1.42;
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.04), 0 18px 50px rgb(0 0 0 / 0.55);
}
.acta__membrete {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 2px solid #24211c;
}
.acta__membrete-escudo { width: 44px; height: 44px; object-fit: contain; flex: none; }
.acta__membrete b { display: block; font-size: 1.15em; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.15; }
.acta__membrete small {
  display: block;
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a4336;
}
.acta__lugar { margin: 0 0 0 auto; text-align: right; font-style: italic; font-size: 0.92em; color: #4a4336; }
.acta__nombre-del-papel {
  margin: 2px 0 8px;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.acta__intro { margin: 0 0 8px; }
.acta__clausulas {
  display: grid;
  gap: 0.45em;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: clausula;
}
.acta__clausulas li { display: grid; grid-template-columns: 1.7em 1fr; counter-increment: clausula; }
.acta__clausulas li::before { content: counter(clausula) '.'; font-weight: 700; }
.acta__t {
  font-family: var(--font-ui);
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.acta__firmas {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px;
  align-items: end;
  margin-top: 12px;
}
.acta__zona { position: relative; height: clamp(58px, 9vh, 84px); }
.acta__firma--dt .acta__zona {
  border-radius: 4px 4px 0 0;
  background: repeating-linear-gradient(90deg, rgb(29 63 143 / 0.06) 0 1px, transparent 1px 10px);
  outline: 1.5px dashed rgb(29 63 143 / 0.45);
  outline-offset: -1px;
}
.acta--firmada .acta__firma--dt .acta__zona { background: none; outline-color: transparent; }
.acta__lienzo { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.acta__pista {
  position: absolute;
  left: 10px;
  bottom: 8px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--azul);
  pointer-events: none;
}
.acta__pista::before { content: '✕ '; font-size: 15px; }
.acta__borrar {
  position: absolute;
  top: 4px;
  right: 4px;
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: rgb(29 63 143 / 0.08);
  color: var(--azul);
  font: 700 12px/1 var(--font-ui);
  cursor: pointer;
}
.acta--presi .acta__borrar { display: none; }
.acta__linea { padding-top: 4px; border-top: 1.5px solid #24211c; font-size: 0.92em; line-height: 1.25; }
.acta__linea b { display: block; }
.acta__linea small {
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a4336;
}
.acta__rubrica {
  position: absolute;
  left: 6px;
  bottom: 6px;
  max-width: calc(100% - 12px);
  overflow: hidden;
  font-family: 'Snell Roundhand', 'Brush Script MT', 'Segoe Script', cursive;
  font-weight: 700;
  font-size: clamp(26px, 4.2vh, 38px);
  line-height: 1.1;
  white-space: nowrap;
  color: var(--azul);
  transform: rotate(-5deg);
  transform-origin: left bottom;
  pointer-events: none;
}
.acta__rubrica--presi { clip-path: inset(0 100% 0 0); }
.acta--presi .acta__rubrica--presi { animation: acta-escribe 700ms cubic-bezier(0.65, 0, 0.35, 1) forwards; }
.acta--escribe .acta__rubrica--dt { animation: acta-escribe 760ms cubic-bezier(0.65, 0, 0.35, 1) both; }
@keyframes acta-escribe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.acta__sello {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 112px;
  height: 112px;
  margin-left: -56px;
  display: grid;
  place-items: center;
  border: 3px double var(--sello);
  border-radius: 50%;
  opacity: 0;
  transform: rotate(-14deg) scale(1.7);
  pointer-events: none;
}
.acta__sello-escudo { width: 50px; height: 50px; rotate: 14deg;  object-fit: contain; opacity: 0.5; filter: grayscale(1) sepia(1) saturate(7) hue-rotate(-30deg); }
.acta__sello svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.acta__sello text { font-family: var(--font-ui); font-size: 10px; font-weight: 800; fill: var(--sello); }
.acta--sello .acta__sello { animation: acta-sella 340ms cubic-bezier(0.2, 0.9, 0.3, 1.2) forwards; }
@keyframes acta-sella {
  0% { opacity: 0; transform: rotate(-14deg) scale(1.7); }
  70% { opacity: 1; transform: rotate(-14deg) scale(0.94); }
  100% { opacity: 1; transform: rotate(-14deg) scale(1); }
}

.acta__volanta {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--text-secondary);
}
.acta__club { display: block; max-width: 100%; min-width: 0; white-space: nowrap; }
.acta__club.acta--parte { white-space: normal; text-wrap: balance; }
.acta__liga, .acta__rotulo, .acta__membrete b, .acta__presi small, .acta__linea small, .acta__dia-bajada { text-wrap: balance; }
.acta__nombre-club, .acta__dato { white-space: nowrap; text-wrap-mode: nowrap; }
.acta--parte .acta__nombre-club, .acta--parte .acta__dato { white-space: normal; }
.acta__membrete-nombre, .acta__quien, .acta__presi > div, .acta__linea, .acta__firma { min-width: 0; }
.acta__presi small, .acta__linea small { display: block; max-width: 100%; }
.acta__acto-centro, .acta__dia { max-width: 100%; min-width: 0; }
.acta__acto-club, .acta__dia-titulo { display: grid; justify-items: center; gap: 8px; max-width: min(92vw, 1100px); min-width: 0; margin: 0; }
.acta__acto-club .acta__club { font-size: clamp(24px, 3.4vw, 40px); font-weight: 900; letter-spacing: -0.01em; line-height: 1.05; }
.acta__dia-titulo .acta__volanta { margin: 0; font-size: clamp(18px, 2vw, 26px); }

.acta__botones { display: flex; justify-content: flex-end; gap: 12px; }
.acta__boton { min-height: 52px; padding: 0 22px; font-size: 16px; }
.acta__boton--si:disabled { background: var(--accent-degradado); color: var(--text-on-accent); border-color: transparent; opacity: 0.38; }
.acta__aviso:empty { display: none; }

.acta__acto {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  background:
    radial-gradient(900px 600px at 50% 40%, color-mix(in srgb, var(--club-color) 45%, transparent), transparent 70%),
    linear-gradient(180deg, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0.85)),
    var(--foto-acto, url('/assets/fotos/1600/modal-firma-8.webp')) center / cover;
  transition: opacity 360ms var(--ease, ease), visibility 0s 360ms;
}
.acta--dia .acta__acto {
  background:
    radial-gradient(900px 600px at 50% 40%, color-mix(in srgb, var(--club-color) 40%, transparent), transparent 70%),
    linear-gradient(180deg, rgb(0 0 0 / 0.5), rgb(0 0 0 / 0.84)),
    var(--foto-dia, url('/assets/fotos/1600/predio-tarde.webp')) center / cover;
}
.acta--acto .acta__acto { visibility: visible; opacity: 1; transition: opacity 360ms var(--ease, ease); }
.acta__flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.acta--acto .acta__flash { animation: acta-flash 700ms ease-out 80ms; }
@keyframes acta-flash { 0% { opacity: 0; } 12% { opacity: 0.92; } 100% { opacity: 0; } }
.acta__acto-centro, .acta__dia {
  grid-area: 1 / 1;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
}
.acta__acto-escudo { width: clamp(110px, 18vh, 160px); height: clamp(110px, 18vh, 160px); object-fit: contain; filter: drop-shadow(0 12px 32px rgb(0 0 0 / 0.5)); }
.acta__acto-nombre {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.1;
  transform: skewX(-6deg);
}
.acta__acto-nombre span { display: inline-block; padding: 0 0.25em; }
.acta--acto .acta__acto-nombre span { animation: acta-escribe 760ms cubic-bezier(0.65, 0, 0.35, 1) 200ms both; }
.acta__dia { opacity: 0; }
.acta.acta--corrida { visibility: hidden; opacity: 0; pointer-events: none; transition: opacity 360ms var(--ease, ease), visibility 0s 360ms; }
.acta--dia .acta__acto-centro { opacity: 0; transition: opacity 360ms; }
.acta--dia .acta__dia { opacity: 1; transition: opacity 420ms 200ms; }
.acta__dia-titulo { margin: 0; font-size: clamp(2rem, 5.6vw, 4rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; }
.acta__dia-bajada { margin: 0; font-size: clamp(16px, 1.6vw, 21px); color: var(--text-secondary); }

@media (max-width: 900px) {
  .acta { --letra: clamp(11.5px, 1.82vh, 15px); }
  .acta__mesa {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
    gap: 10px;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  }
  .acta__sala {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
    padding-right: 104px;
  }
  .acta__escudo { width: 44px; height: 44px; }
  .acta__titulo { margin: 0; font-size: 18px; letter-spacing: -0.01em; }
  .acta__volanta { margin-bottom: 1px; font-size: 11px; }
  .acta__quien { display: flex; flex-direction: column-reverse; gap: 3px; }
  .acta__rotulo { font-size: 10px; letter-spacing: 0.08em; }
  .acta__liga, .acta__voz, .acta__presi { display: none; }
  .acta__cerrar { top: 14px; right: 12px; min-height: 38px; font-size: 13px; padding: 0 12px; }
  .acta__lado { grid-template-rows: minmax(0, 1fr) auto auto; gap: 10px; }
  .acta__papel { padding: 12px 14px 10px; overflow: hidden; display: flex; flex-direction: column; }
  .acta__membrete { display: none; }
  .acta__nombre-del-papel { font-size: 11px; margin: 0 0 6px; }
  .acta__clausulas li { grid-template-columns: 1.4em 1fr; }
  .acta__firmas { gap: 12px; margin-top: auto; padding-top: 10px; }
  .acta__zona { height: clamp(62px, 13vh, 112px); }
  .acta__clausulas { gap: 0.6em; }
  .acta__rubrica { font-size: 25px; }
  .acta__sello { width: 84px; height: 84px; margin-left: -42px; bottom: 26px; }
  .acta__sello-escudo { width: 36px; height: 36px; }
  .acta__botones { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
  .acta__botones [data-acta='pensarlo'] { display: none; }
  .acta__boton { min-height: 50px; padding: 0 10px; font-size: 15px; justify-content: center; }
}
@media (max-width: 900px) and (min-height: 760px) {
  .acta__membrete { display: flex; padding-bottom: 8px; margin-bottom: 8px; }
  .acta__membrete-escudo { width: 34px; height: 34px; }
  .acta__membrete b { font-size: 1em; }
  .acta__lugar { display: none; }
}

@media (min-width: 901px) and (max-height: 760px) {
  .acta__mesa { padding-top: 48px; }
  .acta__sala { gap: 14px; }
  .acta__papel { padding: 16px 24px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .acta, .acta.acta--corrida, .acta__acto, .acta--dia .acta__acto-centro, .acta--dia .acta__dia { transition: none; }
  .acta * { animation: none !important; }
  .acta--presi .acta__rubrica--presi { clip-path: none; }
  .acta--sello .acta__sello { opacity: 1; transform: rotate(-14deg); }
}

