.thsm-chat{position:fixed;right:20px;bottom:max(18px,env(safe-area-inset-bottom));z-index:1000;font:16px/1.5 Arial,Segoe UI,sans-serif;color:#01173b;--chat-view-height:100dvh;--chat-view-top:0px}.thsm-chat *{box-sizing:border-box}.thsm-chat button,.thsm-chat textarea{font:inherit}.thsm-chat [hidden]{display:none!important}.thsm-chat-toggle{display:flex;align-items:center;gap:9px;background:#03285f;color:#fff;border:2px solid #fff;padding:13px 19px;border-radius:32px;box-shadow:0 8px 25px #01173b30;cursor:pointer;margin-left:auto}.thsm-chat-toggle span{font-size:20px;color:#78c3ff}.thsm-chat-panel{position:fixed;right:20px;top:calc(var(--chat-view-top) + max(12px,var(--chat-view-height) - 744px));width:420px;max-width:calc(100vw - 28px);height:min(660px,calc(var(--chat-view-height) - 96px));display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #CBDAED;border-radius:20px;box-shadow:0 18px 70px #01173b40;animation:thsm-chat-in .2s ease-out}.thsm-chat-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;background:#03285f;color:#fff;flex:0 0 auto}.thsm-chat-panel header strong{font-size:17px;line-height:1.4}.thsm-chat-panel header small{display:block;color:#d4e9ff;font-size:13px;margin-top:3px}.thsm-chat-panel header button{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;background:none;color:#fff;border:0;border-radius:8px;font-size:28px;line-height:1;padding:0;cursor:pointer}.thsm-chat-panel header button:hover{background:#ffffff18}.thsm-chat-messages{position:relative;flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:16px;display:flex;flex-direction:column;gap:12px}.thsm-chat-message{padding:12px 14px;border-radius:12px;background:#e8f2ff;max-width:96%;min-width:0;overflow-wrap:anywhere;flex:0 0 auto}.thsm-chat-message strong{display:block;font-size:13px;line-height:1.4;color:#03285f}.thsm-chat-message p{white-space:pre-wrap;font-size:16px;line-height:1.65;margin:6px 0 0;max-width:none;text-align:start;unicode-bidi:plaintext}.thsm-chat-message p:dir(rtl){font-family:Tahoma,Segoe UI,Arial,sans-serif;line-height:1.95}.thsm-chat-user{margin-left:auto;background:#03285f;color:#fff}.thsm-chat-user strong{color:#d4e9ff}.thsm-chat-user p{color:#fff}.thsm-chat-message:not(.thsm-chat-user) p{color:#03285f}.thsm-chat-message a{display:block;font-size:15px;color:#0a52b4;font-weight:600;margin-top:10px;text-decoration:underline}.thsm-chat-prompts{display:flex;gap:7px;overflow-x:auto;padding:6px 14px 10px;flex:0 0 auto;scrollbar-width:thin}.thsm-chat-prompts button{flex:0 0 auto;white-space:nowrap;font-size:13px;border:1px solid #CBDAED;border-radius:20px;padding:7px 10px;background:#fff;color:#03285f;cursor:pointer}.thsm-chat-prompts button:hover{background:#e8f2ff;border-color:#0a52b4}.thsm-chat.has-conversation .thsm-chat-prompts{display:none}.thsm-chat-privacy{margin:0 14px 5px;font-size:13px;line-height:1.5;background:#f5f9ff;border:1px solid #E0EAF7;border-radius:10px;flex:0 0 auto;max-height:clamp(72px,30dvh,210px);overflow-y:auto;overscroll-behavior:contain}.thsm-chat-privacy>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none;padding:9px 11px;font-size:13px;font-weight:600;color:#03285f}.thsm-chat-privacy>summary::-webkit-details-marker{display:none}.thsm-chat-privacy>summary:after{content:"+";font-size:18px;font-weight:400;line-height:1}.thsm-chat-privacy[open]>summary:after{content:"\2212"}.thsm-chat-privacy-state{margin-left:auto;font-size:12px;font-weight:400;color:#425d7d}.thsm-chat-privacy-body{padding:0 11px 11px}.thsm-chat-privacy label{display:flex;gap:9px;align-items:flex-start;cursor:pointer;font-size:13px;line-height:1.5}.thsm-chat-privacy input{margin:3px 0 0;width:16px;height:16px;flex:0 0 16px;accent-color:#0A52B4}.thsm-chat-privacy small{display:block;font-size:12px;margin-top:8px;line-height:1.5;color:#425d7d}.thsm-chat-privacy a{color:#0a52b4;text-decoration:underline}.thsm-chat form{display:flex;align-items:flex-end;gap:8px;padding:8px 14px;margin:0;flex:0 0 auto}.thsm-chat textarea{resize:none;min-width:0;flex:1;width:100%;min-height:46px;max-height:104px;overflow-y:auto;border:1px solid #CBDAED;border-radius:12px;padding:10px 12px;font-size:16px;line-height:24px;color:#03285f;background:#fff}.thsm-chat form button{display:flex;align-items:center;justify-content:center;align-self:stretch;flex:0 0 64px;min-height:46px;border:0;border-radius:12px;background:#0a52b4;color:#fff;padding:10px 8px;cursor:pointer;font-size:15px;font-weight:600;white-space:nowrap}.thsm-chat form button:hover{background:#03285f}.thsm-chat button:disabled{opacity:.55;cursor:wait}.thsm-chat-status{margin:0;padding:0 16px 8px;font-size:12px;line-height:1.4;color:#425d7d;max-height:64px;overflow-y:auto;flex:0 0 auto}.thsm-chat-status:empty{display:none}.thsm-chat-panel>footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #E8F2FF;padding:10px 16px;flex:0 0 auto}.thsm-chat footer a,.thsm-chat footer button{font-size:13px;line-height:1.5;color:#0a52b4;background:none;border:0;padding:2px 0;text-decoration:underline;cursor:pointer}.thsm-chat :focus-visible{outline:3px solid #1496FB;outline-offset:2px}@keyframes thsm-chat-in{0%{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}@media(max-width:650px){.thsm-chat{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}.thsm-chat-toggle{padding:11px 15px}.thsm-chat-panel{right:12px;top:calc(var(--chat-view-top) + 12px);width:calc(100vw - 24px);max-width:440px;height:calc(var(--chat-view-height) - 88px);border-radius:16px}.thsm-chat-panel>header{padding:12px 14px}.thsm-chat-messages{padding:14px}.thsm-chat-privacy{margin-right:12px;margin-left:12px}.thsm-chat form{padding-right:12px;padding-left:12px}}@media(max-height:500px){.thsm-chat-panel{top:calc(var(--chat-view-top) + 8px);height:calc(var(--chat-view-height) - 16px)}.thsm-chat-panel>header{padding-top:8px;padding-bottom:8px}.thsm-chat-prompts,.thsm-chat-panel>footer{display:none}.thsm-chat-privacy{max-height:28dvh}.thsm-chat-status{max-height:38px}}.thsm-chat.is-compact .thsm-chat-panel{top:calc(var(--chat-view-top) + 8px);height:calc(var(--chat-view-height) - 16px)}.thsm-chat.is-compact .thsm-chat-panel>header{padding-top:8px;padding-bottom:8px}.thsm-chat.is-compact .thsm-chat-prompts,.thsm-chat.is-compact .thsm-chat-panel>footer{display:none}.thsm-chat.is-compact .thsm-chat-privacy{max-height:calc(var(--chat-view-height) * .28)}.thsm-chat.is-compact .thsm-chat-status{max-height:38px}@media(prefers-reduced-motion:reduce){.thsm-chat-panel{animation:none}}@media print{.thsm-chat{display:none!important}}
