/* Dashboard del refri, con el estilo Liquid Glass de Apple. Pantalla del marco: 1280×800 a densidad 160 (1 px CSS = 1 píxel).
   Navegador del marco: WebView 106 (Chrome 106): sin CSS nesting, color-mix() ni OKLCH.
   Chip del marco: RK3126, demasiado débil para backdrop-filter. Aquí no se usa a propósito. El fondo no se mueve, así
   que cada panel pinta la versión borrosa del fondo, fija a la ventana, con una capa lechosa, un brillo y un borde de
   luz. Se ve como cristal esmerilado y cuesta una sola pintura. Los fondos salen de una foto con
   servidor/generar-fondos.mjs; su crédito está en web/fondos/CREDITOS.txt.
   Tipografías, sin descargas: SF en los aparatos de Apple; Roboto en el marco. */

:root {
  --tinta: #0B0D12;
  --tenue: rgb(11 13 18 / .74);
  --linea: rgb(11 13 18 / .09);
  --suave: rgb(255 255 255 / .46);
  --suave-fuerte: rgb(255 255 255 / .72);
  --acento: #C93400;
  --acento-rgb: 201 52 0;
  --ok: #1F7A36;
  --azul: #0A6BE0;
  --azul-boton: #0A6BE0;
  --globo: #D70015;

  --fondo-img: url("fondos/dia.jpg");
  --vidrio-fondo: url("fondos/dia-borroso.jpg");
  --vidrio-leche: linear-gradient(rgb(255 255 255 / .5), rgb(255 255 255 / .5));
  --vidrio-brillo: linear-gradient(180deg, rgb(255 255 255 / .34), rgb(255 255 255 / .06) 42%, rgb(255 255 255 / 0));
  --vidrio-borde: linear-gradient(135deg, rgb(255 255 255 / .98), rgb(255 255 255 / .42) 28%, rgb(255 255 255 / .18) 58%, rgb(255 255 255 / .78));
  --vidrio-sombra: 0 1px 2px rgb(30 34 70 / .08), 0 10px 26px rgb(30 34 70 / .13), inset 0 0 16px rgb(255 255 255 / .3);
  --heroe-velo: rgb(0 0 0 / .1);
  --gota: rgb(255 255 255 / .66);
  --gota-sombra: inset 0 1px 0 rgb(255 255 255 / .95), inset 0 -1px 0 rgb(255 255 255 / .4), 0 3px 10px rgb(30 34 70 / .16);
  --halo-hora: 0 1px 0 rgb(255 255 255 / .5), 0 0 22px rgb(255 255 255 / .75);

  --f-ui: -apple-system, BlinkMacSystemFont, "SF Pro Display", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radio: 24px;
  --radio-dentro: 14px;
  --z-reposo: 10;
  --z-dialogo: 20;
  --suelta: cubic-bezier(.22, 1, .36, 1);
}

:root[data-tema="noche"] {
  --tinta: #F2F4FA;
  --tenue: rgb(242 244 250 / .7);
  --linea: rgb(242 244 250 / .1);
  --suave: rgb(255 255 255 / .08);
  --suave-fuerte: rgb(255 255 255 / .14);
  --acento: #FF9F0A;
  --acento-rgb: 255 159 10;
  --ok: #34C759;
  --azul: #64B0FF;

  --fondo-img: url("fondos/noche.jpg");
  --vidrio-fondo: url("fondos/noche-borroso.jpg");
  --vidrio-leche: linear-gradient(rgb(255 255 255 / .08), rgb(255 255 255 / .08));
  --vidrio-brillo: linear-gradient(180deg, rgb(255 255 255 / .1), rgb(255 255 255 / .01) 42%, rgb(255 255 255 / 0));
  --vidrio-borde: linear-gradient(135deg, rgb(255 255 255 / .55), rgb(255 255 255 / .14) 28%, rgb(255 255 255 / .05) 58%, rgb(255 255 255 / .3));
  --vidrio-sombra: 0 1px 2px rgb(0 0 0 / .3), 0 10px 26px rgb(0 0 0 / .34), inset 0 0 16px rgb(255 255 255 / .05);
  --heroe-velo: rgb(0 0 0 / .34); /* de noche, el color entero deslumbra en la cocina */
  --gota: rgb(255 255 255 / .17);
  --gota-sombra: inset 0 1px 0 rgb(255 255 255 / .4), inset 0 -1px 0 rgb(255 255 255 / .1), 0 3px 10px rgb(0 0 0 / .3);
  --halo-hora: 0 2px 18px rgb(0 0 0 / .6);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0; height: 100%; overflow: hidden;
  background: #DDE7FB var(--fondo-img) center / cover no-repeat fixed;
  color: var(--tinta);
  font-family: var(--f-ui);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none;
}
:root[data-tema="noche"], :root[data-tema="noche"] body { background-color: #070A18; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-align: inherit; cursor: pointer; transition: transform 180ms var(--suelta), background-color 180ms var(--suelta); }
button:active { transform: scale(.97); }
button:focus-visible, input:focus-visible { outline: 2px solid var(--azul); outline-offset: 2px; }
button:disabled { cursor: default; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.etiqueta { font-size: 14px; font-weight: 600; color: var(--tenue); margin-bottom: 7px; }
.etiqueta.separada { margin-top: 20px; }
.vacio { color: var(--tenue); font-size: 15px; }

#app { height: 100vh; display: flex; }

/* ---------------------------------------------------------------- el cristal
   El brillo y la capa lechosa van encima del fondo borroso, y el borde de luz debajo de todo: solo asoma en el anillo. */
.riel, .bloque-clima, .bloque-metas, .columna, .panel, .lista, .productos, .curiosidad, .semana, .tareas > section,
.meta-tarjeta, .metas-mes, .metas-campeones, .heroe.vacio-heroe, .dialogo-caja, .aj-caja, .aj-juicio, .receta {
  border: 1.5px solid transparent;
  border-radius: var(--radio);
  background:
    var(--vidrio-brillo) padding-box,
    var(--vidrio-leche) padding-box,
    var(--vidrio-fondo) center / cover no-repeat fixed padding-box,
    var(--vidrio-borde) border-box;
  box-shadow: var(--vidrio-sombra);
}

/* ---------------------------------------------------------------- riel */
.riel {
  width: 84px; flex: none; margin: 12px 0 12px 12px; border-radius: 30px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 5px 0 10px;
}
.riel-boton {
  position: relative;
  width: 71px; height: 66px; border-radius: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font-size: 12.5px; font-weight: 600; color: var(--tenue);
  text-align: center;
}
.riel-boton svg { width: 25px; height: 25px; }
.riel-boton.activo { background: var(--gota); box-shadow: var(--gota-sombra); color: var(--azul); }
.riel-globo {
  position: absolute; top: 4px; right: 8px;
  min-width: 21px; height: 21px; padding: 0 6px; border-radius: 11px;
  background: var(--globo); color: #fff; font-style: normal;
  font-size: 12.5px; font-weight: 700; line-height: 21px; text-align: center;
  box-shadow: 0 1px 3px rgb(0 0 0 / .25);
}
.riel-globo:empty { display: none; }
.riel-pie { margin-top: auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.internet { display: flex; flex-direction: column; align-items: center; gap: 1px; color: var(--ok); }
.internet svg { width: 22px; height: 22px; }
.internet b { font-size: 12px; font-weight: 600; }
.internet small { font-size: 11px; color: var(--tenue); }
.internet.lento { color: var(--acento); }
.internet.servidor, .internet.caido { color: var(--globo); }
.internet.midiendo { color: var(--tenue); }
.riel-conexion { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin: 0 auto; }
.riel-conexion.mal { background: var(--globo); box-shadow: 0 0 0 4px rgb(215 0 21 / .2); }

/* ---------------------------------------------------------------- vistas */
.vista { flex: 1; min-width: 0; padding: 12px; display: none; flex-direction: column; gap: 12px; }
.vista.activa { display: flex; }

/* ---------------------------------------------------------------- cabecera de Hoy */
.cabecera { display: grid; grid-template-columns: 318px 1fr 300px; gap: 12px; flex: none; height: 168px; }
/* El reloj va sobre el fondo, sin cristal, como en la pantalla de bloqueo. Es lo primero que se mira desde lejos. */
.bloque-hora { display: flex; flex-direction: column; justify-content: center; padding-left: 8px; text-shadow: var(--halo-hora); }
.hora { font-size: 112px; font-weight: 500; line-height: .92; letter-spacing: -.035em; }
.fecha { margin-top: 8px; font-size: 20px; font-weight: 600; }
.fecha b { display: inline-block; font-weight: 600; }
.fecha b::first-letter { text-transform: uppercase; }
.fecha em { font-style: normal; font-weight: 500; }

.bloque-clima { display: flex; flex-direction: column; gap: 3px; padding: 9px 16px 8px; min-width: 0; }
.clima-arriba { display: flex; align-items: center; gap: 12px; }
.clima-arriba svg { width: 42px; height: 42px; flex: none; }
.clima-temp { font-size: 54px; font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.clima-desc { font-size: 15px; font-weight: 600; line-height: 1.25; margin-left: 4px; }
.clima-desc span { display: block; color: var(--tenue); font-size: 13.5px; font-weight: 500; }
.clima-desc .aire { display: flex; align-items: center; gap: 6px; color: var(--tinta); font-weight: 500; }
.clima-desc .aire i { width: 9px; height: 9px; border-radius: 50%; background: var(--aire); flex: none; }
.clima-desc .aire small { font-size: 11px; font-weight: 500; color: var(--tenue); }
.clima-consejo { font-size: 15px; font-weight: 500; color: var(--tinta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clima-consejo.aviso { color: var(--acento); font-weight: 600; }
.horas { display: flex; justify-content: space-between; margin-top: auto; }
.horas li { width: 46px; text-align: center; font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.horas li small { display: block; font-size: 12px; font-weight: 500; color: var(--tenue); }
.horas li svg { width: 20px; height: 20px; display: block; margin: 1px auto; }
.horas li.lluvia { color: var(--azul); }

.bloque-metas { display: flex; flex-direction: column; gap: 4px; min-width: 0; text-align: left; padding: 9px 12px 8px; }
.bloque-metas .etiqueta { margin: 0 0 0 4px; }
.anillos { display: flex; justify-content: space-between; gap: 4px; }
.anillo { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.anillo svg { width: 58px; height: 58px; transform: rotate(-90deg); }
.anillo circle { fill: none; stroke-width: 6; }
.anillo .pista { stroke: rgb(var(--c-rgb) / .22); }
.anillo .avance { stroke: var(--c); stroke-linecap: round; }
.anillo b { position: absolute; top: 20px; left: 0; right: 0; text-align: center; font-size: 16px; font-weight: 600; line-height: 1; }
.anillo span { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.anillo small { display: inline-flex; align-items: center; gap: 1px; font-size: 12px; font-weight: 700; color: var(--acento); line-height: 1; height: 13px; }
.anillo small svg { width: 12px; height: 12px; transform: none; }

/* avatar: foto en círculo; si no hay foto, la inicial */
.avatar {
  position: relative; flex: none;
  width: var(--t, 34px); height: var(--t, 34px); border-radius: 50%;
  background: linear-gradient(180deg, rgb(var(--c-rgb) / .78), var(--c)); color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), 0 1px 3px rgb(0 0 0 / .16);
  display: grid; place-items: center;
  font-size: calc(var(--t, 34px) * .46); font-weight: 600;
}
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ---------------------------------------------------------------- fila del medio */
.fila-medio { display: grid; grid-template-columns: 1fr 400px; gap: 12px; flex: none; height: 158px; }
.fila-medio.sin-lateral { grid-template-columns: 1fr; }
/* Cristal teñido: el color de la persona, con el mismo borde de luz. */
.heroe {
  border: 1.5px solid transparent; border-radius: var(--radio); padding: 8px 24px;
  background:
    var(--vidrio-brillo) padding-box,
    linear-gradient(var(--heroe-velo), var(--heroe-velo)) padding-box,
    linear-gradient(135deg, rgb(var(--c-rgb, 95 61 196) / .9), rgb(var(--c-rgb, 95 61 196) / .76)) padding-box,
    var(--vidrio-fondo) center / cover no-repeat fixed padding-box,
    linear-gradient(135deg, rgb(255 255 255 / .85), rgb(255 255 255 / .2) 30%, rgb(255 255 255 / .1) 58%, rgb(255 255 255 / .55)) border-box;
  box-shadow: 0 2px 6px rgb(var(--c-rgb, 95 61 196) / .28), 0 14px 32px rgb(var(--c-rgb, 95 61 196) / .3), inset 0 0 22px rgb(255 255 255 / .14);
  color: #fff;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px;
  overflow: hidden;
}
.heroe.claro { color: #0B0D12; }
.heroe .etiqueta { color: inherit; opacity: .9; margin-bottom: 2px; }
.heroe-titulo { font-size: 46px; line-height: 1.06; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.heroe-titulo.largo {
  font-size: 32px; white-space: normal;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.heroe-meta { font-size: 17px; font-weight: 500; margin-top: 3px; }
.pastilla {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 8px;
  background: rgb(255 255 255 / .2); border-radius: 999px; padding: 6px 15px 6px 12px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), inset 0 0 0 1px rgb(255 255 255 / .14);
  font-size: 14.5px; font-weight: 600;
}
.heroe.claro .pastilla { background: rgb(0 0 0 / .1); }
.pastilla svg { width: 18px; height: 18px; }
.cuenta { text-align: right; line-height: .9; }
.cuenta b { display: block; font-size: 92px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cuenta small { font-size: 15px; font-weight: 600; }
.heroe.vacio-heroe { color: var(--tinta); grid-template-columns: 1fr; }
.heroe.vacio-heroe .etiqueta { color: var(--tenue); }
.heroe.vacio-heroe .heroe-titulo { font-weight: 600; }

/* foto familiar («Un día como hoy») */
.tarjeta-foto { border-radius: var(--radio); overflow: hidden; position: relative; box-shadow: var(--vidrio-sombra); }
.tarjeta-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.foto-pie { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 11px; display: flex; align-items: baseline; gap: 10px; color: #fff; background: linear-gradient(transparent, rgb(0 0 0 / .62)); }
.foto-pie b { font-size: 17px; font-weight: 600; }
.foto-pie small { font-size: 15px; }

/* ---------------------------------------------------------------- fila baja */
.fila-baja { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 400px; gap: 12px; }
.izquierda-baja { display: flex; flex-direction: column; gap: 12px; min-height: 0; min-width: 0; }
.personas { flex: 1; display: grid; grid-template-columns: repeat(var(--miembros, 4), minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: 10px; min-height: 0; }
/* curiosidad del día */
.curiosidad { flex: none; display: flex; gap: 14px; align-items: flex-start; padding: 11px 16px; }
.curiosidad-icono {
  flex: none; width: 50px; height: 50px; border-radius: 14px; color: #fff; display: grid; place-items: center;
  background: linear-gradient(180deg, #7B79F0, #4B48D6);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), 0 3px 8px rgb(75 72 214 / .35);
}
.curiosidad-icono svg { width: 29px; height: 29px; }
.curiosidad-cuerpo { min-width: 0; flex: 1; }
.curiosidad-imagen { order: 2; flex: none; width: 170px; height: 112px; margin: 0; border-radius: var(--radio-dentro); overflow: hidden; position: relative; background: var(--suave); }
.curiosidad-imagen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.curiosidad-imagen figcaption { position: absolute; right: 0; bottom: 0; padding: 2px 6px; font-size: 10px; color: #fff; background: rgb(0 0 0 / .45); border-top-left-radius: 6px; }
.curiosidad.con-imagen .curiosidad-icono { display: none; }
.curiosidad .etiqueta { margin-bottom: 1px; font-size: 13.5px; }
.curiosidad b { display: block; font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.curiosidad p { margin: 3px 0 0; font-size: 15.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.curiosidad small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--tenue); }

.columna { min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 9px 9px 10px; border-radius: 22px; }
.columna-cab { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; flex: none; margin-bottom: 1px; min-width: 0; }
.cita { border-radius: var(--radio-dentro); padding: 6px 10px 7px; background: rgb(var(--c-rgb) / .14); flex: none; }
.cita small { display: block; font-size: 13px; font-weight: 600; color: var(--tenue); font-variant-numeric: tabular-nums; }
.cita span { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cita.pasada { opacity: .45; }
.cita.ahora { box-shadow: inset 0 0 0 2px var(--c); background: rgb(var(--c-rgb) / .2); }
.cita.manana { background: var(--suave); }
.cita.futura { background: var(--suave); }
.dia-sep { font-size: 13px; font-weight: 600; color: var(--tenue); margin-top: 3px; flex: none; }
.dia-sep.es-hoy { color: var(--tinta); }
.columna-cab + .dia-sep { margin-top: 0; }
.mas { font-size: 12.5px; font-weight: 600; color: var(--tenue); padding-left: 4px; flex: none; }

.paneles { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.panel { padding: 11px 14px; display: block; width: 100%; }
#panel-avisos { flex: 1; min-height: 0; overflow: hidden; }
.avisos { display: flex; flex-direction: column; gap: 7px; }
.aviso { display: flex; align-items: center; gap: 9px; font-size: 16px; line-height: 1.2; }
.aviso b { font-weight: 600; white-space: nowrap; }
.avatares { display: inline-flex; flex: none; }
.avatares .avatar + .avatar { margin-left: -8px; box-shadow: 0 0 0 1.5px rgb(255 255 255 / .75); }
.aviso.urgente b { color: var(--acento); }
.aviso .icono-fecha { width: 22px; height: 22px; flex: none; color: var(--acento); }
.fila-compra { flex: none; display: grid; grid-template-columns: 1fr; gap: 12px; }
.panel-compra { flex: none; height: 104px; overflow: hidden; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 24px; text-align: left; }
.panel-compra .etiqueta { margin-bottom: 2px; }
.panel-compra .mini { margin-top: 0; min-width: 0; }
.fila-compra.con-partido { grid-template-columns: 1fr 1fr; }
.fila-compra.con-partido .panel-compra { grid-template-columns: auto; gap: 4px; }
.fila-compra.con-partido .panel-compra .mini { display: none; }
.panel-partido { height: 104px; overflow: hidden; display: flex; flex-direction: column; gap: 3px; }
.panel-partido .etiqueta { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.partido-cuando { font-size: 24px; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; white-space: nowrap; }
.panel-partido.hoy .partido-cuando { color: var(--acento); }
.partido-rival { font-size: 13.5px; font-weight: 500; line-height: 1.2; color: var(--tenue); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.numero { display: flex; align-items: baseline; gap: 8px; }
.numero b { font-size: 50px; font-weight: 500; line-height: .95; letter-spacing: -.02em; }
.numero small { font-size: 14px; color: var(--tenue); }
.mini { margin-top: 8px; display: flex; flex-direction: column; gap: 2px; }
.mini li { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini li::before { content: "•"; margin-right: 6px; color: var(--tenue); }

/* ---------------------------------------------------------------- otras vistas */
.cabecera-vista { display: flex; align-items: center; gap: 14px; padding: 0 8px; height: 48px; flex: none; text-shadow: var(--halo-hora); }
.cabecera-vista h1 { font-weight: 700; font-size: 34px; letter-spacing: -.02em; }
.sub-vista { font-size: 17px; font-weight: 500; }

/* semana: una fila por día, una columna por persona */
.semana { flex: 1; min-height: 0; padding: 6px 8px 8px; display: grid; grid-template-columns: 150px repeat(var(--miembros, 4), minmax(0, 1fr));
  grid-template-rows: auto repeat(7, minmax(0, 1fr)); }
.sem-persona { display: flex; align-items: center; gap: 9px; padding: 3px 6px 7px; font-size: 16px; font-weight: 700; min-width: 0; }
.sem-dia, .sem-celda { min-height: 0; overflow: hidden; border-top: 1px solid var(--linea); padding: 4px 6px;
  display: flex; flex-direction: column; gap: 4px; }
.sem-dia.hoy, .sem-celda.hoy { background: var(--suave-fuerte); border-top-color: transparent; }
.sem-dia.hoy { border-radius: 16px 0 0 16px; }
.sem-celda.hoy.fin { border-radius: 0 16px 16px 0; }
.sem-fecha { display: flex; align-items: baseline; gap: 7px; }
.sem-fecha small { font-size: 13.5px; font-weight: 600; color: var(--tenue); }
.sem-fecha small::first-letter { text-transform: uppercase; }
.sem-dia.hoy .sem-fecha small { color: var(--acento); }
.sem-fecha b { font-size: 26px; line-height: 1; font-weight: 600; }
.sem-cita, .sem-todos { display: flex; align-items: baseline; gap: 7px; min-width: 0; flex: none;
  border-radius: 11px; padding: 4px 9px; font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.sem-cita { background: rgb(var(--c-rgb) / .17); }
.sem-cita b, .sem-todos b { font-size: 14px; font-weight: 700; flex: none; font-variant-numeric: tabular-nums; }
.sem-cita span, .sem-todos span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sem-cita.rutina { background: transparent; color: var(--tenue); font-weight: 500; padding-top: 2px; padding-bottom: 2px; }
.sem-todos { background: var(--suave-fuerte); font-size: 13.5px; }
/* En la columna del día no cabe en una línea: lo que es de todos ocupa dos. */
.sem-dia .sem-todos { display: block; line-height: 1.2; padding: 4px 8px 5px; }
.sem-dia .sem-todos b { font-size: 12.5px; display: block; }
.sem-dia .sem-todos span { display: block; white-space: normal; }
/* clases del día (si un niño tiene horario): discreto, sin caja; la clase con examen, en su color y con la hora */
.sem-clases { flex: none; min-width: 0; padding: 1px 9px 2px; font-size: 12.5px; font-weight: 500; line-height: 1.35; color: var(--tenue); }
.sem-clases.compacta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sem-clases b { color: var(--c); font-weight: 700; }
.sem-clases i { font-style: normal; font-variant-numeric: tabular-nums; }
.sem-mas { font-size: 12px; font-weight: 600; color: var(--tenue); padding-left: 4px; flex: none; }

/* compra: los productos por pasillo, como en el súper. Un solo cristal con los pasillos teñidos dentro: nada de cristal sobre cristal. */
.compra { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 340px; gap: 12px; }
.productos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: start; align-content: start; min-height: 0; padding: 8px; overflow-y: auto; scrollbar-width: none; }
.productos::-webkit-scrollbar { display: none; }
.columna-compra { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pasillo { border-radius: 16px; padding: 8px 9px 10px; background: rgb(var(--sec-rgb) / .12); }
.pasillo h4 { margin: 2px 4px 7px; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--tinta); }
.pasillo h4 svg { width: 21px; height: 21px; flex: none; color: var(--sec); }
.pasillo h4 span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pasillo-cuenta { margin-left: auto; min-width: 23px; height: 23px; padding: 0 7px; border-radius: 12px; background: var(--sec); color: #fff; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.fichas { display: flex; flex-wrap: wrap; gap: 5px; }
.ficha {
  min-height: 42px; max-width: 100%; padding: 5px 14px; border-radius: 21px;
  background: var(--suave-fuerte); box-shadow: inset 0 1px 0 rgb(255 255 255 / .55);
  font-size: 15.5px; font-weight: 600; line-height: 1.1; text-align: left; color: var(--tinta);
  display: inline-flex; align-items: center; gap: 7px;
}
:root[data-tema="noche"] .ficha { box-shadow: inset 0 1px 0 rgb(255 255 255 / .16); }
.ficha.en-lista {
  background: linear-gradient(rgb(0 0 0 / .14), rgb(0 0 0 / .14)), var(--sec); color: #fff; font-weight: 700;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 3px 10px rgb(var(--sec-rgb) / .35);
}
.ficha.en-lista::before {
  content: ""; width: 6px; height: 11px; flex: none; margin: -3px 2px 0 0;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.lista { display: flex; flex-direction: column; min-height: 0; padding: 12px 16px 14px; }
.lista-cabecera { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 2px; }
.lista-cabecera .etiqueta { margin: 0; font-size: 16px; color: var(--tinta); font-weight: 700; }
.lista-cabecera .num { font-size: 34px; line-height: 1; font-weight: 600; color: var(--acento); }
.lista-seccion { display: flex; align-items: center; gap: 7px; margin: 12px 0 0; padding-bottom: 3px; font-size: 13.5px; font-weight: 600; color: var(--tenue); }
.lista-seccion svg { width: 16px; height: 16px; color: var(--sec); }
.lista-seccion.ya { color: var(--tenue); }
.item-compra { font-size: 19px; padding: 8px 2px; }
.item-compra .casilla { border-color: var(--sec); }
.item-compra .item-nombre { min-width: 0; }
.lista-vacia { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%; min-height: 260px; color: var(--tenue); text-align: center; }
.lista-vacia svg { width: 54px; height: 54px; opacity: .5; margin-bottom: 6px; }
.lista-vacia b { font-size: 21px; font-weight: 600; color: var(--tinta); }
.lista-vacia span { font-size: 15.5px; }
.lista-items { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.lista-items::-webkit-scrollbar { display: none; }
.item { display: flex; align-items: center; gap: 12px; font-size: 21px; padding: 10px 2px; border-bottom: 1px solid var(--linea); }
.casilla { width: 28px; height: 28px; flex: none; border: 2.5px solid var(--tenue); border-radius: 50%; display: grid; place-items: center; }
.item.hecho, .tarea.hecho { color: var(--tenue); text-decoration: line-through; }
.item.hecho .casilla, .tarea.hecho .casilla { background: var(--ok); border-color: var(--ok); }
.item.hecho .casilla::after, .tarea.hecho .casilla::after {
  content: ""; width: 12px; height: 7px; border: 3px solid #fff; border-top: 0; border-right: 0;
  transform: rotate(-45deg) translate(1px, -2px);
}
.item small { margin-left: auto; font-size: 13px; color: var(--tenue); text-decoration: none; }
.item .cant { display: block; font-style: normal; font-size: 14px; color: var(--tenue); }
.boton-otro { margin-top: 10px; height: 52px; border-radius: 26px; background: var(--gota); box-shadow: var(--gota-sombra); text-align: center; font-size: 18px; font-weight: 600; color: var(--azul); flex: none; }

/* tareas */
.tareas { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tareas > section { padding: 14px 18px; overflow: hidden; }
.tareas .etiqueta { font-size: 16px; font-weight: 700; color: var(--tinta); margin-bottom: 4px; }
.tarea { display: flex; align-items: center; gap: 14px; font-size: 21px; padding: 11px 2px; border-bottom: 1px solid var(--linea); }
.tarea .avatar { margin-left: auto; }
.avisos.grandes { gap: 0; }
.avisos.grandes .aviso { font-size: 18px; padding: 9px 0; border-bottom: 1px solid var(--linea); }
.fechas li { display: flex; gap: 10px; font-size: 18px; padding: 7px 0; }
.recordatorio { display: flex; align-items: center; gap: 12px; font-size: 19px; padding: 9px 2px; border-bottom: 1px solid var(--linea); }
.recordatorio .icono-fecha { width: 26px; height: 26px; color: var(--tenue); flex: none; }
.recordatorio.urgente .icono-fecha { color: var(--acento); }
.recordatorio small { display: block; font-size: 14px; color: var(--tenue); margin-top: 2px; }
.recordatorio.urgente small { color: var(--acento); font-weight: 600; }
.boton-hecho { margin-left: auto; height: 40px; padding: 0 18px; border-radius: 20px; background: var(--gota); box-shadow: var(--gota-sombra); font-size: 15px; font-weight: 600; color: var(--azul); flex: none; }
.fechas li span { margin-left: auto; color: var(--tenue); }
.fechas li.pronto span { color: var(--acento); font-weight: 600; }

/* ---------------------------------------------------------------- reposo */
.reposo {
  position: fixed; inset: 0; z-index: var(--z-reposo); background: #000; color: #F2F4FA;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.reposo-hora { font-size: 280px; font-weight: 600; line-height: .85; letter-spacing: -.035em; }
.reposo-fecha { font-size: 30px; font-weight: 500; }
.reposo-fecha b { display: inline-block; font-weight: 600; margin-right: 6px; }
.reposo-fecha b::first-letter { text-transform: uppercase; }
.reposo-fecha em { font-style: normal; color: rgb(242 244 250 / .7); }
.reposo-siguiente { margin-top: 34px; font-size: 26px; color: rgb(242 244 250 / .75); }
.reposo-siguiente b { color: #fff; font-weight: 600; }
.reposo.noche { opacity: .5; }

/* ---------------------------------------------------------------- diálogo: el fondo borroso es opaco y tapa lo de detrás */
.dialogo { position: fixed; inset: 0; z-index: var(--z-dialogo); background: rgb(8 10 22 / .32); display: flex; align-items: flex-start; justify-content: center; padding-top: 60px; }
.dialogo-caja {
  color: var(--tinta); border-radius: 34px; padding: 22px 24px; width: 560px; display: flex; flex-direction: column; gap: 14px;
  background:
    var(--vidrio-brillo) padding-box,
    linear-gradient(var(--suave-fuerte), var(--suave-fuerte)) padding-box,
    var(--vidrio-fondo) center / cover no-repeat fixed padding-box,
    var(--vidrio-borde) border-box;
  box-shadow: 0 24px 60px rgb(8 10 22 / .32), inset 0 0 18px rgb(255 255 255 / .2);
}
.dialogo-caja label { font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.dialogo-caja input { font: inherit; font-size: 24px; padding: 11px 16px; border: 0; border-radius: 16px; background: var(--suave); box-shadow: inset 0 0 0 1px var(--linea); color: var(--tinta); -webkit-user-select: text; user-select: text; }
.dialogo-caja input::placeholder { color: var(--tenue); }
.dialogo-botones { display: flex; gap: 10px; justify-content: flex-end; }
.dialogo-botones button { height: 52px; padding: 0 26px; border-radius: 26px; font-size: 18px; font-weight: 600; }
.primario { background: var(--azul-boton); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .4), 0 4px 12px rgb(10 107 224 / .3); }
.secundario { background: var(--gota); box-shadow: var(--gota-sombra); }

/* cita nueva (desde «Semana») */
.boton-cita { text-shadow: none; margin-left: auto; height: 44px; padding: 0 20px; border-radius: 22px; background: var(--azul-boton); color: #fff; font-size: 17px; font-weight: 600; box-shadow: inset 0 1px 0 rgb(255 255 255 / .4), 0 4px 12px rgb(10 107 224 / .3); }
.dialogo-cita { width: 860px; padding-top: 18px; gap: 12px; }
.cita-fila { display: flex; gap: 12px; align-items: center; }
.cita-fila input { flex: 1; min-width: 0; }
.cita-fila #cita-titulo { flex: 3; }
.cita-fila #cita-lugar { flex: 2; font-size: 20px; }
.cita-horas span { font-size: 14px; font-weight: 600; color: var(--tenue); }
.cita-horas input { flex: none; width: 210px; font-size: 21px; padding: 8px 12px; }
.cita-horas small { margin-left: auto; font-size: 14px; color: var(--tenue); }
.cita-dias { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cita-dias button, .cita-quien button { height: 46px; border-radius: 23px; background: var(--suave); font-size: 16px; font-weight: 600; text-align: center; }
.cita-dias button.activo { background: var(--azul-boton); color: #fff; }
.cita-quien { display: flex; gap: 8px; }
.cita-quien button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: rgb(var(--c-rgb) / .14); }
.cita-quien button.activo { background: var(--c); color: #fff; }
.cita-error { margin: 0; color: var(--acento); font-weight: 600; font-size: 17px; }

.cita.es-aviso { background: rgb(var(--acento-rgb) / .16); }

/* ---------------------------------------------------------------- metas de la familia */
.meta-chip, .meta-grande { display: flex; align-items: center; gap: 9px; width: 100%; text-align: left; flex: none;
  border-radius: var(--radio-dentro); background: var(--suave); font-weight: 600; color: var(--tinta); }
.meta-chip { padding: 6px 9px; font-size: 14px; line-height: 1.2; }
.meta-grande { padding: 11px 13px; font-size: 17px; line-height: 1.2; }
.meta-txt { min-width: 0; flex: 1; }
.meta-casilla { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 2.5px solid var(--c); display: grid; place-items: center; }
.meta-grande .meta-casilla { width: 28px; height: 28px; }
.meta-chip.hecha, .meta-grande.hecha { background: rgb(var(--c-rgb) / .18); }
.meta-chip.hecha .meta-casilla, .meta-grande.hecha .meta-casilla { background: var(--c); }
.meta-chip.hecha .meta-casilla::after, .meta-grande.hecha .meta-casilla::after {
  content: ""; width: 6px; height: 11px; margin-top: -2px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.meta-chip small { flex: none; font-size: 13.5px; color: var(--tenue); font-variant-numeric: tabular-nums; }
/* Más de cuatro personas: la cuenta y el anillo no caben a su tamaño. */
:root[data-muchos="1"] .meta-chip small { display: none; }
:root[data-muchos="1"] .anillo > svg { width: 42px; height: 42px; }
:root[data-muchos="1"] .anillo b { top: 15px; font-size: 12.5px; }
:root[data-muchos="1"] .anillo span { font-size: 12px; }
.columna-cab .trofeo, .campeon .trofeo, .campeones-pasados .trofeo { color: #B86E00; display: inline-flex; }
:root[data-tema="noche"] .columna-cab .trofeo, :root[data-tema="noche"] .campeon .trofeo, :root[data-tema="noche"] .campeones-pasados .trofeo { color: #FFD60A; }
.columna-cab .trofeo svg { width: 20px; height: 20px; margin-left: 1px; }
.metas { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; }
.metas-personas { flex: none; display: grid; grid-template-columns: repeat(var(--miembros, 4), minmax(0, 1fr)); gap: 10px; }
.meta-tarjeta { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 10px 12px 11px; border-radius: 22px; }
.meta-semana { display: flex; align-items: flex-end; gap: 3px; }
.meta-semana span { width: 25px; text-align: center; font-size: 11.5px; font-weight: 600; color: var(--tenue); }
.meta-semana i { display: block; width: 19px; height: 19px; margin: 3px auto 0; border-radius: 50%; border: 2px solid rgb(var(--c-rgb) / .45); }
.meta-semana i.si { background: var(--c); border-color: var(--c); }
.meta-semana i.futuro { border-style: dashed; opacity: .4; }
.meta-semana i.antes { border-color: transparent; background: var(--linea); transform: scale(.4); }
.meta-semana b { margin-left: auto; font-size: 24px; font-weight: 600; line-height: 1; }
.meta-semana b small { font-size: 15px; color: var(--tenue); }
.metas-abajo { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 320px; gap: 12px; }
.metas-mes { display: flex; flex-direction: column; min-height: 0; padding: 9px 12px 12px; }
.mes-cab { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 6px; flex: none; }
.mes-cab h3 { font-weight: 700; font-size: 21px; min-width: 220px; text-align: center; letter-spacing: -.01em; }
.mes-cab h3::first-letter { text-transform: uppercase; }
.mes-flecha { width: 44px; height: 36px; border-radius: 18px; background: var(--gota); box-shadow: var(--gota-sombra); font-size: 24px; line-height: 1; text-align: center; color: var(--azul); }
.mes-flecha:disabled { opacity: .35; }
.mes { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: auto; grid-auto-rows: minmax(0, 1fr); gap: 5px; }
.mes-nombre { font-size: 12px; font-weight: 600; color: var(--tenue); text-align: center; }
.mes-dia { min-height: 0; border-radius: 12px; background: var(--suave); padding: 3px 7px 5px; display: flex; flex-direction: column; justify-content: space-between; text-align: left; overflow: hidden; }
.mes-dia b { font-size: 14.5px; font-weight: 600; }
.mes-dia.hoy { box-shadow: inset 0 0 0 2px var(--tinta); }
.mes-dia.elegido { background: rgb(var(--acento-rgb) / .16); box-shadow: inset 0 0 0 2px var(--acento); }
.mes-dia.futuro { opacity: .4; }
.mes-dia.fuera { visibility: hidden; }
.mes-puntos { display: flex; gap: 3px; }
.mes-puntos i { width: 10px; height: 10px; border-radius: 50%; background: rgb(var(--c-rgb) / .2); }
.mes-puntos i.si { background: var(--c); }
.metas-campeones { padding: 12px 16px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.metas-campeones .etiqueta { font-size: 16px; font-weight: 700; color: var(--tinta); margin-bottom: 0; }
.campeon { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
.campeon .trofeo svg { width: 22px; height: 22px; }
.campeon b { margin-left: auto; font-size: 21px; font-weight: 600; }
.campeon b small { font-size: 14px; font-weight: 500; color: var(--tenue); }
.campeon.gana b { color: var(--acento); }
.campeones-pasados { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 17px; font-weight: 600; }
.campeones-pasados > span { display: inline-flex; align-items: center; gap: 7px; }
.campeones-pasados .trofeo svg { width: 26px; height: 26px; }

@media (prefers-reduced-motion: reduce) {
  button { transition: none; }
  button:active { transform: none; }
}

/* ---------------------------------------------------------------- ajedrez */
.aj-jugadores { margin-left: auto; display: flex; gap: 8px; }
.aj-jugador { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 9px; border-radius: 22px; background: var(--suave); font-size: 16px; font-weight: 600; text-shadow: none; }
.aj-jugador.activo { background: var(--gota); box-shadow: var(--gota-sombra); }
.aj-jugador i { width: 9px; height: 9px; border-radius: 50%; background: var(--globo); }
.ajedrez { flex: 1; min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; }
.tablero { width: 664px; height: 664px; display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(8, 1fr);
  border-radius: var(--radio); overflow: hidden; box-shadow: var(--vidrio-sombra); }
.escaque { position: relative; }
.escaque.clara { background: #F0D9B5; }
.escaque.oscura { background: #B58863; }
.escaque::before { content: ""; position: absolute; inset: 0; }
.escaque.ult-nino::before { background: rgb(47 111 237 / .32); }
.escaque.ult-maq::before { background: rgb(234 88 12 / .32); }
.escaque.mejor::before { box-shadow: inset 0 0 0 6px #16A34A; background: rgb(22 163 74 / .18); }
.escaque.sel::before, .escaque.pend::before { background: rgb(250 204 21 / .55); }
.escaque.jaque::before { background: radial-gradient(circle, rgb(220 38 38 / .85) 0%, rgb(220 38 38 / .2) 70%); }
.escaque.dest::after { content: ""; position: absolute; left: 36%; top: 36%; width: 28%; height: 28%; border-radius: 50%; background: rgb(0 0 0 / .28); }
.escaque.dest.captura::after { left: 4%; top: 4%; width: 92%; height: 92%; background: none; box-shadow: inset 0 0 0 7px rgb(0 0 0 / .28); }
.pieza { position: absolute; inset: 5%; background-size: contain; background-repeat: no-repeat; background-position: center; z-index: 1; }
.coord { position: absolute; z-index: 2; font-size: 12px; font-weight: 800; opacity: .75; }
.escaque.clara .coord { color: #B58863; }
.escaque.oscura .coord { color: #F0D9B5; }
.coord.fila { left: 4px; top: 2px; }
.coord.col { right: 5px; bottom: 2px; }
.ajedrez-lado { display: flex; flex-direction: column; gap: 12px; min-width: 0; max-height: 664px; overflow: hidden; }
.aj-caja { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.aj-caja b { font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.aj-caja span { font-size: 16px; color: var(--tenue); }
.aj-caja.pensando b { color: var(--azul); }
.aj-botones { display: flex; gap: 10px; }
.aj-boton { height: 54px; padding: 0 24px; border-radius: 27px; background: var(--ok); color: #fff; font-size: 19px; font-weight: 700; text-align: center; }
.aj-boton.secundario { background: var(--suave-fuerte); color: var(--tinta); }
.aj-error { color: var(--globo); font-weight: 700; font-size: 16px; padding: 0 6px; }
:root[data-tema="noche"] .aj-error { color: #FF6961; }
.aj-juicio { padding: 14px 18px; --nota: var(--tenue); }
.aj-juicio small { display: block; font-size: 14px; font-weight: 600; color: var(--tenue); }
.aj-juicio b { display: block; font-size: 25px; font-weight: 700; line-height: 1.15; margin: 4px 0; color: var(--nota); letter-spacing: -.01em; }
.aj-juicio p { margin: 4px 0 0; font-size: 16.5px; line-height: 1.35; }
.aj-juicio p.aj-pista { font-size: 14.5px; font-weight: 700; color: var(--ok); }
.aj-juicio.nota-excelente { --nota: var(--ok); }
.aj-juicio.nota-bien { --nota: var(--azul); }
.aj-juicio.nota-mejorable { --nota: var(--acento); }
.aj-juicio.nota-error { --nota: var(--globo); }
:root[data-tema="noche"] .aj-juicio.nota-error { --nota: #FF6961; }
.aj-maquina { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; padding: 8px 12px; border-radius: var(--radio-dentro); background: var(--suave-fuerte); }
.aj-maquina svg { width: 24px; height: 24px; color: var(--acento); flex: none; }
.aj-manana { margin: 0; font-size: 16px; font-weight: 600; padding: 8px 12px; border-radius: var(--radio-dentro); background: var(--suave-fuerte); }
.aj-jugadas .etiqueta { margin: 0; }
.aj-historial { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; counter-reset: jugada; }
.aj-historial li { display: flex; align-items: center; gap: 7px; font-size: 15px; counter-increment: jugada; min-width: 0; }
.aj-historial li::before { content: counter(jugada) "."; color: var(--tenue); font-size: 13px; width: 20px; flex: none; }
.aj-historial li i { width: 9px; height: 9px; border-radius: 50%; background: var(--tenue); flex: none; }
.aj-historial li i.nota-excelente { background: var(--ok); }
.aj-historial li i.nota-bien { background: var(--azul); }
.aj-historial li i.nota-mejorable { background: var(--acento); }
.aj-historial li i.nota-error { background: var(--globo); }
.aj-historial li b { font-size: 15px; font-weight: 600; }
.aj-historial li span { font-size: 15px; color: var(--tenue); }
.chip-ajedrez { display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 10px; border-radius: var(--radio-dentro); flex: none; background: var(--suave-fuerte); font-size: 14px; font-weight: 600; text-align: left; }
.chip-ajedrez svg { width: 20px; height: 20px; flex: none; color: var(--azul); }

/* ---------------------------------------------------------------- menú */
.menu { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 340px; gap: 12px; }
.recetas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: min-content; gap: 12px; align-content: start; overflow: hidden; }
.receta { padding: 16px 20px; }
.receta.hoy { background: linear-gradient(rgb(var(--acento-rgb) / .16), rgb(var(--acento-rgb) / .16)) padding-box, var(--vidrio-leche) padding-box, var(--vidrio-fondo) center / cover no-repeat fixed padding-box, var(--vidrio-borde) border-box; }
.receta small { display: block; font-size: 14px; font-weight: 600; color: var(--tenue); }
.receta.hoy small { color: var(--acento); }
.receta h4 { margin: 4px 0 0; font-weight: 700; font-size: 23px; line-height: 1.15; letter-spacing: -.01em; }
.menu-linea { display: flex; align-items: center; gap: 8px; width: 100%; font-size: 15px; padding: 0 0 8px; margin-bottom: 8px; border-bottom: 1px solid var(--linea); text-align: left; }
.menu-linea svg { width: 22px; height: 22px; flex: none; color: var(--acento); }
.menu-linea span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-linea b { font-weight: 700; }
.boton-menu { margin-top: 8px; height: 48px; border-radius: 24px; background: var(--suave-fuerte); font-size: 15.5px; font-weight: 700; text-align: center; color: var(--acento); }
