#ttalf { position:fixed; bottom:max(18px,env(safe-area-inset-bottom)); right:16px; z-index:99999; color:#19263b; font:15px/1.55 system-ui,sans-serif; }
#ttalf * { box-sizing:border-box; }
#ttalf [hidden] { display:none!important; }
#ttalf button,#ttalf a { cursor:pointer; font:inherit; text-transform:none; letter-spacing:normal; }
#ttalf button,#ttalf a,#ttalf input { border-radius:10px; }
#ttalf button { padding:8px 12px; color:#233953; background:#fff; border:1px solid #c9d4de; }
#ttalf [data-act=toggle],#ttalf form button { color:white; background:#174965; border:0; }
#ttalf [data-act=toggle] { display:block; margin-left:auto; border-radius:24px; padding:11px 18px; box-shadow:0 4px 18px #23384c30; }
#ttalf section { width:min(380px,calc(100vw - 32px)); background:white; margin-bottom:9px; border:1px solid #d7dfe4; border-radius:18px; overflow:hidden; box-shadow:0 12px 42px #1427392a; }
#ttalf header { display:flex; position:static; align-items:center; justify-content:space-between; background:#153b50; color:white; padding:14px 18px; height:auto; width:auto; }
#ttalf header small,#ttalf header strong { display:block; color:inherit; }
#ttalf header small { font-size:10px; letter-spacing:.12em; }
#ttalf header strong { font-size:18px; }
#ttalf header button { color:white; border:0; background:none; font-size:22px; }
#ttalf form { margin:0; padding:16px; }
#ttalf input { width:100%; min-width:0; height:42px; font:inherit; color:#19263b; background:white; border:1px solid #adbbc5; padding:8px 10px; }
#ttalf label { display:block; font-weight:600; }
#ttalf label input { margin-top:7px; }
#ttalf p { margin:8px 0 12px; }
#ttalf [role=status] { display:block; font-size:13px; margin-top:5px; }
#ttalf [role=log] { padding:12px; height:min(385px,48vh); overflow:auto; overscroll-behavior:contain; background:#f5f7f9; }
#ttalf [role=log] p { white-space:pre-line; overflow-wrap:anywhere; width:fit-content; max-width:94%; border-radius:12px; background:white; padding:9px 12px; }
#ttalf [role=log] .user { margin-left:auto; background:#dfedf2; }
#ttalf [role=log] a { display:inline-block; padding:8px 10px; background:#174965; color:white; margin-right:6px; }
#ttalf .ttalf-choices { display:grid; gap:5px; }
#ttalf .ttalf-choices button { text-align:left; }
#ttalf [data-form=ask] { display:flex; gap:6px; padding:10px; }
#ttalf [data-form=ask] button { flex:none; }
#ttalf :focus-visible { outline:2px solid #2487b6; outline-offset:1px; }
