#ttai-root{--g:#174c3c;--g2:#0f3a2d;--gold:#c9a24a;--cream:#faf6ee;--line:#e6dfd0;--ink:#1d2622;position:fixed;right:20px;bottom:20px;z-index:2147483000;font:15px/1.45 "Work Sans",system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink)}
#ttai-root *{box-sizing:border-box}
#ttai-bubble{display:flex;align-items:center;gap:10px;background:var(--g);color:#fff;border:2px solid var(--gold);border-radius:999px;padding:12px 18px 12px 14px;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.22);font-weight:600;font-size:15px}
#ttai-bubble:hover{background:var(--g2)}
#ttai-bubble .dot{width:30px;height:30px;border-radius:50%;background:var(--gold);display:grid;place-items:center;color:var(--g);font-weight:800}
#ttai-panel{display:none;flex-direction:column;width:380px;max-width:calc(100vw - 24px);height:min(600px,calc(100vh - 40px));background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.28);border:1px solid var(--line)}
#ttai-root.open #ttai-panel{display:flex}#ttai-root.open #ttai-bubble{display:none}
.ttai-head{background:var(--g);color:#fff;padding:12px 14px;display:flex;align-items:center;gap:10px;border-bottom:3px solid var(--gold)}
.ttai-head .av{width:36px;height:36px;border-radius:50%;background:var(--gold);color:var(--g);display:grid;place-items:center;font-weight:800}
.ttai-head b{display:block;font-family:"Libre Caslon Text",Georgia,serif;font-size:16px}
.ttai-head small{opacity:.85;font-size:12px}
.ttai-head button{margin-left:auto;background:none;border:0;color:#fff;font-size:22px;cursor:pointer;line-height:1;padding:4px}
.ttai-chat{flex:1;overflow-y:auto;padding:14px;background:var(--cream);display:flex;flex-direction:column;gap:8px}
.ttai-m{max-width:86%;padding:9px 12px;border-radius:14px;white-space:pre-wrap;word-wrap:break-word}
.ttai-m.ai{background:#fff;border:1px solid var(--line);align-self:flex-start;border-bottom-left-radius:4px}
.ttai-m.me{background:var(--g);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.ttai-m.typing{color:#777;font-style:italic}
.ttai-offer{align-self:stretch;background:#fff;border:1px solid var(--line);border-left:4px solid var(--gold);border-radius:12px;padding:10px 12px}
.ttai-offer .t{display:flex;justify-content:space-between;gap:8px;font-weight:700;color:var(--g)}
.ttai-offer .p{color:#8a6a1f;white-space:nowrap}
.ttai-offer .w{margin:4px 0;font-size:13.5px}
.ttai-offer .d{margin:0 0 8px;font-size:12.5px;color:#555}
.ttai-offer a{display:inline-block;background:var(--g);color:#fff!important;text-decoration:none!important;border-radius:999px;padding:7px 14px;font-weight:600;font-size:13.5px}
.ttai-offer a:hover{background:var(--g2)}
.ttai-chips{display:flex;flex-wrap:wrap;gap:6px;padding:8px 12px 0;background:#fff}
.ttai-chips button{border:1px solid var(--g);background:#fff;color:var(--g);border-radius:999px;padding:5px 10px;font-size:12.5px;cursor:pointer}
.ttai-chips button:hover{background:var(--g);color:#fff}
.ttai-form{display:flex;gap:8px;padding:10px 12px;background:#fff;border-top:1px solid var(--line)}
.ttai-form input{flex:1;border:1px solid var(--line);border-radius:999px;padding:10px 14px;font:inherit;outline:none}
.ttai-form input:focus{border-color:var(--g)}
.ttai-form button{background:var(--gold);color:var(--g);border:0;border-radius:999px;padding:0 16px;font-weight:700;cursor:pointer}
.ttai-form button:disabled{opacity:.5}
.ttai-foot{font-size:11px;color:#888;text-align:center;padding:0 0 8px;background:#fff}
.ttai-open-btn{background:#174c3c;color:#fff;border:2px solid #c9a24a;border-radius:999px;padding:12px 22px;font-weight:600;font-size:16px;cursor:pointer}
.ttai-open-btn:hover{background:#0f3a2d}
@media (max-width:480px){#ttai-root{right:10px;bottom:10px}#ttai-panel{width:calc(100vw - 20px);height:calc(100vh - 20px)}}
