/* Tavaana support assistant (tot-support.php) — phone first, light, RTL and LTR. */
#tot-ai{position:fixed;inset-inline-end:16px;bottom:16px;z-index:9990;font-size:15px;line-height:1.55}
#tot-ai-btn{width:58px;height:58px;border-radius:50%;border:2px solid #fff;background:linear-gradient(135deg,#B08B53,#E2C48E);color:#0E2144;font-size:26px;box-shadow:0 6px 18px rgba(0,0,0,.3);cursor:pointer;display:flex;align-items:center;justify-content:center}
#tot-ai-btn:focus-visible{outline:3px solid #0b5cad;outline-offset:2px}
#tot-ai-btn.is-pulse{animation:ts-pulse 1.6s ease-in-out 3}
@keyframes ts-pulse{0%,100%{box-shadow:0 6px 18px rgba(0,0,0,.3)}50%{box-shadow:0 0 0 10px rgba(226,196,142,.45)}}
@media (prefers-reduced-motion:reduce){#tot-ai-btn.is-pulse{animation:none}}
#tot-ai-panel{position:absolute;inset-inline-end:0;bottom:68px;width:min(390px,calc(100vw - 24px));max-height:min(78vh,660px);display:flex;flex-direction:column;background:#fff;color:#14202e;border-radius:16px;box-shadow:0 12px 36px rgba(0,0,0,.3);overflow:hidden}
#tot-ai-panel[hidden]{display:none}
#tot-ai .ts-head{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#0E2144;color:#f3d390}
#tot-ai .ts-head b{font-size:16px}
#tot-ai .ts-x{border:0;background:none;color:#fff;font-size:26px;min-width:44px;min-height:44px;cursor:pointer}
#tot-ai .ts-log{flex:1 1 auto;overflow:auto;padding:10px 12px;background:#f5f7fa;min-height:120px;position:relative}
#tot-ai .ts-msg{margin:6px 0;display:flex}
#tot-ai .ts-msg>*{max-width:92%;border-radius:12px;padding:8px 10px;margin:0}
#tot-ai .ts-bot>*{background:#fff;border:1px solid #e3e8ee}
#tot-ai .ts-you{justify-content:flex-end}
#tot-ai .ts-you>*{background:#0E2144;color:#fff}
#tot-ai .ts-ans h4{margin:2px 0 6px;font-size:15px;line-height:1.5;color:#0E2144!important;font-weight:800}
#tot-ai .ts-ans p,#tot-ai .ts-ans ol{margin:4px 0}
#tot-ai .ts-ans ol{padding-inline-start:20px}
#tot-ai .ts-ans li{margin:3px 0}
#tot-ai .ts-lead{color:#a4262c;font-weight:700}
#tot-ai .ts-route{background:#fff7e6;border-radius:8px;padding:6px 8px;font-weight:600}
#tot-ai .ts-pics{display:flex;gap:6px;overflow-x:auto;margin:6px 0;padding-bottom:4px}
#tot-ai .ts-pics img{width:150px;height:auto;border-radius:8px;border:1px solid #d6dde6;display:block}
#tot-ai .ts-vid{width:100%;max-height:52vh;border-radius:8px;background:#000;margin:6px 0}
#tot-ai .ts-tools,#tot-ai .ts-fb{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:6px}
#tot-ai .ts-open{display:inline-flex;align-items:center;min-height:40px;padding:0 12px;border-radius:10px;background:#0E2144;color:#fff!important;text-decoration:none;font-weight:700}
#tot-ai .ts-open--route{background:#B08B53;color:#0E2144!important;margin:4px 0}
#tot-ai .ts-small{min-height:38px;padding:0 10px;border:1px solid #c9d1da;border-radius:10px;background:#fff;color:#14202e;cursor:pointer;font:inherit}
#tot-ai .ts-video{background:#e3142c;color:#fff;border-color:#e3142c;font-weight:700}
#tot-ai .ts-yt{margin-inline-start:8px;color:#0b5cad;font-size:13px}
#tot-ai .ts-chips{display:flex;gap:6px;overflow-x:auto;padding:8px 10px;border-top:1px solid #eef1f4;background:#fff;flex:0 0 auto}
#tot-ai .ts-chip{flex:0 0 auto;max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:38px;padding:0 12px;border:1px solid #B08B53;border-radius:999px;background:#fffaf0;color:#0E2144;cursor:pointer;font:inherit;font-size:14px}
#tot-ai .ts-in{display:flex;gap:6px;padding:8px 10px;border-top:1px solid #eef1f4;background:#fff;flex:0 0 auto}
#tot-ai .ts-in input{flex:1 1 auto;min-width:0;min-height:48px;padding:6px 10px;border:1px solid #c9d1da;border-radius:12px;font:inherit}
#tot-ai .ts-mic{flex:0 0 auto;width:52px;height:52px;border-radius:50%;border:0;background:#e3142c;color:#fff;font-size:24px;cursor:pointer;box-shadow:0 3px 10px rgba(227,20,44,.35)}
#tot-ai .ts-mic.is-on{animation:ts-pulse 1s ease-in-out infinite;background:#a4101f}
#tot-ai .ts-go{flex:0 0 auto;width:48px;border:0;border-radius:12px;background:#0E2144;color:#fff;font-size:18px;cursor:pointer}
#tot-ai[dir=rtl] .ts-go{transform:scaleX(-1)}
#tot-ai .ts-doors{display:flex;flex-wrap:wrap;gap:6px;padding:6px 10px 0;background:#fff}
#tot-ai .ts-door{flex:1 1 auto;text-align:center;min-height:40px;line-height:40px;padding:0 10px;border-radius:10px;background:#eef3f8;color:#0E2144!important;text-decoration:none;font-weight:700;font-size:14px}
#tot-ai .ts-note,#tot-ai .ts-safe{margin:4px 10px;font-size:12px;color:#5b6470}
#tot-ai .ts-rep{padding:4px 10px;background:#fff}
#tot-ai .ts-rep summary{cursor:pointer;min-height:36px;color:#a4262c;font-weight:700}
#tot-ai .ts-rep textarea{width:100%;box-sizing:border-box;margin:4px 0;border:1px solid #c9d1da;border-radius:8px;padding:8px;font:inherit}
#tot-ai .ts-rep button{min-height:40px;padding:0 14px;border:0;border-radius:8px;background:#0E2144;color:#fff;font-weight:700;cursor:pointer}
#tot-ai .ts-ok{color:#1b7f3b;font-weight:600}
#tot-ai .ts-bubble{position:absolute;inset-inline-end:0;bottom:68px;width:min(260px,calc(100vw - 40px));display:flex;align-items:flex-start;background:#fff;border:2px solid #B08B53;border-radius:14px;box-shadow:0 8px 24px rgba(0,0,0,.25)}
#tot-ai .ts-bubble__t{flex:1 1 auto;border:0;background:none;text-align:start;padding:10px 12px;font:inherit;font-weight:600;color:#0E2144;cursor:pointer}
#tot-ai .ts-bubble__x{border:0;background:none;font-size:22px;min-width:40px;min-height:40px;cursor:pointer;color:#5b6470}
@media (max-width:420px){#tot-ai-panel{max-height:calc(100vh - 150px)}}
#tot-ai .ts-vrow{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:space-between;padding:0 10px 6px;background:#fff}
#tot-ai .ts-left{font-size:12px;color:#5b6470}
#tot-ai .ts-callai{min-height:40px;padding:0 12px;border:0;border-radius:999px;background:#1b7f3b;color:#fff;font-weight:700;cursor:pointer;font:inherit;font-weight:700}
#tot-ai .ts-callbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;background:#1b7f3b;color:#fff;font-weight:700}
#tot-ai .ts-hang{min-height:40px;padding:0 14px;border:0;border-radius:999px;background:#e3142c;color:#fff;font-weight:700;cursor:pointer;font:inherit}
