/* TINQA (טינקה) - character, floating button, panel, cards, home placements */
.tqa-ava{display:block;position:relative;width:100%;height:100%;border-radius:50%;box-shadow:0 0 0 2px #fff,0 0 0 3.5px #39C6E0,0 5px 14px rgba(30,91,230,.28)}
.tqa-ava img{display:none;width:100%;height:100%;border-radius:50%;object-fit:cover}
.tqa-ava[data-s="listen"] .s-listen,.tqa-ava[data-s="check"] .s-check,.tqa-ava[data-s="ready"] .s-ready{display:block}
.tqa-big{display:block;width:100%;height:100%;border-radius:50%;box-shadow:0 0 0 4px #fff,0 0 0 7px #39C6E0,0 0 34px 6px rgba(57,198,224,.45),0 14px 30px rgba(30,91,230,.25)}
.tqa-big img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
@keyframes tqaBlink{0%{opacity:1}100%{opacity:1}}
@keyframes tqaFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes tqaPop{0%{transform:scale(.9);opacity:0}100%{transform:scale(1);opacity:1}}

/* floating button: character + name */
html body #ai-fab{width:auto;min-width:62px;height:64px;border-radius:999px;background:#fff;padding:0 18px 0 8px;gap:10px;box-shadow:0 14px 34px rgba(30,91,230,.28),0 0 0 1.5px rgba(47,107,255,.18);flex-direction:row-reverse;border:0}
html body #ai-fab .chat-i{display:none!important}
html body #ai-fab .tqa-fab-ava{width:46px;height:46px;flex:none;display:block;margin:0 4px 0 2px}
html body #ai-fab .tqa-fab-txt{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:right;line-height:1.1;color:#0A1B3D;font-family:'Heebo',Arial,sans-serif}
html body #ai-fab .tqa-fab-txt b{font-family:'Heebo',Arial,sans-serif;font-size:18px;font-weight:800;letter-spacing:0}
html body #ai-fab .tqa-fab-txt small{font-size:12px;font-weight:600;color:#46567a}
html body #ai-fab.open{width:62px;height:62px;padding:0;background:var(--grad);justify-content:center;box-shadow:none}
html body #ai-fab.open .tqa-fab-ava,html body #ai-fab.open .tqa-fab-txt{display:none}
@media(max-width:560px){html body #ai-fab .tqa-fab-txt small{font-size:11px}html body #ai-fab{padding:0 14px 0 6px;height:58px}html body #ai-fab .tqa-fab-ava{width:44px;height:44px}}

/* panel header */
.ai-head .ava{background:transparent!important;padding:0;width:46px!important;height:46px!important}
.ai-head .ava .tqa-ava{width:100%;height:100%}
.ai-head .htxt b{display:flex!important;align-items:center;gap:8px;flex-direction:row-reverse;justify-content:flex-end}
.tqa-chip{font-size:10.5px;font-weight:800;letter-spacing:.04em;background:rgba(255,255,255,.28);border-radius:999px;padding:2px 8px}
.ai-sugg button[data-i]{background:#E8F0FF}
.ai-wa{font-weight:700}

/* chips and cards inside the conversation */
.ai-msg.tqa-wide{max-width:94%;padding:0;background:transparent;box-shadow:none}
.tqa-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
.tqa-chips button{font:inherit;font-size:13px;font-weight:700;color:#1E5BE6;background:#E8F0FF;border:0;border-radius:999px;padding:7px 13px;cursor:pointer}
.tqa-chips button:hover{background:#D9E6FF}
.tqa-chips button:focus-visible,.tqa-card a:focus-visible,.tqa-card button:focus-visible,.tqa-new:focus-visible,.tqa-calc-link:focus-visible{outline:3px solid #1E5BE6;outline-offset:2px}
.tqa-card{background:#fff;border-radius:18px;box-shadow:0 10px 28px rgba(10,27,61,.14);padding:14px 16px;border:1px solid rgba(47,107,255,.16);animation:tqaPop .25s ease both}
.tqa-card-h{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.tqa-card-h b{font-size:16px;color:#0A1B3D}
.tqa-badge{font-size:11.5px;font-weight:800;color:#0B7A4B;background:#DDF7EA;border-radius:999px;padding:3px 10px}
.tqa-rows{display:grid;gap:6px;margin:6px 0 10px}
.tqa-rows>div{display:flex;justify-content:space-between;gap:10px;font-size:14px;color:#46567a}
.tqa-rows b{color:#0A1B3D;display:flex;align-items:center;gap:6px}
.tqa-coin{width:20px;height:20px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:12px;font-weight:800}
.tqa-primary{display:flex;align-items:center;justify-content:center;min-height:46px;border-radius:999px;background:linear-gradient(135deg,#2F6BFF,#39C6E0);color:#fff!important;font-weight:800;font-size:15px;text-decoration:none!important}
.tqa-sec{display:block;width:100%;margin-top:8px;min-height:40px;background:transparent;border:0;color:#1E5BE6;font:inherit;font-weight:700;font-size:14px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.tqa-note{margin:8px 0 0;font-size:12px;line-height:1.5;color:#6b7a96}

/* home: the "new" entry above the hero headline */
.tqa-new{display:inline-flex;align-items:center;gap:10px;margin:0 0 14px;padding:6px 8px 6px 16px;background:rgba(255,255,255,.86);border:1px solid rgba(47,107,255,.2);border-radius:999px;box-shadow:0 8px 22px rgba(30,91,230,.12);font:inherit;font-size:14px;font-weight:700;color:#0A1B3D;cursor:pointer;flex-direction:row-reverse}
.tqa-new .tqa-new-ava{width:34px;height:34px;flex:none}
.tqa-new b{font-weight:800;color:#1E5BE6;background:#E8F0FF;border-radius:999px;padding:6px 12px;font-size:13px}
@media(max-width:600px){.tqa-new{font-size:13px;margin-bottom:10px;padding:5px 6px 5px 12px}.tqa-new b{display:none}}

/* home: the AI section */
.tqa-hero-ava{width:150px;height:150px;margin:6px 0 20px 0;animation:tqaFloat 5s ease-in-out infinite}
.tqa-demo{margin-top:20px;max-width:420px;display:grid;gap:10px}
.tqa-demo .u{justify-self:end;background:linear-gradient(135deg,#2F6BFF,#39C6E0);color:#fff;border-radius:16px 16px 4px 16px;padding:10px 14px;font-size:15px}
.tqa-demo .b{justify-self:start;background:#fff;color:#0A1B3D;border-radius:16px 16px 16px 4px;padding:10px 14px;font-size:15px;box-shadow:0 6px 18px rgba(10,27,61,.1)}
.tqa-demo .tqa-card{max-width:340px}

/* calculator link */
.tqa-calc-link{display:flex;align-items:center;justify-content:center;gap:8px;margin:10px auto 0;padding:8px 14px;background:transparent;border:0;font:inherit;font-weight:800;font-size:15px;color:#1E5BE6;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.tqa-calc-link .tqa-xs{width:24px;height:24px;flex:none}

/* first-visit intro bubble keeps its place, only the text changes */
@media(prefers-reduced-motion:reduce){.tqa-ava .tqa-eyes,.tqa-hero-ava,.tqa-card{animation:none!important}}
html.a11y-nomotion .tqa-ava .tqa-eyes,html.a11y-nomotion .tqa-hero-ava,html.a11y-nomotion .tqa-card{animation:none!important}

/* extras: hero entry spacing, buy-page note */
html body main > .screen.hero .wrap.hero-grid > .reveal:not(.phone-wrap) > .tqa-new{margin:0 0 14px!important;align-self:flex-start}
@media(max-width:900px){html body main > .screen.hero .wrap.hero-grid > .reveal:not(.phone-wrap) > .tqa-new{align-self:center}}
.tqa-prefill{display:flex;align-items:center;gap:10px;margin:12px 0 0;padding:10px 14px;background:#E8F0FF;border-radius:14px;font-weight:700;color:#0A1B3D;font-size:15px}
.tqa-prefill .tqa-pre-ava{width:34px;height:34px;flex:none}

html body #ai-fab,html body #ai-fab *{font-family:'Heebo',Arial,sans-serif}
html body #ai-fab .tqa-fab-txt small{display:block;font-family:'Heebo',Arial,sans-serif;font-size:12px;font-weight:600;color:#46567a;margin-top:3px;white-space:nowrap}

/* panel header: everything written on the right, under the name */
.ai-head .htxt{text-align:right!important}
.ai-head .htxt b{display:block!important;text-align:right!important}
.ai-head .htxt > span{display:block!important;flex-direction:initial!important;justify-content:initial!important;text-align:right}
.ai-head .htxt .tqa-sub{display:block;font-size:13px;font-weight:600;opacity:.96;text-align:right;margin-top:1px}
.ai-head .htxt .tqa-stat{display:block;font-size:12px;font-weight:500;opacity:.92;text-align:right;margin-top:3px}
.ai-head .htxt .tqa-stat .dot{display:inline-block;margin:0 0 1px 6px;vertical-align:middle}

/* AI section: no large portrait; the phone shows the short old-style text without the example */
.tqa-hero-ava{display:none!important}
.tqa-mob{display:none}
@media(max-width:900px){.tqa-dsk{display:none}.tqa-mob{display:inline}.tqa-demo{display:none!important}}
