.hg-ella-launcher{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:90;
  width:60px;
  height:60px;
  border-radius:50%;
  background:var(--navy,#07142f);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
  text-decoration:none;
  box-shadow:0 12px 28px #07142f2e;
}
.hg-ella-launcher img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
  display:block;
  overflow:hidden;
}
.hg-ella-launcher:after,
.hg-sales-ella-avatar-wrap:after{
  content:"";
  position:absolute;
  right:calc(14.65% - 7px);
  bottom:calc(14.65% - 7px);
  z-index:2;
  box-sizing:border-box;
  width:14px;
  height:14px;
  border-radius:50%;
  background:#22c55e;
  border:2px solid #fff;
  pointer-events:none;
  animation:hg-ella-online 2s ease-in-out infinite;
}
@keyframes hg-ella-online{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.45;transform:scale(.86)}
}
@media (prefers-reduced-motion:reduce){
  .hg-ella-launcher:after,
  .hg-sales-ella-avatar-wrap:after{
    animation:none;
    opacity:1;
    transform:none;
  }
}
body.obchodna-ella .hg-ella-launcher{display:none}
html:has(body.obchodna-ella){scroll-behavior:auto}

body.obchodna-ella.hg-mkt{
  min-height:100dvh;
  display:flex;
  flex-direction:column;
}
body.obchodna-ella.hg-mkt main.hg-sales-ella{
  flex:1 1 auto;
}

.hg-sales-ella{
  width:min(920px,calc(100% - 40px));
  margin:0 auto;
  padding:28px 0 48px;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.hg-sales-ella.is-empty{
  justify-content:center;
  box-sizing:border-box;
  min-height:calc(100dvh - 120px);
  padding-top:12px;
  padding-bottom:24px;
}
.hg-sales-ella.is-empty .hg-sales-ella-head{text-align:center}
.hg-sales-ella.is-empty .hg-sales-ella-id{justify-content:center}
.hg-sales-ella.is-empty .hg-sales-intro{margin-left:auto;margin-right:auto}
.hg-sales-ella.is-empty .hg-sales-transcript{display:none}
.hg-sales-ella:not(.is-empty) .hg-sales-intro{display:none}
.hg-sales-ella:not(.is-empty) .hg-sales-ella-head h1{font-size:1.45rem}
.hg-sales-ella:not(.is-empty) .hg-sales-transcript{
  flex:1;
  min-height:180px;
  width:90%;
  max-width:90%;
  margin-left:auto;
  margin-right:auto;
}
.hg-sales-ella-id{
  display:flex;
  align-items:center;
  gap:14px;
  margin:0 0 8px;
}
.hg-sales-ella-avatar-wrap{
  position:relative;
  overflow:visible;
  flex:none;
  width:48px;
  height:48px;
  display:block;
}
.hg-sales-ella-avatar{
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
  display:block;
  overflow:hidden;
}
.hg-sales-ella-head h1{
  margin:0;
  font-size:clamp(2rem,5vw,3rem);
  letter-spacing:-.04em;
  color:var(--navy,#07142f);
}
.hg-sales-ella-head{width:100%;max-width:920px}
.hg-sales-ella-head p{margin:0;color:var(--muted,#667087);line-height:1.5;max-width:100%}
.hg-sales-kicker{
  margin:0 0 8px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--pink,#f2124b);
}
.hg-sales-transcript{
  display:flex;
  flex-direction:column;
  gap:16px;
  width:100%;
  max-width:920px;
  box-sizing:border-box;
  padding:8px 0 4px;
}
.hg-sales-msg{
  max-width:100%;
  line-height:1.55;
  white-space:pre-wrap;
  scroll-margin-top:96px;
}
.hg-sales-msg.is-ella{
  background:none;
  border:0;
  border-radius:0;
  padding:2px 0;
  max-width:100%;
  color:var(--ink,#15223f);
  font-weight:500;
  white-space:normal;
}
.hg-sales-msg.is-ella p{margin:0 0 .65em}
.hg-sales-msg.is-ella p:last-child{margin-bottom:0}
.hg-sales-msg.is-ella ul{margin:.2em 0 .75em;padding-left:1.15em}
.hg-sales-msg.is-ella li{margin:0 0 .28em}
.hg-sales-msg.is-ella strong{font-weight:700}
.hg-sales-msg.is-ella a{color:var(--navy,#07142f)}
.hg-sales-msg.is-user{
  margin-left:auto;
  max-width:min(100%,720px);
  padding:12px 14px;
  border-radius:14px;
  background:var(--navy,#07142f);
  color:#fff;
  font-weight:450;
}
.hg-sales-msg.is-error{padding:12px 14px;border-radius:14px;background:#fff4f6;color:#9a1233;border:1px solid #ffd0db}
.hg-sales-typing{
  display:flex;
  align-items:center;
  gap:6px;
  height:28px;
  padding:6px 0 10px;
}
.hg-sales-typing span{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#8b95a8;
  animation:hg-sales-dot 1.05s infinite ease-in-out;
}
.hg-sales-typing span:nth-child(2){animation-delay:.16s}
.hg-sales-typing span:nth-child(3){animation-delay:.32s}
@keyframes hg-sales-dot{
  0%,70%,100%{transform:translateY(0);opacity:.35}
  35%{transform:translateY(-6px);opacity:1}
}
.hg-sales-sources{
  margin:10px 0 0;
  padding:0;
  list-style:none;
  font-size:.78rem;
  font-weight:450;
  line-height:1.45;
}
.hg-sales-sources li{margin:0}
.hg-sales-sources a{color:#8b95a8;text-decoration:underline;text-underline-offset:2px}
.hg-sales-composer{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:6px;
  width:100%;
  max-width:920px;
  box-sizing:border-box;
  margin:0 auto;
  padding:16px 14px 12px 18px;
  border:1px solid var(--line,#e4e8f0);
  border-radius:26px;
  background:#fff;
  box-shadow:0 1px 2px #07142f0a,0 10px 28px #07142f0c;
}
.hg-sales-ella:not(.is-empty) .hg-sales-composer{margin-top:auto}
.hg-sales-composer:focus-within{
  border-color:#d5dbe6;
  box-shadow:0 1px 2px #07142f0a,0 12px 32px #07142f14;
}
.hg-sales-sr{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.hg-sales-composer textarea{
  display:block;
  width:100%;
  box-sizing:border-box;
  border:0;
  border-radius:0;
  padding:2px 4px 0 0;
  margin:0;
  min-height:3.05em;
  max-height:calc(1.45em * 8);
  line-height:1.45;
  font:inherit;
  font-size:18px;
  font-weight:600;
  color:var(--ink,#15223f);
  background:transparent;
  resize:none;
  overflow-y:hidden;
  box-shadow:none;
  outline:none;
}
.hg-sales-composer textarea:focus{outline:none;box-shadow:none}
.hg-sales-composer textarea::placeholder{color:#8b95a8;font-weight:500}
.hg-sales-composer-bar{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}
.hg-sales-mic,.hg-sales-send{
  width:36px;
  height:36px;
  flex:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:0;
  border-radius:50%;
  line-height:0;
}
.hg-sales-mic{
  background:transparent;
  color:#667087;
  cursor:pointer;
}
.hg-sales-mic:hover{background:#f3f5f9;color:var(--navy,#07142f)}
.hg-sales-mic.is-listening{
  background:var(--pink,#f2124b);
  color:#fff;
  animation:hg-sales-mic-pulse 1.4s ease-in-out infinite;
}
@keyframes hg-sales-mic-pulse{
  0%,100%{box-shadow:0 0 0 0 #f2124b59}
  70%{box-shadow:0 0 0 8px #f2124b00}
}
.hg-sales-send{
  background:#e7ebf2;
  color:#9aa3b5;
  cursor:default;
}
.hg-sales-send.is-ready{
  background:var(--navy,#07142f);
  color:#fff;
  cursor:pointer;
}
.hg-sales-send.is-ready:hover{background:#122033}
.hg-sales-mic:focus-visible,.hg-sales-send:focus-visible{
  outline:2px solid var(--navy,#07142f);
  outline-offset:2px;
}
.hg-sales-composer.is-busy .hg-sales-send{opacity:.55;cursor:wait}
.hg-sales-dictation-note{
  margin:0;
  padding:0 2px 2px;
  font-size:.82rem;
  line-height:1.4;
  color:var(--muted,#667087);
}
.hg-sales-offer{
  display:inline-flex;
  align-items:center;
  margin-top:12px;
  border:0;
  border-radius:10px;
  background:var(--pink,#f2124b);
  color:#fff;
  font:inherit;
  font-weight:650;
  font-size:.95rem;
  line-height:1.2;
  padding:10px 16px;
  cursor:pointer;
}
.hg-sales-offer:hover{background:#e00042}
.hg-sales-offer:focus-visible{outline:2px solid var(--navy,#07142f);outline-offset:2px}
body.hg-sales-lead-open{overflow:hidden}
.hg-sales-lead{
  position:fixed;
  inset:0;
  z-index:220;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px 16px;
  background:rgba(7,20,47,.42);
  visibility:hidden;
  pointer-events:none;
  overflow:hidden;
}
.hg-sales-lead.is-on{
  visibility:visible;
  pointer-events:auto;
}
.hg-sales-lead-panel{
  position:relative;
  width:min(520px,100%);
  max-height:calc(100dvh - 48px);
  overflow:auto;
  box-sizing:border-box;
  padding:28px 28px 22px;
  border:1px solid var(--line,#e4e8f0);
  border-radius:24px;
  background:#fff;
  box-shadow:0 10px 28px #07142f12;
  color:var(--ink,#15223f);
}
.hg-sales-lead-close{
  position:absolute;
  top:14px;
  right:14px;
  width:36px;
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--navy,#07142f);
  cursor:pointer;
}
.hg-sales-lead-close:hover{background:#f4f6fa}
.hg-sales-lead-close:focus-visible{outline:2px solid var(--pink,#f2124b);outline-offset:2px}
.hg-sales-lead-title{
  margin:0 40px 6px 0;
  font-size:1.35rem;
  font-weight:650;
  line-height:1.2;
  letter-spacing:-.03em;
  text-transform:none;
  color:var(--navy,#07142f);
}
.hg-sales-lead-sub{
  margin:0 0 18px;
  max-width:38em;
  color:var(--muted,#667087);
  font-size:.95rem;
  font-weight:450;
  line-height:1.45;
}
.hg-sales-lead form{margin:0}
.hg-sales-lead-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 12px}
.hg-sales-lead label{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin:0;
  font-size:.78rem;
  font-weight:600;
  line-height:1.3;
  color:var(--muted,#667087);
}
.hg-sales-lead .is-wide{grid-column:1 / -1}
.hg-sales-lead input,.hg-sales-lead textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid #d5dbe6;
  border-radius:12px;
  padding:11px 13px;
  font:inherit;
  font-size:.95rem;
  font-weight:500;
  line-height:1.4;
  color:var(--ink,#15223f);
  background:#fff;
  box-shadow:none;
}
.hg-sales-lead textarea{min-height:96px;resize:vertical}
.hg-sales-lead input:focus,.hg-sales-lead textarea:focus{
  outline:none;
  border-color:var(--pink,#f2124b);
  box-shadow:0 0 0 3px #f2124b1f;
}
.hg-sales-lead .hg-sales-segment{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  padding:3px;
  border:1px solid var(--line,#e4e8f0);
  border-radius:12px;
  background:#f6f7fb;
}
.hg-sales-lead .hg-sales-segment label{
  position:relative;
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  gap:0;
  min-height:40px;
  padding:8px 12px;
  border-radius:9px;
  font-size:.9rem;
  font-weight:650;
  color:var(--muted,#667087);
  cursor:pointer;
}
.hg-sales-lead .hg-sales-segment input{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:transparent;
  opacity:0;
  cursor:pointer;
}
.hg-sales-lead .hg-sales-segment input:focus{
  border:0;
  box-shadow:none;
  outline:none;
}
.hg-sales-lead .hg-sales-segment label:has(input:checked){
  background:#fff;
  color:var(--navy,#07142f);
  box-shadow:0 1px 2px #07142f14;
}
.hg-sales-lead .hg-sales-segment label:focus-within{outline:2px solid var(--pink,#f2124b);outline-offset:2px}
.hg-sales-lead-send{
  display:flex;
  width:100%;
  align-items:center;
  justify-content:center;
  margin-top:16px;
  border:0;
  border-radius:12px;
  background:var(--pink,#f2124b);
  color:#fff;
  font:inherit;
  font-weight:700;
  font-size:1rem;
  line-height:1.2;
  padding:14px 18px;
  cursor:pointer;
}
.hg-sales-lead-send:hover{background:#e00042}
.hg-sales-lead-send:disabled{opacity:.6;cursor:wait}
.hg-sales-lead-send:focus-visible{outline:2px solid var(--navy,#07142f);outline-offset:2px}
.hg-sales-lead .hg-turnstile-slot{
  grid-column:1 / -1;
  min-height:68px;
  margin:2px 0 0;
  padding:0;
  background:transparent;
  border:0;
}
.hg-sales-status{margin:0;color:var(--muted,#667087);font-size:.92rem}
@media (max-width:700px){
  .hg-sales-ella{width:min(920px,calc(100% - 40px));padding-top:18px}
  .hg-sales-composer{padding:14px 12px 10px 14px;border-radius:22px}
  .hg-sales-lead{padding:12px;align-items:stretch}
  .hg-sales-lead-panel{
    width:100%;
    max-height:calc(100dvh - 24px);
    border-radius:20px;
    padding:22px 16px 16px;
  }
  .hg-sales-lead-grid{grid-template-columns:1fr}
  .hg-ella-launcher{right:12px;bottom:12px;width:52px;height:52px}
  .hg-sales-ella-avatar-wrap{width:40px;height:40px}
}
.hg-turnstile,.hg-turnstile-slot{
  min-height:70px;
  height:auto;
  line-height:normal;
  opacity:1;
  overflow:visible;
}
.hg-turnstile iframe{
  display:block;
  min-height:65px;
  opacity:1;
  visibility:visible;
}
.hg-sales-turnstile{
  flex:0 1 auto;
  min-height:0;
  margin:0;
  max-width:100%;
  line-height:normal;
}
.hg-sales-turnstile.is-hidden{
  display:none !important;
}
.hg-sales-turnstile.is-needed{
  display:block !important;
  flex:1 1 300px;
  width:auto;
  min-width:0;
  max-width:100%;
  height:auto !important;
  min-height:65px;
  margin-right:auto;
  overflow:visible !important;
  line-height:normal;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.hg-sales-turnstile.is-needed iframe{
  display:block;
  max-width:100%;
  min-height:65px;
  height:auto;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.hg-turnstile-slot{margin:4px 0 10px}
.hg-sales-lead .hg-turnstile-slot,.ec-sales-form .hg-turnstile-slot,.contact_form .hg-turnstile-slot{grid-column:1 / -1}
