.faq-launcher { position: fixed; right: 24px; bottom: 24px; z-index: 120; width: 64px; height: 64px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 2px solid rgba(255,255,255,.86); border-radius: 22px 22px 7px 22px; background: linear-gradient(145deg,#1475ff,#064bb7); color: #fff; box-shadow: 0 16px 40px rgba(4,25,58,.3),inset 0 1px 0 rgba(255,255,255,.28); cursor: pointer; transition: transform .2s ease,background .2s ease,box-shadow .2s ease; }
.faq-robot { width: 46px; height: 46px; display: block; filter: drop-shadow(0 4px 5px rgba(0,22,67,.2)); }
.faq-robot svg { width: 100%; height: 100%; overflow: visible; }
.faq-robot__head { fill: #fff; stroke: #dcecff; stroke-width: 1.5; }
.faq-robot__antenna,.faq-robot__ear,.faq-robot__smile,.faq-robot__base { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.faq-robot__eye { fill: #0b66ff; transform-box: fill-box; transform-origin: center; animation: faq-blink 4s ease-in-out infinite; }
.faq-robot__smile { stroke: #0b66ff; stroke-width: 2; }
.faq-launcher:hover { transform: translateY(-3px) scale(1.03); background: linear-gradient(145deg,#2d84ff,#073d92); box-shadow: 0 20px 46px rgba(4,25,58,.36),inset 0 1px 0 rgba(255,255,255,.3); }
.faq-launcher:focus-visible,.faq-close:focus-visible,.faq-chip:focus-visible,.faq-form button:focus-visible,.faq-form input:focus-visible { outline: 3px solid #8fc1ff; outline-offset: 3px; }
.faq-panel { position: fixed; right: 24px; bottom: 88px; z-index: 121; width: min(390px,calc(100vw - 32px)); max-height: min(650px,calc(100vh - 120px)); display: grid; grid-template-rows: auto minmax(160px,1fr) auto auto; overflow: hidden; border: 1px solid #d4dfe9; border-radius: 20px; background: #fff; box-shadow: 0 28px 80px rgba(3,19,41,.28); transform-origin: bottom right; }
.faq-panel[hidden] { display: none; }
.faq-header { padding: 18px 18px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #071d3d; color: #fff; }
.faq-header div { display: grid; gap: 3px; }
.faq-header strong { font: 700 1rem Space Grotesk,sans-serif; }
.faq-header span { color: #aebed0; font-size: .72rem; }
.faq-close { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 1.15rem; cursor: pointer; }
.faq-messages { overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: #f5f8fb; }
.faq-message { max-width: 88%; padding: 11px 13px; border-radius: 14px; font-size: .84rem; line-height: 1.55; }
.faq-message--bot { align-self: flex-start; border: 1px solid #dbe4ec; border-bottom-left-radius: 4px; background: #fff; color: #2c4053; }
.faq-message--user { align-self: flex-end; border-bottom-right-radius: 4px; background: #0b66ff; color: #fff; }
.faq-message a { display: inline-block; margin-top: 8px; color: #0b58d8; font-weight: 800; text-decoration: underline; }
.faq-typing { display: inline-flex; align-items: center; gap: 5px; width: 62px; min-height: 38px; }
.faq-typing span { width: 6px; height: 6px; border-radius: 50%; background: #6d8295; animation: faq-dot 1.1s ease-in-out infinite; }
.faq-typing span:nth-child(2) { animation-delay: .15s; }
.faq-typing span:nth-child(3) { animation-delay: .3s; }
.faq-quick { padding: 12px 14px; display: flex; gap: 7px; overflow-x: auto; border-top: 1px solid #e0e7ed; background: #fff; scrollbar-width: thin; }
.faq-chip { flex: 0 0 auto; padding: 8px 11px; border: 1px solid #c9d7e3; border-radius: 999px; background: #fff; color: #173958; font: 700 .72rem Manrope,sans-serif; cursor: pointer; }
.faq-chip:hover { border-color: #0b66ff; color: #0b58d8; }
.faq-form { padding: 12px; display: grid; grid-template-columns: 1fr auto; gap: 8px; border-top: 1px solid #e0e7ed; background: #fff; }
.faq-form input { min-width: 0; height: 44px; padding: 0 12px; border: 1px solid #c7d5e1; border-radius: 10px; color: #172d41; font: 500 .86rem Manrope,sans-serif; }
.faq-form button { width: 44px; height: 44px; border: 0; border-radius: 10px; background: #0b66ff; color: #fff; font-size: 1.1rem; cursor: pointer; }
@media (max-width: 620px) { .faq-launcher { right: 16px; bottom: 16px; } .faq-panel { right: 16px; bottom: 78px; max-height: calc(100vh - 100px); } }
@keyframes faq-dot { 0%,60%,100% { opacity: .4; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
@keyframes faq-blink { 0%,44%,48%,100% { transform: scaleY(1); } 46% { transform: scaleY(.12); } }
@media (prefers-reduced-motion: reduce) { .faq-launcher { transition: none; } .faq-robot__eye,.faq-typing span { animation: none; opacity: 1; } }
