/* Thea na cestách - web 1.3.6: chat „Zeptejte se Thei" */
.tc-launch,.tc{--tc-pink:#d63d6f;--tc-pink-txt:#c2325f;--tc-rose:#fde6ed;--tc-rose-2:#f9c9d6;--tc-ink:#33304a;--tc-muted:#5f5a75;--tc-line:#f1e4dc;--tc-cream:#fffaf4;font-family:'Nunito',system-ui,sans-serif}
.tc-launch{position:fixed;right:20px;bottom:20px;z-index:58;display:flex;align-items:center;gap:10px;border:0;border-radius:999px;background:#fff;color:var(--tc-ink);font:inherit;font-weight:800;font-size:16px;padding:6px 18px 6px 6px;box-shadow:0 10px 30px rgba(51,48,74,.22);cursor:pointer;transition:transform .2s}
.tc-launch:hover{transform:translateY(-2px)}
.tc-launch:focus-visible,.tc button:focus-visible,.tc a:focus-visible{outline:3px solid var(--tc-pink);outline-offset:2px}
.tc-launch img{width:46px;height:46px;border-radius:50%;object-fit:cover;background:var(--tc-rose);border:3px solid var(--tc-rose-2)}
.tc-launch .tc-dot{position:absolute;left:40px;top:6px;width:12px;height:12px;border-radius:50%;background:#2fb36b;border:2px solid #fff}
.tc-open .tc-launch{display:none}
body:has(.bp.open) .tc-launch{opacity:0;pointer-events:none}

.tc{position:fixed;right:20px;bottom:20px;z-index:70;width:390px;max-width:calc(100vw - 24px);height:min(620px,calc(100vh - 40px));height:min(620px,calc(100dvh - 40px));display:flex;flex-direction:column;background:var(--tc-cream);border-radius:24px;box-shadow:0 20px 60px rgba(51,48,74,.3);overflow:hidden;color:var(--tc-ink);font-size:15px;line-height:1.5;opacity:0;transform:translateY(20px) scale(.98);transition:opacity .2s,transform .25s}
.tc.on{opacity:1;transform:none}
.tc-head{display:flex;align-items:center;gap:12px;padding:12px 12px 12px 14px;background:#fff;border-bottom:1px solid var(--tc-line)}
.tc-head img{width:44px;height:44px;border-radius:50%;object-fit:cover;background:var(--tc-rose);border:3px solid var(--tc-rose-2);flex:none}
.tc-head b{display:block;font-size:17px;font-weight:900;line-height:1.2}
.tc-head small{display:block;color:var(--tc-muted);font-size:13px}
.tc-head .tc-sp{flex:1}
.tc-icon{border:0;background:none;color:var(--tc-muted);font:inherit;font-size:26px;line-height:1;cursor:pointer;padding:6px 8px;border-radius:10px}
.tc-icon:hover{background:var(--tc-rose)}
.tc-log{flex:1;overflow-y:auto;padding:14px 12px 6px;display:flex;flex-direction:column;gap:8px;overscroll-behavior:contain}
.tc-m{max-width:86%;padding:9px 13px;border-radius:18px;white-space:pre-wrap;word-wrap:break-word}
.tc-m.a{align-self:flex-start;background:#fff;border:1px solid var(--tc-line);border-bottom-left-radius:6px}
.tc-m.u{align-self:flex-end;background:var(--tc-pink);color:#fff;border-bottom-right-radius:6px}
.tc-m a{color:var(--tc-pink-txt);font-weight:700}
.tc-m.u a{color:#fff}
.tc-typing{display:inline-flex;gap:4px;padding:4px 2px}.tc-typing i{width:7px;height:7px;border-radius:50%;background:var(--tc-muted);opacity:.5;animation:tcb 1s infinite}
.tc-typing i:nth-child(2){animation-delay:.15s}.tc-typing i:nth-child(3){animation-delay:.3s}
@keyframes tcb{0%,80%,100%{transform:none;opacity:.35}40%{transform:translateY(-4px);opacity:.9}}
.tc-chips{display:flex;flex-wrap:wrap;gap:6px;align-self:stretch;margin:2px 0 4px}
.tc-chip{border:2px solid var(--tc-rose-2);background:#fff;color:var(--tc-ink);font:inherit;font-size:14px;font-weight:700;border-radius:999px;padding:6px 12px;cursor:pointer;text-align:left;line-height:1.3}
.tc-chip:hover{border-color:var(--tc-pink);background:var(--tc-rose)}
.tc-chip.q{border-radius:14px;font-weight:600}
.tc-chip.ghost{border-color:var(--tc-line);color:var(--tc-muted)}
.tc-chip.cta{background:var(--tc-pink);border-color:var(--tc-pink);color:#fff}
.tc-card{align-self:stretch;background:#fff;border:1px solid var(--tc-line);border-radius:18px;padding:12px;display:flex;flex-direction:column;gap:8px}
.tc-card b{font-size:15px}
.tc-card input[type=email],.tc-card input[type=text],.tc-card textarea{font:inherit;font-size:15px;padding:9px 11px;border:2px solid var(--tc-line);border-radius:12px;background:#fff;color:var(--tc-ink);width:100%;box-sizing:border-box}
.tc-card textarea{min-height:76px;resize:vertical}
.tc-card input:focus,.tc-card textarea:focus,.tc-in input:focus{outline:none;border-color:var(--tc-pink)}
.tc-card label.tc-ok{display:flex;gap:8px;align-items:flex-start;font-size:13px;color:var(--tc-muted)}
.tc-card label.tc-ok input{width:18px;height:18px;margin:1px 0 0;flex:none;accent-color:var(--tc-pink)}
.tc-card .tc-err{color:#b3261e;font-size:14px;margin:0}
.tc-btn{border:0;border-radius:999px;background:var(--tc-pink);color:#fff;font:inherit;font-weight:800;font-size:15px;padding:11px 18px;cursor:pointer}
.tc-btn:disabled{opacity:.6;cursor:default}
.tc-hp{position:absolute;left:-9999px;width:1px;height:1px}
.tc-in{display:flex;gap:8px;padding:10px 12px;background:#fff;border-top:1px solid var(--tc-line)}
.tc-in input{flex:1;min-width:0;font:inherit;font-size:16px;padding:11px 14px;border:2px solid var(--tc-line);border-radius:999px;background:#fff;color:var(--tc-ink)}
.tc-in button{flex:none;width:46px;height:46px;border:0;border-radius:50%;background:var(--tc-pink);color:#fff;font-size:20px;cursor:pointer}
.tc-in button:disabled{opacity:.5}
.tc-foot{display:flex;justify-content:center;gap:14px;padding:0 12px 10px;background:#fff;font-size:13px}
.tc-foot button{border:0;background:none;color:var(--tc-muted);font:inherit;text-decoration:underline;cursor:pointer;padding:2px}
@media(max-width:520px){
  .tc-launch{right:12px;bottom:12px;padding:5px}
  .tc-launch span{display:none}
  .tc{right:0;bottom:0;left:0;width:100%;max-width:none;height:100%;height:100dvh;border-radius:0}
}
@media(prefers-reduced-motion:reduce){.tc,.tc-launch{transition:none}.tc-typing i{animation:none}}
/* obrana proti obecným stylům stránek (form, input, section) */
.tc form.tc-in,.tc form.tc-card{flex:none;max-width:none;min-width:0;box-shadow:none;margin:0}
.tc form.tc-in{display:flex;flex-direction:row;gap:8px;padding:10px 12px;border-radius:0;background:#fff}
.tc form.tc-card{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:18px;background:#fff}
.tc .tc-log{flex:1 1 auto;min-height:0}
.tc .tc-in input[type=text]{min-height:46px;width:auto;flex:1;border-radius:999px;padding:10px 14px}
.tc .tc-card input[type=email],.tc .tc-card input[type=text]{min-height:44px;border-radius:12px;padding:9px 11px}
.tc input:focus{outline:none;border-color:var(--tc-pink)}
.tc[hidden],.tc-launch[hidden]{display:none!important}
.tc:not(.on){pointer-events:none}
