/* ============================================================
   ANAMNESIS — widget guía discreto (prueba reversible)
   Usa las variables de tu style.css (--color-teal = dorado, etc.).
   Deshacer: quitar el <link>/<script> de index.html y borrar los 2 archivos.
   ============================================================ */

.anmw-trigger {
  position: fixed !important; left: 1.4rem; bottom: 1.4rem; z-index: 1400 !important;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.1rem; border-radius: 999px;
  background: var(--color-teal, #C8A84A); color: #10262e;
  font-family: var(--font-sans, sans-serif); font-size: .82rem; font-weight: 600;
  border: none; cursor: pointer; box-shadow: 0 8px 26px rgba(0,0,0,.35);
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}
.anmw-trigger i { font-style: normal; }
.anmw-trigger:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.45); }
.anmw-trigger.is-open { opacity: 0; pointer-events: none; }

.anmw-panel {
  position: fixed !important; left: 1.4rem; bottom: 1.4rem; z-index: 1401 !important;
  width: min(380px, calc(100vw - 2.8rem));
  background: var(--color-bg, #142D36);
  border: 1px solid rgba(232,213,183,.16); border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
  padding: 1.6rem 1.5rem 1.4rem;
  color: var(--color-text, #f5f5f0);
  font-family: var(--font-sans, sans-serif);
  animation: anmwUp .32s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes anmwUp { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

.anmw-close { position: absolute; top: .7rem; right: .9rem; background: none; border: none; color: var(--color-text-dim, #a8a8a2); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.anmw-close:hover { color: var(--color-teal, #C8A84A); }

.anmw-eyebrow { font-family: monospace; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-teal, #C8A84A); margin: 0 0 .5rem; }
.anmw-q { font-family: var(--font-serif, serif); font-weight: 600; font-size: 1.5rem; line-height: 1.1; margin: 0 0 1.1rem; }

.anmw-form { display: flex; gap: .5rem; }
.anmw-form input {
  flex: 1; background: rgba(0,0,0,.22); border: 1px solid rgba(232,213,183,.2); border-radius: 999px;
  padding: .7rem 1rem; color: var(--color-text, #f5f5f0); font-size: .92rem;
}
.anmw-form input:focus { outline: none; border-color: var(--color-teal, #C8A84A); }
.anmw-form button { flex: none; width: 42px; border-radius: 50%; border: none; background: var(--color-teal, #C8A84A); color: #10262e; font-size: 1.1rem; cursor: pointer; }

.anmw-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.anmw-chip { font-size: .72rem; color: var(--color-text-muted, #dcdcd4); background: rgba(255,255,255,.04); border: 1px solid rgba(232,213,183,.14); border-radius: 999px; padding: .4rem .7rem; cursor: pointer; transition: border-color .25s, color .25s; }
.anmw-chip:hover { border-color: var(--color-teal, #C8A84A); color: var(--color-teal, #C8A84A); }

.anmw-result { animation: anmwUp .3s ease both; }
.anmw-lead { font-family: var(--font-serif, serif); font-size: 1.2rem; line-height: 1.3; margin: .2rem 0 1.1rem; }
.anmw-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.anmw-btn { font-size: .82rem; font-weight: 600; padding: .6rem 1rem; border-radius: 999px; border: 1px solid rgba(232,213,183,.25); background: none; color: var(--color-text, #f5f5f0); cursor: pointer; text-decoration: none; display: inline-block; }
.anmw-btn--gold { background: var(--color-teal, #C8A84A); color: #10262e; border-color: transparent; }
.anmw-btn:hover { border-color: var(--color-teal, #C8A84A); }
.anmw-again { margin-top: 1rem; background: none; border: none; color: var(--color-text-dim, #a8a8a2); font-size: .74rem; cursor: pointer; font-family: monospace; }
.anmw-again:hover { color: var(--color-teal, #C8A84A); }

@media (prefers-reduced-motion: reduce) { .anmw-panel, .anmw-result { animation: none; } }
@media (max-width: 520px) { .anmw-trigger span { display: none; } .anmw-trigger { padding: .8rem; } }
