/* KIRO LOVE (prototipo 20-10-2026). Rosa, rojo y azul noche; tono adulto.
   Tres espacios con marca visual propia:
   - privado (candado, borde azul): solo lo ve quien lo usa;
   - juntos (corazón, borde rosa): lo veis los dos.
   Móvil primero; en ordenador, barra lateral desde 900 px.
   Tema: automático o elegido (html[data-theme=light|dark]). */

/* 1. Tokens ------------------------------------------------------------ */
:root {
  color-scheme: light;
  --bg: #fbf3f5;
  --bg-2: #f6e6eb;
  --card: #ffffff;
  --card-2: #fff7f9;
  --field: #fffafb;
  --ink: #1b2a4a;
  --ink-2: #44507a;
  --ink-soft: #6f7896;
  --line: rgba(27, 42, 74, 0.12);
  --rosa: #e8577e;
  --rosa-soft: rgba(232, 87, 126, 0.12);
  --rojo: #d7263d;
  --rojo-soft: rgba(215, 38, 61, 0.1);
  --azul: #1b2a4a;
  --azul-2: #3356b8;
  --azul-soft: rgba(51, 86, 184, 0.1);
  --ok: #1c9a71;
  --ok-soft: rgba(28, 154, 113, 0.12);
  --oro: #c98a00;
  --oro-soft: rgba(242, 182, 48, 0.18);
  --on-brand: #ffffff;
  --shadow: 0 10px 30px -12px rgba(27, 42, 74, 0.22);
  --glow-a: rgba(232, 87, 126, 0.18);
  --glow-b: rgba(51, 86, 184, 0.12);
  --nav: rgba(255, 255, 255, 0.92);
  --toast: #1b2a4a;

  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r: 20px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0f172b;
    --bg-2: #16213d;
    --card: #18233f;
    --card-2: #1d2a4a;
    --field: #121c34;
    --ink: #f3f1f6;
    --ink-2: #c9cde0;
    --ink-soft: #969fbd;
    --line: rgba(255, 255, 255, 0.1);
    --rosa: #ff7aa2;
    --rosa-soft: rgba(255, 122, 162, 0.14);
    --rojo: #ff5a6e;
    --rojo-soft: rgba(255, 90, 110, 0.14);
    --azul-2: #7fa2ff;
    --azul-soft: rgba(127, 162, 255, 0.14);
    --ok: #4fd1a5;
    --ok-soft: rgba(79, 209, 165, 0.14);
    --oro: #f2c14e;
    --oro-soft: rgba(242, 193, 78, 0.16);
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
    --glow-a: rgba(255, 122, 162, 0.12);
    --glow-b: rgba(127, 162, 255, 0.1);
    --nav: rgba(20, 30, 56, 0.94);
    --toast: #2b3f6e;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f172b;
  --bg-2: #16213d;
  --card: #18233f;
  --card-2: #1d2a4a;
  --field: #121c34;
  --ink: #f3f1f6;
  --ink-2: #c9cde0;
  --ink-soft: #969fbd;
  --line: rgba(255, 255, 255, 0.1);
  --rosa: #ff7aa2;
  --rosa-soft: rgba(255, 122, 162, 0.14);
  --rojo: #ff5a6e;
  --rojo-soft: rgba(255, 90, 110, 0.14);
  --azul-2: #7fa2ff;
  --azul-soft: rgba(127, 162, 255, 0.14);
  --ok: #4fd1a5;
  --ok-soft: rgba(79, 209, 165, 0.14);
  --oro: #f2c14e;
  --oro-soft: rgba(242, 193, 78, 0.16);
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  --glow-a: rgba(255, 122, 162, 0.12);
  --glow-b: rgba(127, 162, 255, 0.1);
  --nav: rgba(20, 30, 56, 0.94);
  --toast: #2b3f6e;
}

/* 2. Base --------------------------------------------------------------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(60rem 30rem at 0% -10%, var(--glow-a), transparent 60%),
    radial-gradient(50rem 30rem at 110% 10%, var(--glow-b), transparent 60%);
  background-attachment: fixed;
  line-height: 1.5;
  font-size: 16px;
}
h1, h2, h3 { line-height: 1.2; margin: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: var(--ink); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--rosa); outline-offset: 2px; border-radius: 8px; }

.serif { font-family: var(--serif); font-style: italic; font-weight: 500; }

/* 3. Botones y campos --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 22px; border-radius: 999px; border: 0;
  background: linear-gradient(135deg, var(--rosa), var(--rojo));
  color: #fff; font-weight: 700; letter-spacing: 0.01em;
  box-shadow: 0 8px 20px -8px rgba(215, 38, 61, 0.55);
  transition: transform 0.15s var(--ease), box-shadow 0.15s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn.is-block { width: 100%; }
.btn.is-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn.is-azul { background: var(--azul); color: #fff; box-shadow: 0 8px 20px -10px rgba(27, 42, 74, 0.6); }
:root[data-theme="dark"] .btn.is-azul { background: #2b3f6e; }
.btn.is-sm { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
.link-btn { background: none; border: 0; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; padding: 8px; font-size: 15px; }

.campo { display: grid; gap: 6px; margin-bottom: 14px; }
.campo label { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.campo input, .campo textarea, .campo select {
  width: 100%; padding: 13px 15px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--field);
}
.campo textarea { min-height: 96px; resize: vertical; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--rosa); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 6px 0 16px; }
.check input { width: 20px; height: 20px; accent-color: var(--rosa); margin-top: 1px; flex: none; }

/* 4. Chips de privacidad (la pieza clave) ------------------------------ */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.chip svg { width: 13px; height: 13px; }
.chip-priv { background: var(--azul-soft); color: var(--azul-2); }
.chip-juntos { background: var(--rosa-soft); color: var(--rosa); }
.chip-ok { background: var(--ok-soft); color: var(--ok); }
.chip-oro { background: var(--oro-soft); color: var(--oro); }

/* 5. Pantallas sueltas (bienvenida, registro, pausa) ------------------- */
.scr { min-height: 100vh; }
.scr-centro { display: grid; place-items: center; padding: 32px 16px 48px; }
.centro-wrap { width: 100%; max-width: 440px; text-align: center; }
.logo-xl { width: 128px; height: 128px; border-radius: 30px; box-shadow: var(--shadow); }
.titulo-app { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; margin: 18px 0 6px; }
.titulo-app span { background: linear-gradient(135deg, var(--rosa), var(--rojo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--ink-2); font-size: 17px; margin-bottom: 26px; }
.stack { display: grid; gap: 10px; }
.nota { font-size: 13px; color: var(--ink-soft); margin-top: 18px; }

.form-wrap { max-width: 460px; margin: 0 auto; padding: 28px 16px 48px; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 26px 22px; box-shadow: var(--shadow); }
.form-card h1 { font-size: 26px; margin-bottom: 6px; }
.form-card .lede { font-size: 15px; margin-bottom: 20px; }
.volver { display: inline-flex; gap: 6px; align-items: center; background: none; border: 0; color: var(--ink-2); font-weight: 600; padding: 6px 0 14px; }

.codigo-grande {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 34px; font-weight: 800; letter-spacing: 0.16em;
  background: var(--rosa-soft); color: var(--rosa); border-radius: 18px; padding: 18px; margin: 16px 0; text-align: center;
}

/* 6. Demo -------------------------------------------------------------- */
.demo-bar {
  position: sticky; top: 0; z-index: 60;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; justify-content: center;
  padding: 8px 12px; font-size: 13px;
  background: var(--azul); color: #fff;
}
.demo-bar strong { color: #ffc2d3; }
.demo-bar button { background: rgba(255, 255, 255, 0.14); border: 0; color: #fff; border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; }
.demo-bar button.is-on { background: #fff; color: var(--azul); }
.demo-bar button.is-riesgo { background: var(--rojo); }
.demo-grupo { display: inline-flex; gap: 4px; align-items: center; }

/* 7. Estructura de la app --------------------------------------------- */
.app { display: block; }
.app-main { max-width: 640px; margin: 0 auto; padding: 18px 16px 110px; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.app-head h1 { font-size: 26px; letter-spacing: -0.01em; }
.app-head p { color: var(--ink-soft); font-size: 14px; }
.mini-logo { width: 40px; height: 40px; border-radius: 12px; }

.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--nav); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
}
.nav button {
  display: grid; justify-items: center; gap: 2px; background: none; border: 0;
  padding: 8px 4px; border-radius: 14px; font-size: 12px; font-weight: 600; color: var(--ink-soft);
}
.nav button svg { width: 24px; height: 24px; }
.nav button.is-on { color: var(--rosa); background: var(--rosa-soft); }
.nav .nav-logo { display: none; }

@media (min-width: 900px) {
  .app { display: grid; grid-template-columns: 240px 1fr; }
  .nav {
    position: sticky; top: 0; height: 100vh; grid-template-columns: 1fr; align-content: start; gap: 6px;
    border-top: 0; border-right: 1px solid var(--line); padding: 24px 14px;
  }
  .demo-on .nav { top: 41px; height: calc(100vh - 41px); }
  .nav .nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; padding: 0 8px 18px; }
  .nav .nav-logo img { width: 40px; height: 40px; border-radius: 12px; }
  .nav button { display: flex; gap: 12px; font-size: 15px; padding: 12px 14px; justify-content: flex-start; }
  .app-main { padding: 34px 32px 60px; max-width: 760px; }
}

/* 8. Tarjetas ---------------------------------------------------------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px; box-shadow: var(--shadow); margin-bottom: 14px;
}
.card.is-priv { border-left: 4px solid var(--azul-2); }
.card.is-juntos { border-left: 4px solid var(--rosa); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.card-top h2, .card h2 { font-size: 18px; }
.card h3 { font-size: 16px; }
.card .sub { color: var(--ink-soft); font-size: 14px; }
.seccion-titulo { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin: 26px 2px 10px; display: flex; gap: 8px; align-items: center; }

.hero {
  border-radius: 24px; padding: 22px; margin-bottom: 16px; color: #fff;
  background: linear-gradient(140deg, #2b3f6e 0%, #1b2a4a 55%, #6b2346 130%);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.hero::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 122, 162, 0.45), transparent 70%); }
.hero .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #ffc2d3; }
.hero h2 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 26px; margin: 6px 0 8px; }
.hero p { color: rgba(255, 255, 255, 0.82); font-size: 15px; position: relative; z-index: 1; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px; text-align: center; }
.stat b { display: block; font-size: 22px; }
.stat span { font-size: 12px; color: var(--ink-soft); font-weight: 600; }

/* Tareas */
.tarea { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.tarea:first-of-type { border-top: 0; }
.tick {
  flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line);
  background: var(--field); display: grid; place-items: center; padding: 0;
}
.tick svg { width: 16px; height: 16px; opacity: 0; }
.tick.is-on { background: var(--ok); border-color: var(--ok); color: #fff; }
.tick.is-on svg { opacity: 1; }
.tarea-txt { flex: 1; }
.tarea-txt b { display: block; font-size: 15px; }
.tarea-txt span { font-size: 13px; color: var(--ink-soft); }

/* Actividad juntos */
.juntos-estado { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.persona { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 5px 10px 5px 5px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); }
.persona.is-hecho { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; flex: none; }
.av-rosa { background: linear-gradient(135deg, #f27a9c, #d9476f); }
.av-azul { background: linear-gradient(135deg, #5a86e6, #3356b8); }

/* Barra de progreso */
.barra { height: 10px; background: var(--bg-2); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.barra i { display: block; height: 100%; background: linear-gradient(90deg, var(--rosa), var(--rojo)); border-radius: inherit; }
.barra.is-azul i { background: linear-gradient(90deg, #5a86e6, var(--azul-2)); }

/* Nosotros: cabecera de pareja */
.pareja-head { text-align: center; padding: 8px 0 4px; }
.pareja-avs { display: inline-flex; align-items: center; gap: 0; margin-bottom: 10px; }
.pareja-avs .avatar { width: 56px; height: 56px; font-size: 22px; border: 3px solid var(--bg); }
.pareja-avs .corazon { width: 34px; height: 34px; margin: 0 -6px; z-index: 1; filter: drop-shadow(0 4px 8px rgba(215, 38, 61, 0.35)); }
.pareja-head h1 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 30px; }

.aviso-priv { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); background: var(--card-2); border: 1px dashed var(--line); border-radius: 14px; padding: 10px 12px; margin: 12px 0 4px; }
.aviso-priv svg { flex: none; width: 18px; height: 18px; color: var(--rosa); margin-top: 1px; }

/* Ciclo */
.ciclo { display: grid; gap: 0; position: relative; margin-top: 6px; }
.ciclo-paso { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; position: relative; }
.ciclo-paso .num { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: var(--rosa-soft); color: var(--rosa); position: relative; z-index: 1; }
.ciclo-paso:not(:last-child)::before { content: ""; position: absolute; left: 14px; top: 38px; bottom: -8px; width: 2px; background: var(--line); }
.ciclo-vuelta { font-size: 13px; color: var(--ink-soft); display: flex; gap: 6px; align-items: center; padding-left: 42px; }
.salida { margin-top: 12px; background: var(--ok-soft); color: var(--ink); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.salida b { color: var(--ok); }

.lista-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: 14px; padding: 7px 12px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); }

/* Semana (plan) */
.dias { display: grid; gap: 8px; }
.dia { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); }
.dia.is-hoy { border-color: var(--rosa); background: var(--rosa-soft); }
.dia .d { font-weight: 800; font-size: 13px; text-transform: uppercase; color: var(--ink-soft); text-align: center; }
.dia .d b { display: block; font-size: 18px; color: var(--ink); }
.dia .que { font-size: 14px; font-weight: 600; }
.dia .que span { display: block; font-weight: 500; font-size: 12px; color: var(--ink-soft); }

/* Termómetro */
.termo { display: flex; align-items: center; gap: 14px; }
.termo-num { font-size: 36px; font-weight: 800; }
.termo-num small { font-size: 16px; color: var(--ink-soft); font-weight: 600; }

/* Logros */
.logros { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.logro { text-align: center; padding: 12px 6px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.logro .ico { font-size: 26px; display: block; margin-bottom: 4px; }
.logro.is-off { opacity: 0.4; filter: grayscale(1); }

/* 9. Chat --------------------------------------------------------------- */
.chat-wrap { display: flex; flex-direction: column; height: calc(100vh - 200px); min-height: 420px; }
.chat-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.chat-head img { width: 44px; height: 44px; border-radius: 14px; }
.chat-head h1 { font-size: 20px; }
.chat-lista { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 8px 2px 12px; }
.msg { max-width: 84%; padding: 11px 15px; border-radius: 20px; font-size: 15px; white-space: pre-wrap; }
.msg.kiro { align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.yo { align-self: flex-end; background: linear-gradient(135deg, var(--rosa), var(--rojo)); color: #fff; border-bottom-right-radius: 6px; }
.msg.escribiendo { color: var(--ink-soft); font-style: italic; }
.chat-form { display: flex; gap: 8px; padding-top: 8px; }
.chat-form textarea { flex: 1; resize: none; min-height: 50px; max-height: 140px; padding: 13px 15px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--field); }
.chat-form button { flex: none; width: 50px; height: 50px; border-radius: 50%; padding: 0; min-height: 0; }
.sugerencias { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0; }
.sugerencias button { flex: none; font-size: 13px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); }

/* Tu versión (conversación inicial) */
.version-prog { display: flex; gap: 6px; margin: 4px 0 14px; }
.version-prog i { flex: 1; height: 6px; border-radius: 999px; background: var(--bg-2); }
.version-prog i.is-on { background: var(--rosa); }

/* 10. Lección ----------------------------------------------------------- */
.leccion { position: fixed; inset: 0; z-index: 80; background: var(--bg); display: flex; flex-direction: column; }
.leccion-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; max-width: 640px; width: 100%; margin: 0 auto; }
.leccion-top .barra { flex: 1; margin: 0; }
.cerrar { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--card-2); display: grid; place-items: center; flex: none; }
.cerrar svg { width: 18px; height: 18px; }
.leccion-cuerpo { flex: 1; overflow-y: auto; max-width: 640px; width: 100%; margin: 0 auto; padding: 18px 20px; }
.leccion-cuerpo h2 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 28px; margin-bottom: 14px; }
.leccion-cuerpo p { font-size: 17px; color: var(--ink-2); margin-bottom: 12px; }
.leccion-cuerpo .ejemplo { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin: 14px 0; font-size: 15px; }
.leccion-cuerpo .ejemplo b { color: var(--rosa); }
.leccion-pie { max-width: 640px; width: 100%; margin: 0 auto; padding: 14px 20px calc(18px + env(safe-area-inset-bottom)); }
.opciones { display: grid; gap: 10px; margin-top: 10px; }
.opcion { text-align: left; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card); font-size: 15px; }
.opcion.is-sel { border-color: var(--azul-2); background: var(--azul-soft); }
.opcion.is-bien { border-color: var(--ok); background: var(--ok-soft); }
.opcion.is-mal { border-color: var(--rojo); background: var(--rojo-soft); }
.feedback { margin-top: 14px; padding: 14px 16px; border-radius: 16px; font-size: 15px; }
.feedback.is-bien { background: var(--ok-soft); }
.feedback.is-mal { background: var(--oro-soft); }
.fin-leccion { text-align: center; padding-top: 30px; }
.fin-leccion .xp { font-size: 46px; font-weight: 800; background: linear-gradient(135deg, var(--rosa), var(--rojo)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 11. Modal ------------------------------------------------------------ */
.modal-fondo { position: fixed; inset: 0; z-index: 90; background: rgba(15, 23, 43, 0.55); display: grid; place-items: end center; padding: 0; }
.modal { width: 100%; max-width: 520px; background: var(--card); border-radius: 26px 26px 0 0; padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); max-height: 90vh; overflow-y: auto; }
@media (min-width: 640px) { .modal-fondo { place-items: center; padding: 16px; } .modal { border-radius: 26px; } }
.modal h2 { font-size: 21px; margin-bottom: 8px; }
.modal .lede { font-size: 15px; margin-bottom: 16px; text-align: left; }
.caras { display: flex; justify-content: space-between; gap: 6px; margin: 10px 0 16px; }
.caras button { flex: 1; font-size: 28px; padding: 10px 0; border-radius: 14px; border: 1.5px solid var(--line); background: var(--field); }
.caras button.is-sel { border-color: var(--rosa); background: var(--rosa-soft); }
.modal-acciones { display: grid; gap: 8px; margin-top: 8px; }

/* 12. Pausa por riesgo ------------------------------------------------- */
.pausa { max-width: 560px; margin: 0 auto; padding: 28px 16px 110px; }
.pausa-card { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 26px 22px; box-shadow: var(--shadow); text-align: center; }
.pausa-card .icono { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 20px; display: grid; place-items: center; background: var(--azul-soft); color: var(--azul-2); }
.pausa-card .icono svg { width: 32px; height: 32px; }
.pausa-card h1 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 28px; margin-bottom: 10px; }
.pausa-card p { color: var(--ink-2); margin-bottom: 10px; }
.recursos { text-align: left; border-left: 4px solid var(--azul-2); }
.recurso { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.recurso:first-of-type { border-top: 0; }
.recurso b { font-size: 20px; min-width: 120px; }
.recurso span { font-size: 14px; color: var(--ink-2); }
.salida-rapida {
  position: fixed; right: 14px; bottom: 14px; z-index: 70;
  background: var(--rojo); color: #fff; border: 0; border-radius: 999px; padding: 12px 18px; font-weight: 800;
  box-shadow: 0 10px 24px -8px rgba(215, 38, 61, 0.6);
}
.psico { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--field); margin-bottom: 8px; text-align: left; width: 100%; }
.psico.is-sel { border-color: var(--rosa); background: var(--rosa-soft); }
.psico .avatar { width: 44px; height: 44px; font-size: 16px; background: linear-gradient(135deg, #2b3f6e, #1b2a4a); }
.psico b { display: block; }
.psico span { font-size: 13px; color: var(--ink-soft); }

/* 13. Toast ------------------------------------------------------------ */
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(20px); opacity: 0; z-index: 100; background: var(--toast); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 14px; font-weight: 600; transition: all 0.25s var(--ease); pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (min-width: 900px) { .toast { bottom: 30px; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* 14. Errores de formulario (modo real) --------------------------------- */
.form-error { background: var(--rojo-soft); color: var(--rojo); border-radius: 14px; padding: 12px 14px; font-size: 14px; font-weight: 600; margin: 4px 0 14px; }
