/* "Pitaj nas" (js/faq-bot.js) — na svim stranicama. Mobile first: gumb iznad donjih traka,
   prozor kao donji list; na desktopu mali prozor dolje desno. */
.tpbot-fab{position:fixed;right:14px;bottom:calc(86px + env(safe-area-inset-bottom));z-index:440;display:inline-flex;align-items:center;justify-content:center;gap:8px;width:54px;height:54px;padding:0;border:1px solid rgba(236,227,212,.18);border-radius:50%;background:var(--terra-deep,#8c2d1a);color:var(--bone,#ece3d4);box-shadow:0 10px 26px -8px rgba(0,0,0,.7);cursor:pointer;transition:transform .25s var(--ease,ease),background .2s}
.tpbot-fab svg{width:24px;height:24px;fill:currentColor}
.tpbot-fab svg circle{fill:var(--terra-deep,#8c2d1a)}
.tpbot-fab span{display:none;font-family:var(--mono,monospace);font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.tpbot-fab:hover{transform:translateY(-2px);background:#a3361f}
.tpbot-fab:focus-visible{outline:2px solid var(--clay,#dd8a5b);outline-offset:3px}
.tpbot-open .tpbot-fab{opacity:0;pointer-events:none}
@media(min-width:920px){
  .tpbot-fab{right:22px;bottom:22px;width:auto;height:48px;padding:0 18px;border-radius:999px}
  .tpbot-fab span{display:inline}
  .tpbot-open .tpbot-fab{opacity:1;pointer-events:auto}
}

.tpbot{position:fixed;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));z-index:460;display:flex;flex-direction:column;max-height:min(80vh,640px);height:min(80vh,640px);background:#16110e;border:1px solid rgba(236,227,212,.14);border-radius:16px;box-shadow:0 24px 60px -12px rgba(0,0,0,.8);overflow:hidden;animation:tpbotIn .22s var(--ease,ease)}
.tpbot[hidden]{display:none}
@keyframes tpbotIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(min-width:920px){.tpbot{left:auto;right:22px;bottom:82px;width:390px;height:min(76vh,600px)}}

.tpbot__h{display:flex;align-items:center;gap:12px;padding:12px 12px 12px 14px;border-bottom:1px solid rgba(236,227,212,.1);background:#1d1612}
.tpbot__av{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--terra-deep,#8c2d1a);font-family:var(--display,sans-serif);font-size:.95rem;color:var(--bone,#ece3d4);flex-shrink:0}
.tpbot__h div{flex:1;min-width:0}
.tpbot__h b{display:block;font-family:var(--display,sans-serif);font-weight:400;text-transform:uppercase;font-size:1.2rem;line-height:1}
.tpbot__h small{display:block;margin-top:3px;font-family:var(--mono,monospace);font-size:.58rem;text-transform:uppercase;letter-spacing:.08em;color:var(--bone-dim,#a99e8b)}
.tpbot__x{width:44px;height:44px;border:0;background:none;color:var(--bone,#ece3d4);font-size:1.2rem;cursor:pointer;border-radius:8px}
.tpbot__x:hover{background:rgba(236,227,212,.08)}

.tpbot__log{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:14px 12px;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth}
.tpbot__m{max-width:92%;padding:10px 13px;border-radius:14px;font-size:.92rem;line-height:1.5;color:var(--bone,#ece3d4);overflow-wrap:anywhere}
.tpbot__m p+p{margin-top:8px}
.tpbot__m--bot{align-self:flex-start;background:#241c17;border:1px solid rgba(236,227,212,.08);border-bottom-left-radius:4px}
.tpbot__m--me{align-self:flex-end;background:var(--terra-deep,#8c2d1a);border-bottom-right-radius:4px}
.tpbot__m b{font-weight:700}
.tpbot__m a{color:var(--clay,#dd8a5b);text-decoration:underline;text-underline-offset:2px}
.tpbot__q{font-family:var(--mono,monospace);font-size:.62rem;text-transform:uppercase;letter-spacing:.08em;color:var(--clay,#dd8a5b)}
.tpbot__more{font-size:.8rem}
.tpbot__rel{margin-top:10px!important;font-size:.78rem;color:var(--bone-dim,#a99e8b)}
.tpbot__chips{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-top:8px}
.tpbot__chips button{max-width:100%;min-height:36px;padding:7px 12px;text-align:left;background:none;border:1px solid rgba(221,138,91,.45);border-radius:14px;color:var(--bone,#ece3d4);font-family:var(--body,sans-serif);font-size:.84rem;line-height:1.3;cursor:pointer;transition:background .2s,border-color .2s}
.tpbot__chips button:hover{background:rgba(221,138,91,.12);border-color:var(--clay,#dd8a5b)}
.tpbot__acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px!important}
.tpbot__btn{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:8px;background:var(--terra-deep,#8c2d1a);color:var(--bone,#ece3d4)!important;text-decoration:none!important;font-family:var(--mono,monospace);font-size:.66rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.tpbot__btn--ghost{background:none;border:1px solid rgba(236,227,212,.3)}

.tpbot__f{display:flex;gap:8px;padding:10px 12px;border-top:1px solid rgba(236,227,212,.1);background:#1d1612}
.tpbot__f input{flex:1;min-width:0;min-height:46px;padding:0 14px;background:#100d0b;border:1px solid rgba(236,227,212,.14);border-radius:23px;color:var(--bone,#ece3d4);font-family:var(--body,sans-serif);font-size:16px}
.tpbot__f input:focus{outline:none;border-color:var(--clay,#dd8a5b)}
.tpbot__f button{width:46px;height:46px;flex-shrink:0;border:0;border-radius:50%;background:var(--terra-deep,#8c2d1a);color:var(--bone,#ece3d4);cursor:pointer;display:grid;place-items:center}
.tpbot__f button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.tpbot__note{padding:0 14px 10px;background:#1d1612;font-size:.7rem;color:var(--bone-dim,#a99e8b)}
.tpbot__note a{color:var(--bone-dim,#a99e8b);text-decoration:underline}
.tpbot__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(prefers-reduced-motion:reduce){.tpbot,.tpbot-fab{animation:none;transition:none}}
