/* GETAN assistant - isolated visual component, independent from the contact modal */
#getan-assistant-root{position:fixed;bottom:16px;right:18px;z-index:2000;font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:#14334e;font-size:14px;line-height:1.45}
#getan-assistant-root *{box-sizing:border-box}
#getan-assistant-root .ga-fab{width:66px;height:66px;border:3px solid #fff;border-radius:50%;background:linear-gradient(140deg,#0a9e65,#0872be);color:#fff;box-shadow:0 6px 24px #00426a66;font-size:28px;cursor:pointer;display:flex;align-items:center;justify-content:center;position:relative}
#ga-fab-label{position:absolute;right:73px;top:13px;white-space:nowrap;background:#fff;border:1px solid #c5e0ed;padding:9px 12px;border-radius:14px;color:#075183;font-size:13px;font-weight:750;box-shadow:0 4px 14px #16384926;pointer-events:none}
#getan-assistant-root .ga-chat{width:min(390px,calc(100vw - 22px));height:min(625px,calc(100dvh - 105px));border-radius:22px;background:#fff;box-shadow:0 12px 55px #0b314e88;display:flex;flex-direction:column;overflow:hidden;border:1px solid #d0e6f0;margin-bottom:10px}
#getan-assistant-root .ga-chat[hidden]{display:none}
#getan-assistant-root .ga-header{padding:14px 16px;background:linear-gradient(120deg,#105b93,#078e71);color:#fff;display:flex;align-items:center;gap:10px}
#getan-assistant-root .ga-title{flex:1;min-width:0;font-size:16px;font-weight:800}
#getan-assistant-root .ga-sub{font-size:11px;opacity:.88;font-weight:400}
#getan-assistant-root .ga-close{font-size:26px;line-height:1;border:0;color:white;background:transparent;cursor:pointer;padding:4px 7px}
#getan-assistant-root .ga-messages{flex:1;overflow-y:auto;padding:15px;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain;background:#f6faff}
#getan-assistant-root .ga-message{padding:11px 13px;border-radius:15px;max-width:92%;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.5}
#getan-assistant-root .ga-bot{align-self:flex-start;background:#e5f0f8;color:#173a53;border-bottom-left-radius:5px}
#getan-assistant-root .ga-user{align-self:flex-end;background:#d6f3df;color:#16412a;border-bottom-right-radius:5px}
#getan-assistant-root .ga-chips{display:flex;flex-wrap:wrap;gap:6px;padding:9px 12px;background:#fff;max-height:125px;overflow:auto}
#getan-assistant-root .ga-chips button{cursor:pointer;border:1px solid #9fc8db;border-radius:15px;background:#f7fcff;color:#116092;font-size:12px;padding:7px 10px;font-weight:650}
#getan-assistant-root .ga-chips button:hover{background:#e6f5ff}
#getan-assistant-root .ga-form{display:flex;padding:10px;gap:8px;border-top:1px solid #dce8ef;background:#fff}
#getan-assistant-root .ga-input{width:100%;flex:1;min-width:0;max-height:110px;resize:none;border:1px solid #b6d2e4;border-radius:11px;padding:10px;font:inherit;font-size:14px;color:#102e4b}
#getan-assistant-root .ga-send{border:0;background:#087bad;border-radius:11px;padding:8px 13px;color:#fff;font-weight:700;cursor:pointer}
#getan-assistant-root .ga-footer{font-size:10px;color:#56718a;padding:4px 12px 9px;background:#fff;text-align:center}
#getan-assistant-root .ga-footer a{color:#125f94;text-decoration:underline}
#getan-assistant-root .ga-handoff{border-top:1px solid #dce8ef;background:#fff;padding:12px;display:flex;flex-direction:column;gap:9px}
#getan-assistant-root .ga-handoff[hidden]{display:none}
#getan-assistant-root .ga-submit{border:0;background:#07825c;color:white;border-radius:10px;padding:10px;font-weight:750;cursor:pointer}
#getan-assistant-root .ga-submit:disabled{opacity:.5;cursor:not-allowed}
#getan-assistant-root .ga-status{font-size:12px;color:#485c67;min-height:16px}
#getan-assistant-root .ga-verify{min-height:0}
@media(max-width:600px){#getan-assistant-root{bottom:10px;right:10px}#getan-assistant-root .ga-chat{width:min(390px,calc(100vw - 20px));height:min(610px,calc(100dvh - 95px));border-radius:17px}#getan-assistant-root .ga-fab{width:58px;height:58px}#ga-fab-label{display:none}}

#getan-assistant-root .ga-home{border:1px solid #ffffff88;background:#ffffff18;color:#fff;border-radius:9px;padding:6px 9px;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}#getan-assistant-root .ga-home:hover,#getan-assistant-root .ga-home:focus-visible{background:#ffffff35}#getan-assistant-root .ga-home:focus-visible{outline:2px solid #fff;outline-offset:2px}@media(max-width:380px){#getan-assistant-root .ga-header{padding:10px 9px;gap:5px}#getan-assistant-root .ga-home{font-size:11px;padding:5px 6px}#getan-assistant-root .ga-title{font-size:13px}}


/* GETAN v44: okno pomocníka je na mobilu pevně uvnitř viditelného viewportu. */
@media (max-width:800px){
  #getan-assistant-root{position:fixed;inset:0;width:100%;height:100%;max-width:100%;max-height:100%;margin:0;pointer-events:none;overflow:visible;z-index:2000}
  #getan-assistant-root .ga-fab{position:absolute;right:max(10px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom));pointer-events:auto}
  #getan-assistant-root .ga-chat{
    position:absolute;left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));
    bottom:calc(78px + env(safe-area-inset-bottom));
    width:auto;min-width:0;max-width:none;
    height:min(680px,calc(100dvh - 106px - env(safe-area-inset-bottom)));
    max-height:calc(100dvh - 106px - env(safe-area-inset-bottom));
    margin:0;border-radius:17px;pointer-events:auto;
  }
  #getan-assistant-root .ga-header{flex:0 0 auto;display:flex;min-width:0;gap:7px;padding:12px 10px;align-items:center}
  #getan-assistant-root .ga-header>span{flex:0 0 22px;width:22px;font-size:19px}
  #getan-assistant-root .ga-title{flex:1 1 auto;min-width:0;font-size:clamp(14px,3.9vw,17px);line-height:1.2;overflow-wrap:anywhere}
  #getan-assistant-root .ga-sub{font-size:clamp(10px,2.7vw,12px);line-height:1.35;margin-top:3px}
  #getan-assistant-root .ga-home{flex:0 0 auto;max-width:31%;min-width:0;font-size:clamp(10px,2.8vw,12px);padding:7px 6px;white-space:normal;line-height:1.2;text-align:center}
  #getan-assistant-root .ga-close{flex:0 0 36px;min-width:36px;width:36px;height:40px;display:grid;place-items:center;padding:0;font-size:27px}
  #getan-assistant-root .ga-messages{min-width:0;padding:12px;overflow-x:hidden}
  #getan-assistant-root .ga-message{max-width:100%;min-width:0;overflow-wrap:anywhere;word-break:normal}
  #getan-assistant-root .ga-chips{min-width:0;max-width:100%;max-height:105px;padding:8px;gap:6px}
  #getan-assistant-root .ga-chips button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
  #getan-assistant-root .ga-form{min-width:0;max-width:100%;gap:7px;padding:9px}
  #getan-assistant-root .ga-input{flex:1 1 0;min-width:0;width:0;font-size:16px}
  #getan-assistant-root .ga-send{flex:0 0 auto;padding:10px 12px;max-width:30%;font-size:13px;white-space:normal}
  #getan-assistant-root .ga-footer{min-width:0;max-width:100%;font-size:10px;overflow-wrap:anywhere;padding:6px 9px 9px}
  #getan-assistant-root .ga-handoff{min-width:0;overflow-x:hidden}
  #getan-assistant-root .ga-verify{max-width:100%;overflow:hidden}
}
@media (max-width:360px){
  #getan-assistant-root .ga-header{gap:4px;padding:10px 7px}
  #getan-assistant-root .ga-title{font-size:13px}
  #getan-assistant-root .ga-sub{font-size:10px}
  #getan-assistant-root .ga-home{max-width:29%;font-size:10px;padding:6px 4px}
  #getan-assistant-root .ga-close{flex-basis:32px;min-width:32px;width:32px}
}
