.tca-faq,.tf-tabs{--tf-purple:#493477;--tf-red:#ce1327;--tf-gold:#ffdf00;--tf-line:#e6dff0;--tf-muted:#70667d;font-family:inherit;font-size:14px;line-height:1.5;color:#302a3d}.tca-faq *{box-sizing:border-box}.tca-faq [hidden]{display:none!important}.tca-faq button,.tca-faq input{font:inherit;letter-spacing:normal;text-transform:none}.tca-faq button{cursor:pointer}.tca-faq :focus-visible,.tf-tabs :focus-visible{outline:2px solid #493477;outline-offset:3px}.tca-faq .tf-launch{position:fixed;right:24px;bottom:24px;width:58px;height:58px;display:grid;place-items:center;border:0;border-radius:50%;background:#493477;color:white;box-shadow:0 5px 24px #35264f38;z-index:99998;padding:16px}.tf-launch svg{width:26px;height:26px}.tf-window{position:fixed;right:24px;bottom:94px;width:400px;max-width:calc(100vw - 24px);height:min(640px,calc(100dvh - 120px));display:flex;flex-direction:column;background:white;border:1px solid var(--tf-line);border-radius:20px;box-shadow:0 16px 65px #24113930;overflow:hidden;z-index:99998}.tf-brand{display:flex;align-items:center;gap:10px;padding:16px;background:linear-gradient(115deg,#493477,#61458f);color:white;border-bottom:4px solid transparent;border-image:linear-gradient(90deg,#493477 33%,#ce1327 33% 66%,#ffdf00 66%) 1}.tf-brand img{width:38px;height:38px;border-radius:8px;object-fit:contain;background:white}.tf-brand>div{flex:1}.tf-brand strong,.tf-brand small{display:block}.tf-brand small{font-size:11px;color:#e4dcec}.tca-faq .tf-close{width:40px;height:40px;background:#ffffff15;border:1px solid #ffffff30;border-radius:50%;color:white;font-size:24px;padding:0}.tf-content{padding:22px;overflow:auto;flex:1;min-height:0;background:linear-gradient(#faf8fd,white 220px)}.tf-eyebrow{font-size:10px;letter-spacing:.12em;color:#70667d;font-weight:600}.tf-intro h2{font-family:inherit;font-size:24px;line-height:1.25;letter-spacing:-.5px;color:#493477;margin:6px 0 8px}.tf-intro p{margin:0 0 18px;color:#70667d;font-size:13px}.tca-faq input{display:block;width:100%;padding:13px 14px;border:1px solid #e6dff0;border-radius:12px;background:white;color:#302a3d;margin:0 0 16px;box-shadow:none}.tf-results{display:grid;gap:9px}.tca-faq .tf-topic{position:relative;display:block;width:100%;text-align:start;background:white;border:1px solid #e6dff0;border-radius:13px;padding:12px 38px 12px 14px;color:#493477;transition:background .15s,transform .15s;line-height:1.5;min-height:60px;box-shadow:0 2px 5px #49347705}.tf-topic:hover{background:#f7f3fc!important;transform:translateY(-1px)}.tf-topic small,.tf-topic strong{display:block}.tf-topic small{font-size:10px;color:#70667d}.tf-topic strong{font-size:13px;font-weight:600}.tf-arrow{position:absolute;right:16px;top:50%;transform:translateY(-50%)}.tf-answer{border:1px solid #e6dff0;border-radius:15px;background:white;padding:18px}.tf-answer h3{font-family:inherit;font-size:17px;color:#493477;margin:0 0 10px}.tf-answer p{font-size:14px;line-height:1.7;margin:0 0 16px}.tf-link{display:block;background:#493477;color:white!important;border-radius:10px;padding:11px 14px;text-decoration:none!important;font-weight:600}.tca-faq .tf-back{border:0;background:transparent;color:#493477;padding:12px 0 0;font-size:12px}.tf-foot{display:flex;flex-direction:column;gap:7px;border-top:1px solid #e6dff0;margin-top:20px;padding-top:15px;font-size:11px;color:#70667d}.tf-foot a{color:#493477}.tf-tabs{display:flex;gap:6px;padding:10px 12px;background:white;border-bottom:1px solid #e6dff0;flex-shrink:0}#tca-chat-root .tf-tabs button{flex:1;border:1px solid #e6dff0;border-radius:10px;font-size:12px;min-height:42px}#tca-chat-root .tf-tabs button[aria-selected=true]{background:#493477;color:white;border-color:#493477}.tf-integrated{display:flex;flex:1;min-height:0;overflow:hidden}#tca-chat-root .tf-assistant-active>.cc-body,#tca-chat-root .tf-assistant-active>.cc-status{display:none!important}#tca-chat-root .tf-integrated .tf-content{width:100%;max-width:650px;margin:auto;height:100%}#tca-chat-root .tf-topic{display:block;text-align:start;padding:12px 38px 12px 14px}#tca-chat-root .tf-back{border:0;background:transparent}#tca-chat-root .tf-integrated[hidden]{display:none!important}@media(max-width:650px){.tf-window{right:8px;left:8px;top:max(12px,env(safe-area-inset-top));bottom:max(12px,env(safe-area-inset-bottom));width:auto;height:auto;max-width:none}.tca-faq .tf-launch{right:18px;bottom:max(18px,env(safe-area-inset-bottom))}.tf-content{padding:18px}}@media(prefers-reduced-motion:reduce){.tf-topic{transition:none!important;transform:none!important}}
/* Refined assistant cards and compact segmented navigation. */
#tca-chat-root .tf-tabs{margin:12px 14px 0;padding:4px;gap:4px;background:#f1edf7;border:1px solid #e6dff0;border-radius:14px}
#tca-chat-root .tf-tabs button{border:1px solid transparent;background:transparent;color:#6d6081;border-radius:10px;min-height:40px;font-family:inherit;font-size:13px;font-weight:600;box-shadow:none;transition:background .15s,color .15s}
#tca-chat-root .tf-tabs button[aria-selected=true]{background:white;color:#493477;border-color:#e6dff0;box-shadow:0 2px 5px #38234e0d}
#tca-chat-root .tf-tabs button:hover{background:#ffffffa6}
#tca-chat-root .tf-integrated .tf-content,.tca-faq .tf-content{background:linear-gradient(155deg,#faf8fd 0%,#fff 55%);padding:24px 20px}
.tca-faq .tf-intro{padding:2px 2px 4px}.tca-faq .tf-intro h2{font-size:25px;font-weight:650;margin:8px 0}.tca-faq .tf-eyebrow{display:inline-block;color:#493477;background:#eee7f7;border-radius:20px;padding:4px 9px;font-size:9px;letter-spacing:.08em}
.tca-faq .tf-results{gap:10px}.tca-faq .tf-topic,#tca-chat-root .tf-topic{padding:13px 40px 13px 15px;border-radius:14px;border-color:#ebe5f2;box-shadow:0 2px 7px #49347704;min-height:68px}
.tca-faq .tf-topic small{font-size:10px;font-weight:500;margin-bottom:2px;color:#887999}.tca-faq .tf-topic strong{font-size:14px;font-weight:600}.tca-faq .tf-arrow{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#f3eef9;color:#493477;right:12px}
.tca-faq .tf-answer{padding:20px;border-radius:17px;border-top:3px solid #493477;box-shadow:0 6px 22px #49347708}.tca-faq .tf-foot{padding-top:16px;font-size:11px;gap:10px}.tca-faq .tf-foot a{font-size:12px;font-weight:600;text-decoration:none}
@media(prefers-reduced-motion:reduce){#tca-chat-root .tf-tabs button{transition:none}}

.tca-faq .tf-launch{touch-action:none;user-select:none;cursor:grab}.tca-faq .tf-launch.tf-dragging{cursor:grabbing;box-shadow:0 9px 30px #35264f50;transform:scale(1.06)}

/* Theme-resistant launcher, including Safari pointer interactions. */
#tca-faq-root.tca-faq .tf-launch,#tca-faq-root.tca-faq .tf-launch:hover,#tca-faq-root.tca-faq .tf-launch:focus,#tca-faq-root.tca-faq .tf-launch:active{background:#493477!important;color:#fff!important;border:0!important;opacity:1!important;touch-action:none!important;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;display:grid;place-items:center}
#tca-faq-root.tca-faq .tf-launch[hidden]{display:none!important}
#tca-faq-root .tf-launch:before,#tca-faq-root .tf-launch:after{display:none!important}
#tca-faq-root .tf-launch svg{pointer-events:none;stroke:#fff!important;fill:none!important}
#tca-chat-root .cc-expanded .tf-integrated .tf-content{max-width:none;width:100%;margin:0;padding:24px 32px}
#tca-chat-root .cc-expanded .tf-results,.tf-expanded .tf-results{grid-template-columns:repeat(2,minmax(0,1fr))}
#tca-faq-root .tf-window.tf-expanded{inset:48px 24px 24px;width:auto;max-width:none;height:auto}
@media(max-width:650px){#tca-chat-root .cc-expanded .tf-results,.tf-expanded .tf-results{grid-template-columns:1fr}#tca-faq-root .tf-window.tf-expanded{inset:12px 8px}#tca-chat-root .cc-expanded .tf-integrated .tf-content{padding:18px}}

#tca-faq-root .tf-compose{margin-top:20px;padding:16px;border:1px solid #e6dff0;border-radius:16px;background:#faf8fd}#tca-faq-root .tf-compose textarea{font:inherit;width:100%;min-height:70px;border:1px solid #e6dff0;border-radius:10px;padding:12px;background:white;color:#302a3d;resize:vertical}#tca-faq-root .tf-consent{display:flex;align-items:flex-start;flex-wrap:wrap;gap:7px;font-size:11px;margin:12px 0;color:#70667d}#tca-faq-root .tf-consent input{width:16px;height:16px;flex:none;margin:2px 0}#tca-faq-root .tf-send{background:#493477!important;color:white!important;border:0;border-radius:10px;padding:10px 24px;margin-right:12px}#tca-faq-root .tf-message{white-space:pre-wrap;overflow-wrap:anywhere;background:#f3eef9;padding:14px;border-radius:14px;margin:12px 0;font-size:14px;line-height:1.6}#tca-faq-root .tf-user{background:#493477;color:white;margin-left:24px}#tca-faq-root .tf-ai-status{font-size:12px;color:#70667d;margin:10px 0 0}
/* Direct chat: scrolling conversation and always-visible composer. */
#tca-faq-root .tf-content.tf-direct,#tca-chat-root .tf-integrated .tf-content.tf-direct{display:flex;flex-direction:column;padding:0;max-width:none;width:100%;height:100%;overflow:hidden;background:#fff}
#tca-faq-root .tf-transcript{flex:1;min-height:0;overflow:auto;padding:24px;overscroll-behavior:contain}
#tca-faq-root .tf-greeting{padding:12px 0 20px}#tca-faq-root .tf-greeting small{font-size:10px;font-weight:600;letter-spacing:.12em;color:#847493}#tca-faq-root .tf-greeting h2{font-family:inherit;color:#493477;font-size:25px;line-height:1.3;margin:10px 0}#tca-faq-root .tf-greeting p{font-size:13px;line-height:1.6;color:#70667d;margin:0}
#tca-faq-root .tf-suggestions{display:grid;grid-template-columns:1fr 1fr;gap:8px}#tca-faq-root .tf-suggestions button{font:inherit;font-size:12px;text-align:start;line-height:1.5;background:#faf8fd;color:#493477;border:1px solid #e6dff0;padding:12px;border-radius:12px;min-height:60px}#tca-faq-root .tf-suggestions button:hover{background:#eee7f7}
#tca-faq-root .tf-compose{flex:none;margin:0;padding:12px 16px;border:0;border-top:1px solid #e6dff0;border-radius:0;background:#fff}#tca-faq-root .tf-compose textarea{display:block;min-height:54px;max-height:140px;resize:vertical;background:#faf8fd;margin:0}
#tca-faq-root .tf-compose-tools{display:flex;align-items:center;gap:6px;margin-top:8px}#tca-faq-root .tf-tool{font:inherit;font-size:11px;border:1px solid #e6dff0;border-radius:9px;background:white;color:#493477;padding:8px;min-height:36px}#tca-faq-root .tf-send{margin:0 0 0 auto;font-size:12px;padding:9px 15px}#tca-faq-root .tf-consent{font-size:10px;margin:8px 0 0;line-height:1.5}#tca-faq-root .tf-attachments{display:flex;gap:6px;flex-wrap:wrap}#tca-faq-root .tf-chip{font:inherit;font-size:11px;color:#493477;background:#f3eef9;border:1px solid #e6dff0;border-radius:8px;margin-bottom:8px;padding:6px;overflow-wrap:anywhere;max-width:100%}#tca-faq-root .tf-compose input[type=file][hidden]{display:none!important}
#tca-chat-root .cc-expanded .tf-suggestions,.tf-expanded .tf-suggestions{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:650px){#tca-chat-root .cc-expanded .tf-suggestions,.tf-expanded .tf-suggestions{grid-template-columns:1fr 1fr}#tca-faq-root .tf-transcript{padding:18px}}
.tca-settings-tabs{display:flex;gap:8px;padding:6px;background:#f2edf8;border:1px solid #e5dbf2;border-radius:16px;margin-bottom:24px}.tca-settings-tabs button{flex:1;border:0;border-radius:11px;background:transparent;color:#493477;padding:14px 20px;font:600 16px inherit;cursor:pointer}.tca-settings-tabs button[aria-selected=true]{background:#493477;color:white;box-shadow:0 3px 10px #49347722}.tca-settings-hub [hidden]{display:none!important}#tca-settings-assistant .tca-ai-settings-form{margin:0;padding:clamp(20px,4vw,36px);background:white;border:1px solid #e5dbf2;border-radius:20px;color:#30283d}#tca-settings-assistant h1{color:#493477}#tca-settings-assistant p{line-height:1.65}#tca-settings-assistant input:not([type=checkbox]):not([type=hidden]):not([type=submit]),#tca-settings-assistant textarea{box-sizing:border-box;width:100%;max-width:100%;margin-top:8px;padding:12px 14px;border:1px solid #dcd1ec;border-radius:10px;background:#fcfaff;color:#30283d;font:inherit}#tca-settings-assistant input[type=checkbox]{accent-color:#493477}#tca-settings-assistant input[type=submit]{background:#493477;color:#fff;border:0;border-radius:12px;padding:13px 22px;cursor:pointer}#tca-settings-assistant :focus-visible,.tca-settings-tabs :focus-visible{outline:3px solid #aa8bd0;outline-offset:3px}
/* One scrolling conversation: the composer follows the messages in normal flow. */
#tca-faq-root .tf-direct{display:block!important;overflow-y:auto!important;height:100%;padding:20px!important;background:#fff;box-sizing:border-box;scroll-behavior:smooth}
#tca-faq-root .tf-transcript{display:block;overflow:visible!important;flex:none;padding:0!important;max-width:800px;margin:0 auto}
#tca-faq-root .tf-greeting{padding:0;margin:0 0 18px;background:none}
#tca-faq-root .tf-greeting small{display:block;background:none;padding:0;margin:0 0 7px;font-size:12px;letter-spacing:0;text-transform:none;color:#786b89;font-weight:600}
#tca-faq-root .tf-greeting p{display:inline-block;margin:0;padding:13px 16px;background:#f2edf8;border-radius:4px 18px 18px 18px;color:#352747;font-size:16px;line-height:1.5;font-weight:400}
#tca-faq-root .tf-suggestions{display:grid!important;grid-template-columns:1fr!important;gap:8px;margin:0 0 18px;padding:0}
#tca-faq-root .tf-suggestions[hidden]{display:none!important}
#tca-faq-root .tf-suggestions button{min-height:44px!important;width:100%;padding:11px 14px!important;margin:0!important;border:1px solid #e5dcee!important;border-radius:9px!important;background:#fff!important;color:#493477!important;text-align:left;font-family:inherit;font-size:14px!important;font-weight:500;line-height:1.4;box-shadow:none!important;transition:background .15s,border-color .15s}
#tca-faq-root .tf-suggestions button:hover{background:#f7f3fc!important;border-color:#ae94cb!important}
#tca-faq-root .tf-compose{position:static!important;display:block;flex:none;width:100%;max-width:800px;box-sizing:border-box;margin:0 auto;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
#tca-faq-root .tf-composer-box{border:1px solid #dcd1e9;border-radius:20px;background:#faf8fc;padding:10px;box-shadow:0 2px 7px #49347708}
#tca-faq-root .tf-composer-box:focus-within{border-color:#8d6eb1;box-shadow:0 0 0 3px #4934770b}
#tca-faq-root .tf-compose textarea{min-height:44px!important;height:44px;max-height:140px;width:100%;resize:vertical;border:0!important;box-shadow:none!important;outline:none!important;background:transparent!important;padding:10px!important;margin:0!important;font-family:inherit;font-size:15px;line-height:1.5}
#tca-faq-root .tf-compose-tools{display:flex;align-items:center;gap:6px;margin:4px 0 0;padding:0}
#tca-faq-root .tf-compose-tools button{min-width:36px;height:36px;min-height:36px;padding:8px;border:0!important;border-radius:50%;background:transparent;color:#665475;box-shadow:none;font-family:inherit;font-size:12px;line-height:20px}
#tca-faq-root .tf-compose-tools button:nth-child(3){border-radius:8px;padding:0 8px}
#tca-faq-root .tf-compose-tools button:hover{background:#ebe3f4}
#tca-faq-root .tf-compose-tools .tf-send{margin-left:auto;background:#493477;color:white}
#tca-faq-root .tf-compose-tools svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#tca-faq-root .tf-consent{margin:12px 3px 0;font-size:11px;line-height:1.5;color:#80728d}
#tca-faq-root .tf-ai-status:empty{display:none}
#tca-faq-root .tf-message{font-family:inherit;line-height:1.55;border-radius:4px 17px 17px 17px;padding:12px 15px;margin:12px 0;font-size:15px}
#tca-faq-root .tf-user{border-radius:17px 4px 17px 17px}
@media(prefers-reduced-motion:reduce){#tca-faq-root .tf-direct{scroll-behavior:auto}}
#tca-faq-root .tf-suggestions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px;max-width:520px}
#tca-faq-root .tf-suggestions button{font-size:12px!important;line-height:1.4;min-height:42px!important;padding:9px 11px!important;text-align:left!important}
#tca-faq-root .tf-composer-box{position:relative;border-top:3px solid #493477;background:linear-gradient(90deg,#ce1327 0 50%,#ffdf00 50%) bottom/100% 2px no-repeat,#faf8fc}
#tca-faq-root .tf-consent{display:block!important;font-size:11px;text-align:center;margin:10px 0;color:#7d7188}
#tca-faq-root .tf-consent a{color:#493477;text-decoration:underline}
#tca-faq-root .tf-voice-panel{display:flex;align-items:center;gap:10px;min-height:54px;padding:6px 4px}
#tca-faq-root .tf-voice-panel[hidden],#tca-faq-root textarea[hidden]{display:none!important}
#tca-faq-root .tf-wave{display:flex;flex:1;align-items:center;justify-content:center;gap:3px;height:36px;overflow:hidden}
#tca-faq-root .tf-wave span{width:3px;flex:1;max-width:5px;min-height:4px;border-radius:4px;background:#493477}
#tca-faq-root .tf-wave span:nth-child(5n){background:#ce1327}
#tca-faq-root .tf-wave span:nth-child(7n){background:#d4ad00}
#tca-faq-root .tf-voice-control{border:0;border-radius:50%;width:32px;height:32px;padding:0;background:#ebe3f3;color:#493477;cursor:pointer;font-size:16px;flex:none}
#tca-faq-root .tf-voice-time{font:500 12px/1.4 inherit;color:#493477;white-space:nowrap}
#tca-faq-root .is-recording .tf-voice-time{color:#ce1327}
#tca-faq-root .tf-voice-control:disabled{opacity:.4;cursor:default}
/* Rounded conversation surfaces and quiet, consistent interaction states. */
#tca-faq-root .tf-greeting p,#tca-faq-root .tf-message,#tca-faq-root .tf-user{border-radius:20px!important}
#tca-faq-root .tf-composer-box{border:1px solid #dcd1e9!important;border-radius:24px!important;background:#faf8fc!important;background-image:none!important;transition:border-color .18s,box-shadow .18s}
#tca-faq-root .tf-composer-box:focus-within{border-color:#8d6eb1!important}
#tca-faq-root .tf-suggestions button,#tca-faq-root .tf-suggestions button:hover,#tca-faq-root .tf-suggestions button:active,#tca-faq-root .tf-suggestions button:focus{background:#fff!important;color:#493477!important;-webkit-tap-highlight-color:transparent}
#tca-faq-root .tf-suggestions button:before,#tca-faq-root .tf-suggestions button:after{display:none!important}
#tca-faq-root .tf-suggestions button:focus-visible{outline:2px solid #8d6eb1;outline-offset:2px}
@keyframes tf-arrive{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
#tca-faq-root .tf-message,#tca-faq-root .tf-greeting,#tca-faq-root .tf-voice-panel:not([hidden]),#tca-faq-root .tf-chip{animation:tf-arrive .2s ease-out both}
#tca-faq-root .tf-suggestions button{animation:tf-arrive .2s ease-out both;transition:border-color .15s,transform .15s!important}
#tca-faq-root .tf-suggestions button:nth-child(2){animation-delay:30ms}
#tca-faq-root .tf-suggestions button:nth-child(3){animation-delay:60ms}
#tca-faq-root .tf-suggestions button:nth-child(4){animation-delay:90ms}
#tca-faq-root .tf-compose-tools button,#tca-faq-root .tf-voice-control{transition:transform .15s,background .15s,opacity .15s}
#tca-faq-root .tf-compose-tools button:active,#tca-faq-root .tf-voice-control:active{transform:scale(.94)}
#tca-faq-root.tf-integrated:not([hidden]) .tf-direct,#tca-faq-root .tf-window:not([hidden]){animation:tf-arrive .2s ease-out}
#tca-faq-root .tf-ai-status:not(:empty){animation:tf-arrive .18s ease-out}
@media(prefers-reduced-motion:reduce){#tca-faq-root *,#tca-faq-root *:before,#tca-faq-root *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
#tca-faq-root .tf-transcript,#tca-faq-root .tf-compose{max-width:none!important;width:100%!important}
#tca-faq-root .tf-compose textarea{resize:none!important;max-height:180px;overflow-y:auto}
#tca-faq-root .tf-message{width:fit-content;max-width:85%;box-sizing:border-box}
#tca-faq-root .tf-user{margin-left:auto!important}
#tca-faq-root .tf-error{border:1px solid #ded4e9;background:#faf8fc;color:#493477}
#tca-faq-root .tf-wave span:nth-child(n){background:#68518b!important;transition:height .15s linear}
#tca-faq-root .is-recording .tf-voice-time{color:#68518b}
#tca-faq-root .tf-voice-control{display:grid;place-items:center;width:38px;height:38px;background:white;border:1px solid #e4dced;box-shadow:0 2px 5px #49347708}
#tca-faq-root .tf-voice-control svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#tca-faq-root .tf-voice-control:focus:not(:focus-visible){outline:none!important}
#tca-faq-root .tf-suggestions{max-width:620px;gap:10px}
#tca-faq-root .tf-suggestions button{border-radius:14px!important;padding:12px 14px!important;text-align:left!important;box-shadow:0 2px 6px #49347706!important;animation-duration:.4s!important}
#tca-faq-root .tf-message,#tca-faq-root .tf-greeting,#tca-faq-root .tf-voice-panel{animation-duration:.4s}
.tca-settings-hub{width:100%;max-width:1200px;margin:24px auto;padding:0 20px;box-sizing:border-box;font-family:inherit}
.tca-settings-hub .tca-ai-settings-form{float:none!important;width:100%!important;max-width:none!important;box-sizing:border-box}
.tca-settings-hub h1{font-family:inherit!important;font-size:26px!important}
.tca-settings-hub .tca-chat-settings-page{margin:0;max-width:none}
/* Expanded mode fills the available height while keeping one scroll surface. */
.cc-expanded #tca-faq-root .tf-direct,#tca-faq-root .tf-expanded .tf-direct{display:flex!important;flex-direction:column;min-height:0;height:100%;box-sizing:border-box}
.cc-expanded #tca-faq-root .tf-transcript,#tca-faq-root .tf-expanded .tf-transcript{flex:1 0 auto!important}
.cc-expanded #tca-faq-root .tf-compose,#tca-faq-root .tf-expanded .tf-compose{flex:0 0 auto!important;margin-top:20px!important;margin-bottom:0!important}
/* Mobile has distinct compact and expanded sizes for both chat surfaces. */
@media(max-width:650px){
 #tca-chat-root .cc-window:not(.cc-expanded),#tca-faq-root .tf-window:not(.tf-expanded){top:auto!important;left:12px!important;right:12px!important;bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;width:auto!important;height:min(560px,72dvh)!important;max-height:calc(100dvh - 24px - env(safe-area-inset-bottom,0px))!important;border-radius:20px!important}
 #tca-chat-root .cc-window.cc-expanded,#tca-faq-root .tf-window.tf-expanded{top:env(safe-area-inset-top,0px)!important;left:0!important;right:0!important;bottom:env(safe-area-inset-bottom,0px)!important;width:auto!important;height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;max-height:none!important;border-radius:0!important}
 #tca-chat-root .cc-brand,#tca-faq-root .tf-brand{flex-shrink:0}
 #tca-faq-root .tf-compose textarea{font-size:16px!important}
}
#tca-faq-root .tf-sent-voice{width:300px;max-width:90%}
#tca-faq-root .tf-sent-voice .tf-voice-panel{padding:0;min-height:40px}
#tca-faq-root .tf-sent-voice .tf-wave span:nth-child(n){background:#e3d8f2!important}
#tca-faq-root .tf-sent-voice .tf-voice-time{color:white}
#tca-faq-root .tf-retry{border:1px solid #dcd1e9;border-radius:10px;background:white;color:#493477;padding:7px 14px}
.cc-expanded #tca-faq-root.tf-integrated{height:100%;flex:1 1 0;min-height:0}
.cc-expanded #tca-faq-root .tf-direct,#tca-faq-root .tf-expanded .tf-direct{flex:1 1 0!important}
.cc-expanded #tca-faq-root .tf-compose,#tca-faq-root .tf-expanded .tf-compose{margin-top:auto!important;padding-top:20px!important}
#tca-faq-root .tf-waiting{margin:14px 0;color:#81718e;font-size:12px;animation:tf-arrive .3s ease-out}
#tca-faq-root .tf-waiting small{display:block;margin-top:6px}
#tca-faq-root .tf-typing-dots{display:flex;gap:5px;width:fit-content;padding:16px 18px;border-radius:20px;background:#f2edf8}
#tca-faq-root .tf-typing-dots i{width:6px;height:6px;border-radius:50%;background:#826b9f;animation:tf-dot 1.4s infinite ease-in-out}
#tca-faq-root .tf-typing-dots i:nth-child(2){animation-delay:.2s}#tca-faq-root .tf-typing-dots i:nth-child(3){animation-delay:.4s}
@keyframes tf-dot{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-4px);opacity:1}}
@media(prefers-reduced-motion:reduce){#tca-faq-root .tf-typing-dots i{animation:none}}

/* Attachment previews */
.tf-attachments{display:flex;gap:10px;flex-wrap:wrap;padding:8px 0}.tf-file-card{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e6dff0;border-radius:16px;padding:8px;max-width:280px;box-shadow:0 3px 12px #38265308}.tf-file-card img{width:52px;height:52px;object-fit:cover;border-radius:10px}.tf-file-card>div{min-width:0;flex:1}.tf-file-card strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.tf-file-card small{display:block;font-size:11px;color:#80758e;margin-top:4px}.tf-file-type{padding:12px 8px;background:#f2edf8;border-radius:10px;color:#503780;font-size:11px;font-weight:700}.tf-file-remove{border:0!important;background:transparent!important;color:#766589!important;padding:6px!important;font-size:20px!important}.tf-message a{color:inherit;text-decoration:underline;overflow-wrap:anywhere}
