/* Guide finder: floating launcher + dialog (rule-based, no network). */
.rvfw-bot-launch{all:unset;position:fixed;right:var(--gr);bottom:var(--gb);z-index:50;cursor:pointer;display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--brand);color:var(--brand-ink);box-shadow:var(--shadow-lg);transition:opacity .25s,transform .25s}
.rvfw-bot-launch:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.rvfw-bot-launch .ic{width:28px;height:28px;--duo:color-mix(in oklab,var(--accent) 70%,transparent)}
.rvfw-bot-launch:hover{transform:translateY(-2px)}
.rvfw-bot-launch.is-dodging{opacity:0;transform:translateY(14px) scale(.85);pointer-events:none}
.rvfw-bot-launch .x{display:none}
.rvfw-bot-launch[aria-expanded="true"] .x{display:block}
.rvfw-bot-launch[aria-expanded="true"] .chat{display:none}
.rvfw-bot-tip{position:fixed;z-index:50;right:calc(var(--gr) + 70px);bottom:calc(var(--gb) + 12px);background:var(--ink);color:var(--bg);font-size:.85rem;font-weight:600;padding:7px 12px;border-radius:999px;white-space:nowrap;opacity:0;transform:translateX(6px);pointer-events:none;transition:opacity .25s,transform .25s}
.rvfw-bot-tip.is-shown{opacity:1;transform:none}
.rvfw-bot{position:fixed;z-index:50;right:var(--gr);bottom:calc(var(--gb) + 72px);width:min(390px,calc(100vw - 32px));max-height:min(580px,calc(100dvh - 170px));display:flex;flex-direction:column;background:var(--surface);color:var(--ink);border-radius:24px;box-shadow:var(--shadow-lg),0 0 0 1px var(--line);overflow:hidden;font-family:var(--body)}
.rvfw-bot[hidden]{display:none}
@media (prefers-reduced-motion:no-preference){.rvfw-bot{animation:rvfw-bot-in .28s cubic-bezier(.2,.7,.3,1)}}
@keyframes rvfw-bot-in{from{opacity:0;transform:translateY(14px) scale(.98)}}
@media (max-width:520px){.rvfw-bot{left:max(12px,env(safe-area-inset-left,0px));right:max(12px,env(safe-area-inset-right,0px));width:auto;max-height:calc(100dvh - 140px)}}
.rvfw-bot-h{display:flex;gap:12px;align-items:center;padding:14px 14px 12px 16px;background:linear-gradient(135deg,var(--brand-soft),var(--sky))}
.rvfw-bot-h .av{display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:var(--surface);flex:none}
.rvfw-bot-h h2{font-family:var(--display);font-size:1.05rem;letter-spacing:-.01em;margin:0;line-height:1.2}
.rvfw-bot-h p{margin:0;font-size:.78rem;color:var(--muted);line-height:1.35}
.rvfw-bot-x{all:unset;cursor:pointer;margin-left:auto;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;color:var(--ink);flex:none}
.rvfw-bot-x:hover{background:var(--surface)}
.rvfw-bot-x:focus-visible{outline:3px solid var(--accent)}
.rvfw-bot-log{flex:1 1 auto;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;font-size:.94rem;line-height:1.5;overscroll-behavior:contain}
.rvfw-msg{max-width:88%;padding:10px 14px;border-radius:18px;background:var(--surface-2);box-shadow:0 0 0 1px var(--line)}
.rvfw-msg p{margin:0}
.rvfw-msg.me{align-self:flex-end;background:var(--brand);color:var(--brand-ink);box-shadow:none;border-bottom-right-radius:6px}
.rvfw-msg.bot{border-bottom-left-radius:6px}
.rvfw-msg.warn{background:var(--warn-bg);box-shadow:0 0 0 1px var(--warn-line);color:var(--ink)}
.rvfw-msg.warn b{display:flex;gap:6px;align-items:center;color:var(--warn-ink)}
.rvfw-msg.warn b .ic{width:18px;height:18px}
.rvfw-gcard{margin-top:10px;padding:12px;border-radius:14px;background:var(--surface);box-shadow:0 0 0 1px var(--line)}
.rvfw-gcard .rvfw-gcat{display:inline-block;padding:4px 10px;border-radius:999px;background:var(--brand-soft);font:700 .7rem/1.2 var(--body);letter-spacing:.06em;text-transform:uppercase}
.rvfw-gcard strong{display:block;font:700 1rem/1.3 var(--display);letter-spacing:-.01em;margin:6px 0 10px}
.rvfw-gcard .row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.rvfw-gbtn{display:inline-flex;align-items:center;padding:9px 14px;border-radius:999px;background:var(--brand);color:var(--brand-ink)!important;font-weight:700;font-size:.88rem;text-decoration:none!important}
.rvfw-glink{font-weight:700;font-size:.88rem;color:var(--brand)!important;padding:9px 4px}
.rvfw-qr{display:flex;flex-wrap:wrap;gap:6px}
.rvfw-qr button,.rvfw-qr a{all:unset;cursor:pointer;display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;background:var(--surface);box-shadow:0 0 0 1px var(--line);font-size:.84rem;font-weight:600;line-height:1.3;color:var(--ink)}
.rvfw-qr button:hover,.rvfw-qr a:hover{background:var(--brand-soft)}
.rvfw-qr button:focus-visible,.rvfw-qr a:focus-visible{outline:3px solid var(--accent)}
.rvfw-typing{display:inline-flex;gap:4px;padding:14px}
.rvfw-typing i{width:7px;height:7px;border-radius:50%;background:var(--muted);opacity:.5}
@media (prefers-reduced-motion:no-preference){.rvfw-typing i{animation:rvfw-tdot 1s infinite}.rvfw-typing i:nth-child(2){animation-delay:.15s}.rvfw-typing i:nth-child(3){animation-delay:.3s}}
@keyframes rvfw-tdot{50%{transform:translateY(-4px);opacity:1}}
.rvfw-bot-f{display:flex;gap:8px;padding:10px 12px 12px;border-top:1px solid var(--line);margin:0}
.rvfw-bot-f input{flex:1;min-width:0;border:0;border-radius:999px;background:var(--surface-2);box-shadow:0 0 0 1px var(--line);padding:10px 14px;font:inherit;font-size:.94rem;color:var(--ink)}
.rvfw-bot-f button{all:unset;cursor:pointer;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--accent);color:var(--accent-ink)}
.rvfw-bot-f button:focus-visible{outline:3px solid var(--brand)}
.rvfw-bot-f button .ic{width:20px;height:20px}
.rvfw-bot-small{padding:0 14px 10px;margin:0;font-size:.72rem;color:var(--muted);line-height:1.4}
