.tchat{min-height:100vh;display:flex;flex-direction:column;background:var(--fx-bg-app);color:var(--fx-ink-primary)}.tchat [hidden]{display:none!important}.tchat-header{max-width:1100px;width:100%;box-sizing:border-box;margin:auto auto 0;padding:17px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--fx-line-accent)}.tchat-header nav{display:flex;gap:24px}.tchat-header a{color:var(--fx-ink-primary);text-decoration:none;font-size:14px;font-weight:650}.tchat-main{flex:1;width:100%;max-width:900px;margin:0 auto;padding:clamp(24px,5vw,48px) 24px 32px;box-sizing:border-box}.tchat-top{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:34px}.tchat-kicker{font-size:11px;font-weight:800;letter-spacing:.12em;color:var(--fx-brand-pixel)}.tchat h1{font-size:clamp(30px,4vw,48px);letter-spacing:-.045em;line-height:1.08;max-width:18ch;margin:12px 0}.tchat-top p:not(.tchat-kicker){max-width:56ch;line-height:1.6;color:var(--fx-ink-secondary)}.tchat button{font:inherit;cursor:pointer}.tchat-new,.tchat-choice button,.tchat-actions button:not(.tchat-primary),.tchat-received button{border:1px solid var(--fx-line-accent);border-radius:10px;background:var(--fx-bg-surface);color:var(--fx-ink-primary);padding:10px 15px}.tchat-feed{display:flex;flex-direction:column;gap:24px;max-width:790px;margin:0 auto}.tchat-message{display:flex;gap:14px;align-items:flex-start;max-width:92%}.tchat-message[data-role=visitor]{align-self:flex-end;flex-direction:row-reverse}.tchat-avatar{width:32px;height:32px;flex:none;display:grid;place-items:center;border-radius:9px;background:var(--fx-bg-accent-soft);font-size:12px;font-weight:800}.tchat-message[data-role=visitor] .tchat-avatar{background:var(--fx-ink-primary);color:var(--fx-ink-on-dark)}.tchat-bubble{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;padding:15px 18px;border-radius:16px;background:var(--fx-bg-surface);border:1px solid var(--fx-line-accent);box-shadow:0 8px 22px #121c280a}.tchat-message[data-role=visitor] .tchat-bubble{background:var(--fx-bg-accent-soft);border-color:transparent}.tchat-message a{display:block;margin-top:10px;color:var(--fx-brand-pixel);font-weight:700}.tchat-retry{display:block;margin-top:8px;border:0;background:none;color:var(--fx-brand-pixel);font-weight:700}.tchat-choice,.tchat-handoff,.tchat-received{max-width:790px;margin:28px auto 0;padding:clamp(18px,3vw,28px);border:1px solid var(--fx-line-accent);border-radius:20px;background:var(--fx-bg-surface);box-shadow:0 18px 50px #121c280f}.tchat-choice div,.tchat-actions{display:flex;flex-wrap:wrap;gap:10px}.tchat-handoff h2,.tchat-received h2{font-size:clamp(24px,3vw,32px);letter-spacing:-.035em;margin:4px 0 8px}.tchat-handoff p{line-height:1.55}.tchat-handoff label{display:block;font-size:14px;font-weight:700;margin:18px 0 7px}.tchat-handoff textarea,.tchat-handoff input:not([type=checkbox]){box-sizing:border-box;width:100%;border:1px solid var(--fx-line-accent);border-radius:11px;background:var(--fx-bg-app);color:var(--fx-ink-primary);padding:12px 14px;font:inherit;font-size:16px}.tchat-handoff textarea{resize:vertical;min-height:110px}.tchat-handoff input{min-height:46px}.tchat-contact{margin-top:26px;padding-top:20px;border-top:1px solid var(--fx-line-accent)}.tchat-contact>p:first-child{font-weight:750}.tchat-check{display:flex!important;gap:10px;align-items:center}.tchat-check input{width:18px;height:18px}.tchat-boundary,.tchat-privacy,.tchat-disclosure{color:var(--fx-ink-secondary);font-size:13px}.tchat-primary{border:0;border-radius:11px;background:var(--fx-ink-primary);color:var(--fx-ink-on-dark);padding:12px 18px;font-weight:750}.tchat-error{color:var(--fx-status-attention-ink);font-size:13px}.tchat-status{max-width:790px;margin:18px auto;color:var(--fx-ink-secondary);font-size:14px;min-height:22px}.tchat-dock{position:sticky;bottom:0;z-index:5;background:linear-gradient(transparent,var(--fx-bg-app) 18%);padding:22px 20px max(18px,env(safe-area-inset-bottom))}.tchat-dock-inner{max-width:790px;margin:auto}.tchat-dock-actions{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px;color:var(--fx-ink-secondary);font-size:13px}.tchat-dock-actions button{background:none;border:0;color:var(--fx-brand-pixel);font-weight:750}.tchat-dock form{display:flex;align-items:flex-end;gap:9px;padding:8px;border-radius:16px;border:1px solid var(--fx-line-accent);background:var(--fx-bg-surface);box-shadow:0 10px 32px #121c2817}.tchat-dock textarea{flex:1;min-width:0;max-height:180px;resize:vertical;border:0;background:none;color:var(--fx-ink-primary);font:inherit;font-size:16px;line-height:1.5;padding:9px;outline:none}.tchat-dock form:focus-within{outline:2px solid var(--fx-brand-pixel)}.tchat-dock form button{width:40px;height:40px;flex:none;border:0;border-radius:10px;background:var(--fx-ink-primary);color:var(--fx-ink-on-dark);font-size:24px;line-height:1}.tchat-dock form button:disabled{opacity:.4;cursor:default}.tchat-disclosure{margin:9px 8px 0;font-size:12px}.tchat-static{padding:22px;background:var(--fx-bg-surface);border-radius:15px}.tchat-static a{color:var(--fx-brand-pixel)}.tchat :is(button,input,textarea,a):focus-visible{outline:2px solid var(--fx-brand-pixel);outline-offset:3px}@media(max-width:600px){.tchat-header{padding:14px 16px}.tchat-header nav{gap:12px}.tchat-header nav a{font-size:12px}.tchat-main{padding:25px 16px}.tchat-message{max-width:100%}.tchat-top{display:block}.tchat-new{margin-top:10px}.tchat-dock{padding-inline:12px}}
