:root {
  /* Todo en tonos rosas (verde y rojo solo para acierto y fallo) */
  --fondo: #fff5f8;
  --papel: #ffffff;
  --tinta: #3a1430;
  --suave: #7d5c6e;
  --linea: #f6d9e4;
  --rosa: #ec4f8b;
  --coral: #ec4f8b;
  --coral-2: #ffe1ec;
  --menta: #1fae7d;
  --menta-2: #daf5ea;
  --lila: #b25fe0;
  --lila-2: #f4e6ff;
  --sol: #f5a524;
  --sol-2: #fff0d6;
  --cielo: #f472b6;
  --cielo-2: #ffe4f1;
  --rojo: #e0434f;
  --radio: 20px;
  --sombra: 0 1px 0 rgba(58, 20, 48, .04), 0 12px 32px rgba(236, 79, 139, .10);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--fondo); color: var(--tinta); font: 400 16px/1.55 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: 'Bricolage Grotesque', 'Inter', sans-serif; line-height: 1.1; margin: 0 0 .4em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: 1.6rem; font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------------------------------------------------------------- Cabecera */
.cabeza { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(255, 245, 248, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linea); }
.marca { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.5rem; text-decoration: none; letter-spacing: -.03em; }
.marca span { color: var(--coral); }
.cabeza-der { display: flex; align-items: center; gap: 10px; }
.usos { font-size: .85rem; color: var(--suave); background: var(--papel); border: 1px solid var(--linea); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.vista { max-width: 1100px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 40px) 80px; outline: none; }

/* ---------------------------------------------------------------- Botones y campos */
.boton { box-shadow: 0 4px 14px rgba(236, 79, 139, .18); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 14px; border: 0; background: var(--tinta); color: #fff;
  font-weight: 600; cursor: pointer; text-decoration: none; transition: transform .15s, background .15s; }
.boton:hover { transform: translateY(-1px); }
.boton:disabled { opacity: .5; cursor: default; transform: none; }
.boton-coral { background: var(--coral); }
.boton-claro { background: var(--papel); color: var(--tinta); border: 1.5px solid var(--linea); }
.boton-mini { min-height: 36px; padding: 0 14px; border-radius: 11px; font-size: .9rem; }
.boton-texto { background: none; border: 0; color: var(--suave); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 6px; }
.botones { display: flex; flex-wrap: wrap; gap: 10px; }
.campo { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.campo label { font-size: .9rem; font-weight: 600; }
.campo input, .campo select, .campo textarea { border: 1.5px solid var(--linea); border-radius: 12px; padding: 11px 13px; background: var(--papel); width: 100%; }
.campo input:focus, .campo select:focus, .campo textarea:focus, .chat-form textarea:focus { outline: 2px solid var(--lila); outline-offset: 1px; border-color: transparent; }
.fila { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .fila { grid-template-columns: 1fr; } }
.error { background: #fde4e1; color: #8f2a20; border-radius: 12px; padding: 9px 13px; font-size: .93rem; }
.nota { color: var(--suave); font-size: .9rem; }

/* ---------------------------------------------------------------- Portada (sin sesión) */
.portada { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 64px); align-items: center; min-height: calc(100dvh - 160px); }
.portada p.grande { font-size: 1.15rem; color: var(--suave); max-width: 32em; }
.puntos { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.puntos li { display: flex; gap: 12px; align-items: flex-start; }
.puntos li b { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1.1rem; }
.caja { background: var(--papel); border: 1px solid var(--linea); border-radius: 24px; padding: 26px 22px; box-shadow: var(--sombra); }
.pestanas-entrar { display: grid; grid-template-columns: 1fr 1fr; background: var(--fondo); border-radius: 12px; padding: 4px; margin-bottom: 18px; }
.pestanas-entrar button { border: 0; background: transparent; border-radius: 9px; padding: 9px; cursor: pointer; font-weight: 600; color: var(--suave); }
.pestanas-entrar button[aria-selected="true"] { background: var(--papel); color: var(--tinta); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
@media (max-width: 820px) { .portada { grid-template-columns: 1fr; min-height: 0; } }

/* ---------------------------------------------------------------- Carpetas */
.titulo-fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.titulo-fila h1 { margin: 0; }
.carpetas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.tarjeta-carpeta { position: relative; display: flex; flex-direction: column; gap: 10px; text-align: left; background: var(--papel); border: 1px solid var(--linea); border-radius: var(--radio);
  padding: 18px; box-shadow: var(--sombra); text-decoration: none; overflow: hidden; }
.tarjeta-carpeta::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--c); }
.tarjeta-carpeta h3 { margin: 4px 0 0; font-size: 1.3rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .8rem; font-weight: 600; border-radius: 999px; padding: 3px 10px; background: var(--fondo); color: var(--suave); }
.chip.c { background: var(--c2); color: var(--tinta); }
.barra { height: 8px; border-radius: 99px; background: var(--fondo); overflow: hidden; }
.barra i { display: block; height: 100%; background: var(--c); border-radius: 99px; }
.vacio { text-align: center; padding: 50px 16px; border: 2px dashed var(--linea); border-radius: var(--radio); color: var(--suave); }
.nueva { display: grid; place-items: center; min-height: 170px; border: 2px dashed var(--linea); background: transparent; box-shadow: none; color: var(--suave); font-weight: 600; cursor: pointer; }
.nueva:hover { border-color: var(--coral); color: var(--coral); }
.colores { display: flex; gap: 10px; }
.colores label { width: 34px; height: 34px; border-radius: 50%; background: var(--c); cursor: pointer; display: grid; place-items: center; }
.colores input { display: none; }
.colores label:has(input:checked) { outline: 3px solid var(--tinta); outline-offset: 2px; }

[data-color="coral"] { --c: #ec4f8b; --c2: #ffe1ec; }
[data-color="menta"] { --c: #c2185b; --c2: #fcdbe8; }
[data-color="lila"] { --c: #b25fe0; --c2: #f4e6ff; }
[data-color="sol"] { --c: #ff8a80; --c2: #ffe6e3; }
[data-color="cielo"] { --c: #f472b6; --c2: #ffe4f1; }

/* ---------------------------------------------------------------- Dentro de una carpeta */
.volver { display: inline-flex; gap: 6px; color: var(--suave); text-decoration: none; font-size: .92rem; margin-bottom: 10px; }
.cabecera-carpeta { border-radius: 24px; padding: 22px; background: var(--c2); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; }
.cabecera-carpeta h1 { margin: 0 0 6px; }
.pestanas { display: flex; gap: 6px; overflow-x: auto; margin: 0 -4px 18px; padding: 4px; scrollbar-width: none; }
.pestanas::-webkit-scrollbar { display: none; }
.pestanas a { flex: none; text-decoration: none; padding: 9px 16px; border-radius: 12px; font-weight: 600; color: var(--suave); }
.pestanas a[aria-current="page"] { background: var(--tinta); color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi { background: var(--papel); border: 1px solid var(--linea); border-radius: 16px; padding: 14px 16px; }
.kpi small { display: block; color: var(--suave); font-size: .82rem; }
.kpi strong { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.8rem; font-weight: 800; }
.plan { background: var(--papel); border: 1px solid var(--linea); border-radius: var(--radio); padding: 18px; margin-bottom: 18px; }
.plan h2 { font-size: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.panel { background: var(--papel); border: 1px solid var(--linea); border-radius: var(--radio); padding: 18px; }

/* Subir apuntes */
.soltar { display: block; border: 2px dashed var(--linea); border-radius: var(--radio); padding: 28px 16px; text-align: center; cursor: pointer; background: var(--papel); transition: border-color .15s, background .15s; }
.soltar.encima, .soltar:hover { border-color: var(--lila); background: var(--lila-2); }
.soltar strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.docs { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.docs li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: var(--papel); border: 1px solid var(--linea); border-radius: 16px; padding: 12px 14px; }
.docs .d-nombre { flex: 1; min-width: 180px; }
.docs .d-nombre small { display: block; color: var(--suave); }

/* Pregunta */
.jugador { max-width: 720px; margin: 0 auto; }
.progreso-test { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; color: var(--suave); font-size: .9rem; }
.enunciado { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.35rem; font-weight: 700; line-height: 1.25; margin: 8px 0 16px; }
.opciones { display: grid; gap: 10px; }
.opcion { display: flex; gap: 12px; align-items: flex-start; text-align: left; width: 100%; background: var(--papel); border: 2px solid var(--linea); border-radius: 16px; padding: 13px 15px; cursor: pointer; transition: border-color .12s; }
.opcion b { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--fondo); display: grid; place-items: center; font-size: .9rem; }
.opcion:hover:not(:disabled) { border-color: var(--lila); }
.opcion.elegida { border-color: var(--lila); background: var(--lila-2); }
.opcion.bien { border-color: var(--menta); background: var(--menta-2); }
.opcion.mal { border-color: var(--rojo); background: #fde4e1; }
.opcion:disabled { cursor: default; }
.explicacion { margin-top: 14px; border-radius: 16px; padding: 14px 16px; background: var(--fondo); }
.explicacion.ok { background: var(--menta-2); }
.explicacion.ko { background: #fde4e1; }
.cita { margin: 8px 0 0; padding-left: 12px; border-left: 3px solid var(--linea); color: var(--suave); font-style: italic; font-size: .93rem; }
.reloj { font-variant-numeric: tabular-nums; font-weight: 700; }
.mapa-examen { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.mapa-examen button { width: 34px; height: 34px; border-radius: 9px; border: 1.5px solid var(--linea); background: var(--papel); cursor: pointer; font-size: .85rem; }
.mapa-examen button.hecha { background: var(--lila-2); border-color: var(--lila); }
.mapa-examen button.actual { outline: 2px solid var(--tinta); }
.resultado { text-align: center; padding: 18px 0; }
.resultado .nota-grande { font-family: 'Bricolage Grotesque', sans-serif; font-size: 4.5rem; font-weight: 800; line-height: 1; }

/* Tarjetas */
.flash { perspective: 1200px; max-width: 560px; margin: 0 auto; }
.flash-dentro { position: relative; min-height: 260px; transition: transform .45s; transform-style: preserve-3d; cursor: pointer; }
.flash.girada .flash-dentro { transform: rotateY(180deg); }
.cara { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 24px; padding: 28px 24px; display: grid; place-items: center; text-align: center; box-shadow: var(--sombra); border: 1px solid var(--linea); }
.cara.frente { background: var(--papel); font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.4rem; font-weight: 700; }
.cara.dorso { background: var(--c2, var(--lila-2)); transform: rotateY(180deg); font-size: 1.05rem; }
.cara small { position: absolute; top: 14px; left: 0; right: 0; color: var(--suave); font-family: 'Inter'; font-size: .78rem; font-weight: 500; }

/* Chat */
.chat { display: flex; flex-direction: column; gap: 12px; min-height: 300px; }
.msg { max-width: 85%; padding: 12px 15px; border-radius: 18px; }
.msg.yo { align-self: flex-end; background: var(--tinta); color: #fff; border-bottom-right-radius: 6px; }
.msg.ia { align-self: flex-start; background: var(--papel); border: 1px solid var(--linea); border-bottom-left-radius: 6px; }
.msg p:last-child, .msg ul:last-child, .msg ol:last-child { margin-bottom: 0; }
.msg ul, .msg ol { margin: 0 0 1em; padding-left: 1.3em; }
.fuentes { font-size: .8rem; color: var(--suave); margin-top: 6px; }
.chat-form { position: sticky; bottom: 12px; display: flex; gap: 8px; background: var(--papel); border: 1px solid var(--linea); border-radius: 18px; padding: 8px; box-shadow: var(--sombra); margin-top: 14px; }
.chat-form textarea { flex: 1; border: 0; resize: none; padding: 8px 10px; min-height: 44px; max-height: 160px; background: transparent; }
.escribiendo span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--suave); margin: 0 2px; animation: punto 1s infinite; }
.escribiendo span:nth-child(2) { animation-delay: .15s; } .escribiendo span:nth-child(3) { animation-delay: .3s; }
@keyframes punto { 50% { opacity: .2; transform: translateY(-3px); } }

/* ---------------------------------------------------------------- Hoja y aviso */
.fondo-hoja { position: fixed; inset: 0; z-index: 50; background: rgba(29, 26, 43, .4); }
.hoja { position: fixed; z-index: 60; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(calc(100% - 24px), 520px); max-height: 90dvh; overflow-y: auto; background: var(--fondo);
  border-radius: 24px; padding: 24px 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.hoja-cerrar { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--papel); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.hoja h2 { padding-right: 40px; }
.toast { position: fixed; z-index: 80; left: 50%; transform: translateX(-50%); top: 16px; background: var(--tinta); color: #fff; padding: 11px 18px; border-radius: 14px; box-shadow: var(--sombra); max-width: calc(100% - 32px); }
.toast.malo { background: var(--rojo); }
.cargando { display: inline-block; width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: gira .7s linear infinite; }
.boton-claro .cargando { border-color: var(--linea); border-top-color: var(--tinta); }
@keyframes gira { to { transform: rotate(360deg); } }
.tabla { width: 100%; border-collapse: collapse; }
.tabla th, .tabla td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--linea); font-size: .93rem; }
.tabla th { color: var(--suave); font-weight: 500; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
code.codigo { font-size: 1.05rem; font-weight: 700; letter-spacing: .08em; background: var(--sol-2); padding: 3px 8px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { .flash-dentro, .boton { transition: none; } }

/* ---------------------------------------------------------------- Recorrido por niveles */
.recorrido-cabeza { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.camino { list-style: none; margin: 0 auto; padding: 10px 0 40px; max-width: 520px; position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.camino::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 4px dotted var(--linea); transform: translateX(-2px); z-index: 0; }
.camino-doc { position: relative; z-index: 1; background: var(--fondo); padding: 4px 14px; border-radius: 999px; border: 1px solid var(--linea); font-size: .85rem; font-weight: 600; color: var(--suave); text-align: center; max-width: 90%; }
.nodo { position: relative; z-index: 1; transform: translateX(var(--x)); }
.nodo button { display: flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: 0; cursor: pointer; padding: 0; width: 150px; }
.nodo-circulo { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.7rem; font-weight: 800;
  background: var(--papel); border: 4px solid var(--linea); box-shadow: 0 6px 0 var(--linea); transition: transform .15s; }
.nodo button:hover .nodo-circulo { transform: translateY(-2px); }
.nodo.hecho .nodo-circulo { background: var(--c); border-color: var(--c); color: #fff; box-shadow: 0 6px 0 color-mix(in srgb, var(--c) 70%, #000); }
.nodo.actual .nodo-circulo { width: 90px; height: 90px; background: var(--papel); border-color: var(--c); color: var(--c); box-shadow: 0 6px 0 var(--c); animation: latido 1.4s ease-in-out infinite; }
.nodo.cerrado .nodo-circulo { background: #f1ece5; color: #b9b1a6; font-size: 1.3rem; box-shadow: 0 6px 0 #e3dbcf; }
.nodo.repaso .nodo-circulo, .nodo.final .nodo-circulo { border-radius: 24px; }
.nodo.final .nodo-circulo { width: 96px; height: 96px; }
.nodo-estrellas { color: var(--sol); font-size: 1rem; letter-spacing: 2px; min-height: 1.2em; }
.nodo-titulo { font-size: .85rem; line-height: 1.25; text-align: center; color: var(--tinta); }
.nodo.cerrado .nodo-titulo { color: var(--suave); }
.nodo-titulo em { display: block; font-style: normal; font-weight: 700; color: var(--c); font-size: .8rem; }
@keyframes latido { 50% { transform: scale(1.06); } }
.estrellas-grandes { font-size: 4rem; line-height: 1; margin: 0 0 10px; letter-spacing: 6px; }
.estrellas-grandes span { color: #e5ded3; display: inline-block; }
.estrellas-grandes span.llena { color: var(--sol); animation: estrella .5s both; }
@keyframes estrella { from { transform: scale(0) rotate(-40deg); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (max-width: 420px) { .nodo { transform: translateX(calc(var(--x) * .6)); } }
@media (prefers-reduced-motion: reduce) { .nodo.actual .nodo-circulo, .estrellas-grandes span.llena { animation: none; } }

.camino-tema { position: relative; z-index: 1; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1.05rem; background: var(--fondo); padding: 2px 12px; text-align: center; max-width: 92%; margin-top: 8px; }
.nodo-titulo small { display: block; color: var(--suave); font-size: .75rem; }
.nodo.etapa-m .nodo-circulo { border-width: 5px; }
.nodo.etapa-d .nodo-circulo { border-width: 6px; border-style: double; }
.nodo.etapa-d.hecho .nodo-circulo { background: color-mix(in srgb, var(--c) 70%, #1d1a2b); border-color: color-mix(in srgb, var(--c) 70%, #1d1a2b); }
.m-aviso { background: var(--sol-2); border-radius: 12px; padding: 9px 13px; font-size: .93rem; }

/* ---------------------------------------------------------------- Tutor, resultado, plan, preparación y calendario */
.barra i { background: linear-gradient(90deg, var(--rosa), #f48fb1); }
.barra-pie { position: sticky; bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding: 10px 12px; border-radius: 16px; background: var(--papel); border: 1px solid var(--linea); box-shadow: var(--sombra); }
.barra-pie.ok { background: var(--menta-2); border-color: transparent; }
.barra-pie.ko { background: #ffe6ea; border-color: transparent; }
.leccion-portada { background: linear-gradient(160deg, #ffe1ec, #fff 70%); border: 1px solid var(--linea); border-radius: 24px; padding: 22px; margin-top: 14px; }
.leccion-portada h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 12px 0 8px; }
.lo-que-viene { background: var(--papel); border-radius: 16px; padding: 14px 16px; margin-top: 14px; border: 1px solid var(--linea); }
.lo-que-viene ol { margin: 8px 0 0; padding-left: 1.2em; display: grid; gap: 8px; }
.texto-leccion { font-size: 1.06rem; line-height: 1.7; margin: 12px 0; }
.texto-leccion strong { color: #c2185b; }
.importante { background: #fff0f6; border-left: 4px solid var(--rosa); border-radius: 12px; padding: 12px 14px; margin: 12px 0 18px; }
.pregunta-rapida { border-top: 1px dashed var(--linea); padding-top: 14px; }
.destacado { border-color: var(--rosa); color: var(--rosa); font-weight: 700; }
.cifras { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 6px 0 14px; }
.cifras span { background: var(--papel); border: 1px solid var(--linea); border-radius: 12px; padding: 8px 14px; color: var(--suave); }
.cifras b { color: var(--tinta); margin-left: 4px; }
.dominio { display: inline-flex; align-items: center; gap: 14px; text-align: left; background: linear-gradient(135deg, #ffe1ec, #fff); border: 1px solid var(--linea); border-radius: 20px; padding: 14px 18px; margin: 6px 0 14px; }
.anillo { --p: 0; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--rosa) calc(var(--p) * 1%), #f8dce7 0); position: relative; flex: none; }
.anillo::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: var(--papel); }
.anillo span { position: relative; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.15rem; text-align: center; line-height: 1; }
.anillo span small { display: block; font-family: 'Inter'; font-size: .7rem; font-weight: 500; color: var(--suave); margin-top: 4px; }
.anillo.grande { width: 150px; height: 150px; }
.anillo.grande::before { inset: 14px; }
.anillo.grande span { font-size: 2.2rem; }
.preparacion { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; background: linear-gradient(140deg, #ffe1ec, #fff 75%); border: 1px solid var(--linea); border-radius: 24px; padding: 20px; margin-bottom: 18px; }
.dias-grande { font-family: 'Bricolage Grotesque', sans-serif; font-size: 2.6rem; font-weight: 800; margin: 2px 0; color: #c2185b; }
.dias-grande small { font-size: 1rem; color: var(--suave); font-weight: 600; }
.valorar { margin-top: 22px; background: var(--papel); border: 1px solid var(--linea); border-radius: 18px; padding: 14px; }
.valorar p { margin: 0 0 8px; }
.chip-boton { border: 1.5px solid var(--linea); background: var(--fondo); border-radius: 999px; padding: 7px 12px; cursor: pointer; font-size: .88rem; }
.chip-boton.elegido { border-color: var(--rosa); background: var(--coral-2); }
.plan-aviso { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: linear-gradient(120deg, #ffd6e5, #fff0f6); border: 1px solid var(--linea); border-radius: 18px; padding: 14px 16px; margin-bottom: 14px; }
.puntos-paso { display: flex; gap: 6px; margin-bottom: 14px; }
.puntos-paso i { flex: 1; height: 5px; border-radius: 99px; background: var(--linea); }
.puntos-paso i.on { background: var(--rosa); }
.lista-elegir { display: grid; gap: 8px; max-height: 50dvh; overflow-y: auto; }
.lista-elegir label { display: flex; align-items: center; gap: 10px; background: var(--papel); border: 1.5px solid var(--linea); border-radius: 14px; padding: 11px 13px; cursor: pointer; }
.lista-elegir label:has(input:checked) { border-color: var(--rosa); background: #fff0f6; }
.lista-elegir input { accent-color: var(--rosa); width: 18px; height: 18px; flex: none; }
.lista-elegir .señal { margin-left: auto; color: var(--rosa); letter-spacing: 1px; font-size: .8rem; }
.camino-tema small { color: var(--rosa); font-family: 'Inter'; font-size: .78rem; }
.cal-cabeza { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal b { font-size: .75rem; color: var(--suave); padding: 4px 0; }
.dia { position: relative; aspect-ratio: 1; border: 0; border-radius: 12px; background: var(--fondo); cursor: pointer; font-weight: 600; display: grid; place-items: center; }
.dia:hover { background: var(--coral-2); }
.dia.hoy { outline: 2px solid var(--rosa); }
.dia.con { background: #ffd6e5; color: #9c1458; }
.dia i { position: absolute; bottom: 5px; left: 0; right: 0; display: flex; justify-content: center; gap: 2px; }
.dia em { width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--rosa)); }
.cuenta-atras { flex: none; min-width: 64px; text-align: center; font-weight: 800; font-size: .85rem; color: #fff; background: var(--c, var(--rosa)); border-radius: 10px; padding: 6px 8px; }
.proximos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; text-decoration: none; background: linear-gradient(120deg, #ffd6e5, #fff0f6); border: 1px solid var(--linea); border-radius: 18px; padding: 10px 12px; margin-bottom: 16px; }
.proximos span { display: inline-flex; gap: 8px; align-items: center; background: var(--papel); border-radius: 12px; padding: 6px 10px; font-size: .9rem; }
.proximos b { color: #fff; background: var(--c, var(--rosa)); border-radius: 8px; padding: 1px 7px; font-size: .78rem; }
.proximos em { margin-left: auto; font-style: normal; font-size: .85rem; color: var(--rosa); font-weight: 600; }

@media (max-width: 560px) {
  .solo-ancho { display: none; }
  .cabeza { padding-left: 14px; padding-right: 14px; }
  .cabeza-der { gap: 6px; }
  .usos { padding: 4px 9px; font-size: .78rem; }
  .marca { font-size: 1.3rem; }
}
body { overflow-x: hidden; }
