/* Fold · «QUIÉN TE DEBE» (Dinero; quien-te-debe.js, 22/11/2026) · prefijo qtd-
   Para una persona de 70 años: letra grande (18 px o más), una cifra arriba, botones de 48 px de alto y el siguiente paso escrito.
   Usa los tonos de siempre (estilos.css); la hoja es la .hoja-overlay de siempre, algo más ancha. */

/* La cifra de «Hoy» como botón (hoy-d.js, solo con la lista): se ve igual que antes, con el subrayado al pasar y el foco de siempre. */
.hoyd-cifra-boton { background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: left; font-family: inherit; }
.hoyd-cifra-boton:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.hoyd-cifra-boton:focus-visible, .hoyd-ver-quien-boton:focus-visible, .qtd-boton:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; border-radius: 8px; }
.hoyd-ver-quien { margin: 10px 0 0; }
.hoyd-ver-quien-boton { min-height: 48px; padding: 10px 16px; border: 1px solid var(--acento-tenue); border-radius: 10px; background: var(--acento-tenue); color: var(--acento-texto); font: inherit; font-size: 1.125rem; font-weight: 700; cursor: pointer; }

.qtd-hoja { width: min(620px, 100vw); }
.qtd-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qtd-titulo { font-size: 1.75rem; font-weight: 800; margin: 0; color: var(--texto); }
.qtd-cuerpo { overflow-y: auto; padding-bottom: 24px; }
.qtd-boton { min-height: 48px; padding: 10px 18px; border-radius: 10px; font: inherit; font-size: 1.125rem; font-weight: 700; cursor: pointer; }
.qtd-cerrar { border: 1px solid var(--linea); background: var(--superficie); color: var(--texto); }

.qtd-total { margin: 4px 0 18px; }
.qtd-total-etiqueta { margin: 0; font-size: 1.125rem; color: var(--texto-2); }
.qtd-total-cifra { margin: 4px 0; font-size: 2.75rem; font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--texto); }
.qtd-total-sub { margin: 0; font-size: 1.125rem; color: var(--texto-2); }
.qtd-explica, .qtd-pausado, .qtd-a-favor, .qtd-vacio { font-size: 1.125rem; line-height: 1.5; color: var(--texto-2); margin: 0 0 16px; }
.qtd-pausado { color: var(--ambar-texto); background: var(--ambar-tenue); padding: 12px 14px; border-radius: 10px; }

.qtd-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.qtd-fila { font-size: 1.125rem; border: 1px solid var(--linea); border-radius: 12px; padding: 14px 16px; background: var(--superficie); }
.qtd-fila-vencida { border-left: 6px solid var(--ambar); }
.qtd-arriba { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; }
.qtd-nombre { font-size: 1.25rem; font-weight: 700; color: var(--texto); overflow-wrap: anywhere; }
.qtd-importe { font-size: 1.375rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--texto); white-space: nowrap; }
.qtd-abajo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 8px 0 0; color: var(--texto-2); }
.qtd-marca { font-weight: 700; padding: 4px 10px; border-radius: 8px; }
.qtd-marca-vencida { color: var(--ambar-texto); background: var(--ambar-tenue); }
.qtd-marca-ok { color: var(--verde); background: var(--verde-tenue); }
/* (revisión de dinero 128) lo que pide el recordatorio cuando no es lo de la fila, y por qué no hay botón (sin nombre, ya avisado). */
.qtd-reclama, .qtd-aviso { margin: 10px 0 0; font-size: 1.125rem; line-height: 1.5; color: var(--texto); }
.qtd-aviso { color: var(--texto-2); }
.qtd-preparar { margin-top: 12px; width: 100%; border: 1px solid var(--acento-tenue); background: var(--acento-tenue); color: var(--acento-texto); }
.qtd-preparar[disabled] { opacity: .6; cursor: progress; }
.qtd-nota { font-size: 1.125rem; margin: 12px 0 0; color: var(--texto); }
.qtd-nota:empty { display: none; }

@media (min-width: 700px) {
  .qtd-preparar { width: auto; }
}
