/* How to use your AI Coach (v2/howto.js). The page stays usable behind it: only the card takes clicks. */
.howto { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.howto-spot { position: fixed; border-radius: 14px; box-shadow: 0 0 0 4px #ffd54a, 0 0 0 9999px rgba(1, 26, 68, .32); transition: left .3s ease, top .3s ease, width .3s ease, height .3s ease; pointer-events: none; }
.howto-arrow { position: fixed; width: 24px; text-align: center; font-size: 22px; line-height: 26px; color: #ffd54a; text-shadow: 0 0 3px var(--navy), 0 0 6px var(--navy); transition: left .3s ease, top .3s ease; pointer-events: none; }
.howto.still .howto-spot, .howto.still .howto-arrow { transition: none; }
.howto-card { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; margin: 0; pointer-events: auto; border: 2px solid var(--navy); box-shadow: 0 12px 32px rgba(1, 26, 68, .25); }
.howto-card.at-top { bottom: auto; top: 16px; }
.howto-top { display: flex; gap: 10px; align-items: flex-start; }
.howto-head { flex: 1; min-width: 0; }
.howto-step { margin: 0; font-size: 13px; font-weight: 700; color: var(--teal-dark); }
.howto-card h2 { margin: .1em 0 .2em; font-size: 1.25rem; }
.howto-card #howto-p { margin: 6px 0 0; }
.howto-try { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--sky-soft); }
.howto-try p { margin: 0 0 8px; }
.howto-try .row { gap: 8px; flex-wrap: wrap; }
.howto-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.howto-gap { flex: 1; }
.howto-pill { position: fixed; left: 12px; bottom: 56px; z-index: 1000; box-shadow: var(--shadow); }
.howto-q { min-width: 32px; padding: 0 8px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .howto-spot, .howto-arrow { transition: none; } }
/* The parent page walkthrough (A-43): "Or start from one part" on its first step, and the AI coach cards' link to it. */
.howto-parts { margin-top: 10px; }
.howto-parts p { margin: 0 0 6px; }
.howto-parts ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.howto-parts .btn { min-height: 32px; padding: 4px 10px; text-align: left; }
.howto-walk { margin: 10px 0 0; }
/* "Show me" under a family card's "What is this?" (v2/parent-help.js). */
.whatis-show { margin-top: 6px; }
