/* HSZ Adatlapok 0.9.138: Thermia csevegőablak (saját arculat, az ElevenLabs widget helyett) */
.thw{--k:#0079BA;--kd:#005A8C;--ink:#0A1D28;--ink2:#46596A;--hat:#F2F8FC;position:fixed;z-index:9990;right:20px;bottom:20px;display:flex;flex-direction:column;width:min(400px,calc(100vw - 32px));height:min(640px,calc(100vh - 40px));border-radius:24px;background:#fff;box-shadow:0 30px 80px -24px rgba(6,32,52,.45),0 0 0 1px rgba(10,29,40,.06);overflow:hidden;color:var(--ink);font-family:"HSZ Poppins",Poppins,system-ui,sans-serif;opacity:0;transform:translateY(12px) scale(.98);transform-origin:100% 100%;transition:opacity .2s,transform .25s cubic-bezier(.22,.8,.24,1)}
.thw[hidden]{display:none}
.thw.be{opacity:1;transform:none}
.thw *{box-sizing:border-box}
.thw .screen-reader-text{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.thw button{font-family:inherit}
.thw :is(a,button,textarea):focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.thw .hsz-thj{display:block;width:100%;height:100%}

/* fejléc */
.thw-fej{display:flex;align-items:center;gap:12px;padding:14px 12px 14px 16px;background:linear-gradient(135deg,#0079BA,#005A8C);color:#fff}
.thw-jel{flex:none;display:block;width:40px;height:40px;border-radius:12px;overflow:hidden;box-shadow:0 0 0 2px rgba(255,255,255,.3)}
.thw-jel.nagy{width:64px;height:64px;border-radius:18px;box-shadow:0 14px 30px -14px rgba(0,40,70,.6)}
.thw-nev{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.25}
.thw-nev b{font-size:16.5px;font-weight:600}
.thw-nev span{overflow:hidden;font-size:13px;color:rgba(255,255,255,.9);text-overflow:ellipsis;white-space:nowrap}
.thw .thw-hivg{flex:none;display:inline-flex;align-items:center;gap:6px;height:36px;margin:0;padding:0 12px 0 10px;border:0;border-radius:999px;background:#fff;color:var(--kd);font-size:13.5px;font-weight:500;cursor:pointer;transition:background .2s}
.thw-hivg svg{width:16px;height:16px;fill:currentColor}
.thw .thw-hivg:hover{background:#E4F1F9}
.thw .thw-x{flex:none;display:grid;place-items:center;width:36px;height:36px;margin:0;padding:0;border:0;border-radius:50%;background:none;color:#fff;cursor:pointer}
.thw-x svg{width:20px;height:20px;fill:currentColor}
.thw .thw-x:hover{background:rgba(255,255,255,.14)}

/* üzenetek */
.thw-tor{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px;display:flex;flex-direction:column;gap:8px;background:#fff}
.thw-intro{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:auto 0 4px}
.thw-intro .thw-jel{margin-bottom:8px}
.thw .thw-intro p{margin:0;font-size:15px;line-height:1.55;color:var(--ink2)}
.thw .thw-intro p.thw-ic{font-size:20px;font-weight:600;line-height:1.25;color:var(--ink)}
.thw-pll{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.thw .thw-pl{margin:0;padding:8px 12px;border:0;border-radius:14px 14px 14px 4px;background:var(--hat);box-shadow:inset 0 0 0 1px #D9E6EF;color:var(--ink);font-size:14px;line-height:1.35;text-align:left;cursor:pointer;transition:box-shadow .2s,color .2s}
.thw .thw-pl:hover{box-shadow:inset 0 0 0 1.5px var(--k);color:var(--kd)}
.thw-b{max-width:86%;padding:10px 14px;border-radius:18px;font-size:15px;line-height:1.5;overflow-wrap:anywhere;animation:thw-be .22s ease-out}
@keyframes thw-be{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.thw-b.ai{align-self:flex-start;border-bottom-left-radius:6px;background:var(--hat);color:var(--ink)}
.thw-b.en{align-self:flex-end;border-bottom-right-radius:6px;background:var(--k);color:#fff}
.thw-b a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.thw-b.ai a{color:var(--kd)}
.thw-gep{display:inline-flex;gap:4px;padding:14px 16px}
.thw-gep i{width:7px;height:7px;border-radius:50%;background:#7FA9C4;animation:thw-pont 1.2s infinite ease-in-out}
.thw-gep i:nth-child(2){animation-delay:.15s}.thw-gep i:nth-child(3){animation-delay:.3s}
@keyframes thw-pont{0%,60%,100%{opacity:.35;transform:none}30%{opacity:1;transform:translateY(-3px)}}
.thw .thw-r{margin:4px 0;padding:10px 12px;border-radius:12px;background:#F4F6F8;font-size:13.5px;line-height:1.5;color:var(--ink2)}
.thw-r a{color:var(--kd)}

/* beviteli sor */
.thw-also{display:flex;align-items:flex-end;gap:8px;margin:0;padding:10px 12px 8px;border-top:1px solid #E7EEF3;background:#fff}
.thw .thw-also textarea{flex:1;min-width:0;min-height:44px;max-height:120px;margin:0;padding:11px 14px;border:0;border-radius:14px;background:var(--hat);box-shadow:inset 0 0 0 1px #D9E6EF;color:var(--ink);font:400 15px/1.45 "HSZ Poppins",Poppins,sans-serif;resize:none;outline:0}
.thw .thw-also textarea:focus{background:#fff;box-shadow:inset 0 0 0 1.5px var(--k)}
.thw .thw-also textarea::placeholder{color:#6F8392;opacity:1}
.thw .thw-kuld{flex:none;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:14px;background:var(--k);color:#fff;cursor:pointer;transition:background .2s}
.thw-kuld svg{width:20px;height:20px;fill:currentColor}
.thw .thw-kuld:hover{background:var(--kd)}
.thw .thw-labj{margin:0;padding:0 16px 12px;font-size:12.5px;line-height:1.5;color:#5F7381}
.thw-labj a{color:#46596A;text-decoration:underline;text-underline-offset:3px}

/* élő hívás */
.thw-hivas{position:absolute;inset:68px 0 0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:24px;background:linear-gradient(180deg,#F2F8FC,#fff 70%);text-align:center}
.thw-hivas[hidden]{display:none}
.thw-orb{--hv:0;position:relative;display:grid;place-items:center;width:168px;height:168px;margin-bottom:12px}
.thw-orb::before,.thw-orb::after{content:"";position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle,rgba(0,121,186,.22),rgba(0,121,186,0) 70%);transform:scale(calc(.72 + var(--hv) * .5));transition:transform .12s linear}
.thw-orb::after{inset:24px;background:rgba(0,121,186,.12);transform:scale(calc(.9 + var(--hv) * .3))}
.thw-orb .thw-jel{position:relative;z-index:1;width:84px;height:84px;border-radius:24px}
.thw-hivas.ind .thw-orb::before{animation:thw-lel 1.6s ease-in-out infinite}
@keyframes thw-lel{50%{transform:scale(.9)}}
.thw .thw-hc{margin:0;font-size:19px;font-weight:600}
.thw .thw-ha{margin:0;min-height:22px;font-size:14.5px;color:var(--ink2)}
.thw-hg{display:flex;gap:16px;margin-top:20px}
.thw .thw-kor{display:grid;place-items:center;width:60px;height:60px;margin:0;padding:0;border:0;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 1.5px #D2DEE6;color:var(--ink);cursor:pointer;transition:background .2s,box-shadow .2s}
.thw-kor svg{width:26px;height:26px;fill:currentColor}
.thw .thw-kor[aria-pressed="true"]{background:var(--ink);box-shadow:none;color:#fff}
.thw .thw-kor.piros{background:#C62828;box-shadow:none;color:#fff}
.thw .thw-kor.piros:hover{background:#A31F1F}
.thw .thw-hm{margin:16px 0 0;max-width:260px;font-size:12.5px;line-height:1.5;color:#5F7381}

/* lebegő gomb elrejtése nyitott ablaknál; mobil */
html.thw-nyitva .h31-fab-w{display:none}
@media (max-width:600px){
  .thw{right:0;bottom:0;width:100vw;height:100dvh;max-height:none;border-radius:0}
  .thw-hivas{inset:68px 0 0}
  .thw .thw-hivg span{display:none}
  .thw .thw-hivg{width:40px;padding:0;justify-content:center}
}
@media (prefers-reduced-motion:reduce){.thw,.thw-b{transition:none;animation:none}.thw-gep i,.thw-hivas.ind .thw-orb::before{animation:none}.thw-orb::before,.thw-orb::after{transition:none}}
.thw.hivasban .thw-hivg{visibility:hidden}
