.tf-support-launcher,.tf-support-dialog,.tf-support-operator{font-family:inherit;letter-spacing:normal;box-sizing:border-box;color:var(--ink,#172018)}
.tf-support-launcher{position:fixed;right:24px;bottom:24px;z-index:40;display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px 17px;border:1px solid var(--line,#dce4d6);border-radius:999px;background:var(--surface,#fff);box-shadow:0 8px 26px #0002;font-size:14px;font-weight:600;line-height:1.2;cursor:pointer;transition:transform .18s,background .18s}
.tf-support-launcher:hover{background:var(--accent-soft,#edf6e3);transform:translateY(-2px)}
.tf-support-badge{display:grid;place-items:center;min-width:21px;height:21px;padding:0 4px;border-radius:50px;background:var(--green,#a6f542);color:var(--on-accent,#19250b);font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}
.tf-support-badge[hidden],.tf-support-older[hidden],.tf-support-topic[hidden],.tf-support-footer [hidden]{display:none!important}
.tf-support-dialog{position:fixed;top:calc(var(--tf-support-top,0px) + var(--tf-support-viewport,100dvh)/2);left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);width:min(520px,calc(100vw - 28px));max-width:520px;height:min(700px,calc(var(--tf-support-viewport,100dvh) - 40px));max-height:calc(var(--tf-support-viewport,100dvh) - 40px);margin:0;padding:0;border:1px solid var(--line,#dce4d6);border-radius:24px;background:var(--surface,#fff);box-shadow:0 24px 100px #0005;overflow:hidden;animation:tf-support-enter .2s ease-out}
.tf-support-dialog[open]{display:flex;flex-direction:column}
.tf-support-dialog::backdrop{background:#07130e70;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
.tf-support-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 22px 15px;border-bottom:1px solid var(--line,#dce4d6);flex:0 0 auto}
.tf-support-header h2{margin:0;font-size:24px;line-height:1.2;letter-spacing:-.03em;font-weight:650}
.tf-support-header p{margin:8px 0 0;font-size:13px;line-height:1.5;color:var(--muted,#697465)}
.tf-support-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:var(--surface-alt,#f1f4ed);color:var(--ink,#172018);cursor:pointer;line-height:1}
.tf-support-close svg{display:block;width:20px;height:20px}
.tf-support-conversation{display:flex;flex-direction:column;min-height:0;flex:1 1 auto;overflow:hidden}
.tf-support-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 22px 8px;flex:0 0 auto}
.tf-support-topic{width:auto;min-width:0;max-width:65%;min-height:38px;margin:0;padding:7px 10px;border:1px solid var(--line,#dce4d6);border-radius:10px;background:var(--surface-alt,#f1f4ed);font:inherit;font-size:13px;color:var(--ink,#172018)}
.tf-support-state{font-size:12px;line-height:1.4;color:var(--accent-text,#426322)}
.tf-support-messages{height:320px;min-height:0;overflow:auto;overscroll-behavior:contain;overflow-anchor:none;display:flex;flex-direction:column;gap:12px;padding:16px 22px;flex:1 1 auto}
.tf-support-message{max-width:90%;align-self:flex-start;flex:0 0 auto;padding:12px 14px;border:1px solid var(--line,#dce4d6);border-radius:16px 16px 16px 4px;background:var(--surface-alt,#f1f4ed)}
.tf-support-message.is-own{align-self:flex-end;border-radius:16px 16px 4px 16px;background:var(--accent-soft,#edf6e3)}
.tf-support-message-head{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;justify-content:space-between;line-height:1.4}
.tf-support-message-head strong{font-size:11px;font-weight:600}.tf-support-message-head time{font-size:10px;color:var(--muted,#697465);white-space:nowrap}
.tf-support-message p{margin:7px 0 0;font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;font-weight:400;letter-spacing:normal}
.tf-support-empty,.tf-support-loading{margin:auto;text-align:center;padding:24px 10px;max-width:320px;font-size:14px;line-height:1.7;color:var(--muted,#697465)}
.tf-support-status{margin:0;padding:0 22px 8px;min-height:21px;font-size:12px;line-height:1.5;color:var(--muted,#697465)}
.tf-support-composer{padding:14px 22px 16px;border-top:1px solid var(--line,#dce4d6);flex:0 0 auto}
.tf-support-input-label{display:block;margin:0;color:var(--muted,#697465);font-size:12px;line-height:1.4;font-weight:500;letter-spacing:normal}
.tf-support-input{display:block;width:100%;min-width:0;max-width:100%;margin:8px 0 0;padding:11px 12px;box-sizing:border-box;min-height:70px;max-height:160px;border:1px solid var(--line,#dce4d6);border-radius:12px;background:var(--surface-alt,#f1f4ed);color:var(--ink,#172018);font-family:inherit;font-size:16px;line-height:1.5;letter-spacing:normal;resize:vertical}
.tf-support-input:focus{outline:2px solid var(--green,#a6f542);outline-offset:1px}
.tf-support-compose-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;flex-wrap:wrap}
.tf-support-hint{font-size:10px;color:var(--muted,#697465);line-height:1.5}
.tf-support-send{min-height:44px;padding:11px 18px;border:0;border-radius:12px;background:var(--green,#a6f542);color:var(--on-accent,#19250b);font-family:inherit;font-size:14px;font-weight:600;letter-spacing:normal;line-height:1.4;cursor:pointer}
.tf-support-send:disabled{opacity:.6;cursor:wait}
.tf-support-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:11px 22px 14px;border-top:1px solid var(--line,#dce4d6);font-size:12px;line-height:1.5;flex:0 0 auto}
.tf-support-footer a{color:var(--muted,#697465);text-decoration:underline;text-underline-offset:3px}
.tf-support-older,.tf-support-resolve{min-height:36px;padding:8px 12px;border:1px solid var(--line,#dce4d6);border-radius:10px;background:var(--surface,#fff);color:var(--ink,#172018);font:inherit;font-size:12px;line-height:1.4;cursor:pointer}
.tf-support-older{align-self:center;margin:6px 22px 0}.tf-support-resolve:disabled{opacity:.5;cursor:default}
.tf-support-guest{padding:32px 24px;text-align:center}.tf-support-guest h3{font-size:22px;line-height:1.3;margin:0 0 10px}.tf-support-guest p{font-size:14px;line-height:1.65;color:var(--muted,#697465);margin:0 0 22px}
body.tf-support-open{overflow:hidden}
body:has(dialog[open]:not(.tf-support-dialog)) .tf-support-launcher,body:has(.tf-camera-expanded) .tf-support-launcher{visibility:hidden}
.tf-support-operator{max-width:1160px;margin:0 auto;padding:32px 24px}.tf-support-operator *{box-sizing:border-box}
.tf-support-operator h1{font-size:32px;line-height:1.2;letter-spacing:-.03em;margin:16px 0}.tf-support-operator>p{color:var(--muted,#697465);font-size:14px;line-height:1.6}
.tf-support-operator a{color:var(--accent-text,#426322);font-size:14px}
.tf-support-operator-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:20px;margin-top:24px}
.tf-support-list-panel,.tf-support-reply-panel{min-width:0;border:1px solid var(--line,#dce4d6);border-radius:20px;overflow:hidden;background:var(--surface,#fff)}
.tf-support-list-tools{display:flex;gap:8px;padding:16px}.tf-support-list-tools select{flex:1;min-width:0;padding:8px;border:1px solid var(--line,#dce4d6);border-radius:10px;background:var(--surface-alt,#f1f4ed);color:var(--ink,#172018);font:inherit;font-size:13px}
.tf-support-list-tools .tf-support-older{margin:0;flex:0 0 auto}
.tf-support-thread-list{max-height:540px;overflow:auto;padding:0 12px}.tf-support-thread{display:flex;flex-direction:column;gap:6px;width:100%;padding:14px 12px;margin-bottom:8px;text-align:left;background:var(--surface-alt,#f1f4ed);border:1px solid transparent;border-radius:12px;color:var(--ink,#172018);font:inherit;cursor:pointer;overflow-wrap:anywhere}
.tf-support-thread.is-active{border-color:var(--green,#a6f542);background:var(--accent-soft,#edf6e3)}
.tf-support-thread strong{font-size:14px;line-height:1.4}.tf-support-thread-email{font-size:11px;color:var(--muted,#697465)}.tf-support-thread-preview{font-size:12px;line-height:1.6}.tf-support-thread small{font-size:10px;line-height:1.6;color:var(--muted,#697465)}
.tf-support-pages{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px;font-size:12px}.tf-support-pages button{min-width:38px;min-height:38px;border:1px solid var(--line,#dce4d6);border-radius:10px;background:var(--surface-alt,#f1f4ed);color:var(--ink,#172018);font-size:18px;cursor:pointer}.tf-support-pages button:disabled{opacity:.4}
.tf-support-customer{margin:0;padding:20px 22px;border-bottom:1px solid var(--line,#dce4d6);font-size:20px;line-height:1.4}
.tf-support-reply-panel .tf-support-messages{height:380px}.tf-support-reply-panel .tf-support-hint{display:none}
.tf-support-list-empty{padding:20px;font-size:14px;line-height:1.6;color:var(--muted,#697465)}
.tf-support-operator-status{font-size:14px;line-height:1.6;color:var(--muted,#697465)}
.tf-support-launcher:focus-visible,.tf-support-close:focus-visible,.tf-support-send:focus-visible,.tf-support-thread:focus-visible,.tf-support-older:focus-visible,.tf-support-resolve:focus-visible{outline:3px solid var(--green,#a6f542);outline-offset:3px}
@keyframes tf-support-enter{from{opacity:0}to{opacity:1}}
@media(max-width:800px){.tf-support-launcher{bottom:calc(88px + env(safe-area-inset-bottom,0px));right:14px;padding:12px}.tf-support-operator-layout{grid-template-columns:minmax(0,1fr)}.tf-support-thread-list{max-height:280px}.tf-support-hint{display:none}.tf-support-compose-actions{justify-content:flex-end}}
@media(max-width:480px){.tf-support-dialog{width:calc(100vw - 16px);max-height:calc(var(--tf-support-viewport,100dvh) - 16px);border-radius:20px}.tf-support-header{padding:16px 16px 12px}.tf-support-meta,.tf-support-messages{padding-left:16px;padding-right:16px}.tf-support-composer{padding:12px 16px}.tf-support-footer{padding:10px 16px}.tf-support-header h2{font-size:22px}.tf-support-header p{font-size:12px}.tf-support-message{max-width:95%}.tf-support-operator{padding:20px 12px}}
.tf-support-dialog.tf-support-compact{height:calc(var(--tf-support-viewport,100dvh) - 12px);max-height:calc(var(--tf-support-viewport,100dvh) - 12px);border-radius:16px}
.tf-support-compact .tf-support-header{padding:10px 16px}.tf-support-compact .tf-support-header p,.tf-support-compact .tf-support-footer,.tf-support-compact .tf-support-meta{display:none}.tf-support-compact .tf-support-composer{padding:8px 16px}.tf-support-compact .tf-support-input{min-height:46px;height:46px;max-height:70px}.tf-support-compact .tf-support-input-label{font-size:10px}.tf-support-compact .tf-support-compose-actions{margin-top:6px}.tf-support-compact .tf-support-status{padding-bottom:4px}
@media(prefers-reduced-motion:reduce){.tf-support-launcher{transition:none}.tf-support-dialog{animation:none}}
