/* Isolated TIKKA chat. Explicit grid minima prevent global form/SVG styles from clipping controls. */
.support-chat{--chat-pine:var(--tikka-pine,#294c40);--chat-paper:#fffefa;--chat-line:#dfe5dc;--color-purple:var(--chat-pine);right:24px;bottom:24px;max-width:calc(100vw - 32px);font-family:inherit;color:#293e34}
.support-chat *,.support-chat *::before,.support-chat *::after{box-sizing:border-box}
.support-chat [hidden]{display:none!important}
.support-chat .support-chat__launcher{display:flex;align-items:center;gap:10px;width:auto;height:64px;max-width:calc(100vw - 32px);padding:8px 18px 8px 8px;border:1px solid var(--chat-line);border-radius:40px;background:var(--chat-paper);color:var(--chat-pine);box-shadow:0 8px 30px #243b2e22}
.support-chat .support-chat__launcher.is-collapsed{width:60px;height:60px;padding:6px}
.support-chat .support-chat__avatar,.support-chat .support-chat__launcher:not(.is-collapsed) .support-chat__avatar{width:46px;height:46px;flex:0 0 46px;border:0}
.support-chat .support-chat__launcher-copy{margin:0}
.support-chat .support-chat__launcher-copy strong{font-size:16px;line-height:1.3}
.support-chat .support-chat__launcher-copy small{color:#6b786c;font-size:12px;line-height:1.3;margin-top:3px}
.support-chat .support-chat__online,.support-chat .support-chat__launcher:not(.is-collapsed) .support-chat__online{width:12px;height:12px;left:43px;right:auto;bottom:8px;border:2px solid var(--chat-paper)}
.support-chat .support-chat__hint{background:var(--chat-paper);color:#294c40;border:1px solid var(--chat-line)}
.support-chat .support-chat__panel{position:fixed;inset:auto 24px 100px auto;width:min(400px,calc(100vw - 32px));max-width:calc(100vw - 32px);min-width:0;height:min(650px,calc(100dvh - 132px));max-height:calc(100dvh - 132px);border:1px solid #d8e1d5;border-radius:22px;background:var(--chat-paper);box-shadow:0 18px 60px #1c352c26,0 2px 8px #1c352c0d;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto auto;overflow:hidden}
.support-chat .support-chat__panel:not([hidden]){display:grid}
.support-chat .support-chat__header{display:grid;grid-template-columns:44px minmax(0,1fr) 36px;gap:12px;align-items:center;min-width:0;padding:18px;background:var(--chat-pine);color:#fffefa}
.support-chat .support-chat__header>img{width:44px;height:44px;margin:0;border:2px solid #ffffff55}
.support-chat .support-chat__header>div{min-width:0}
.support-chat .support-chat__header strong{font-size:16px;line-height:1.3;font-weight:600}
.support-chat .support-chat__header small{margin-top:4px;font-size:11px;line-height:1.4;opacity:.85}
.support-chat .support-chat__header button{width:36px;height:36px;min-width:0;padding:0;border-radius:50%;background:#ffffff14;font-size:26px;line-height:1;color:#fffefa}
.support-chat__messengers{padding:11px 16px 12px;border-bottom:1px solid var(--chat-line);background:var(--chat-paper)}
.support-chat__messengers>span{display:block;margin-bottom:8px;font-size:11px;line-height:1.3;color:#748174}
.support-chat__messengers>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.support-chat .support-chat__messenger{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:35px;padding:7px 10px;border:1px solid var(--chat-line);border-radius:10px;background:#f8faf5;color:#344c3c;text-decoration:none;font-size:12px;font-weight:500;line-height:1.3}
.support-chat__messenger svg{width:17px;height:17px;flex:0 0 17px}
.support-chat__messenger--telegram svg{color:#2785ae}.support-chat__messenger--whatsapp svg{color:#318260}
.support-chat .support-chat__messenger:hover{background:#edf3e9;border-color:#b8cbb6}
.support-chat .support-chat__messages{min-width:0;min-height:0;padding:16px;overflow:auto;overscroll-behavior:contain;background:#f3f5ef}
.support-chat .support-chat__message{max-width:94%;padding:12px 14px;font-size:14px;line-height:1.5;border-radius:15px}
.support-chat .support-chat__message--manager{margin-left:0;background:#fffefa}.support-chat .support-chat__message--manager::before{display:none}
.support-chat .support-chat__message--visitor{background:var(--chat-pine);color:#fffefa}
.support-chat .support-chat__topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.support-chat .support-chat__topics>button{min-width:0;min-height:44px;padding:10px 12px;border:1px solid #dfe6d9;border-radius:12px;background:#fffefa;color:#38533f;font-size:13px;line-height:1.4;font-weight:500;white-space:normal;overflow-wrap:anywhere}
.support-chat .support-chat__topics>button:nth-child(n+3),.support-chat .support-chat__topics>div{grid-column:1/-1}
.support-chat .support-chat__topics>button:hover{background:#eaf0e4}
.support-chat .support-chat__form{display:grid;grid-template-columns:32px 32px minmax(0,1fr) 32px 36px;gap:5px;align-items:center;width:100%;max-width:100%;min-width:0;padding:12px;border-top:1px solid var(--chat-line);background:var(--chat-paper)}
.support-chat .support-chat__form input[name=message]{grid-column:3;width:100%;max-width:100%;min-width:0;height:40px;padding:9px;border:1px solid #dae2d5;border-radius:12px;background:#f7f9f3;color:#243c2d;font-family:inherit;font-size:16px;line-height:1.3}
.support-chat .support-chat__form:has([data-chat-voice][hidden]) input[name=message]{grid-column:3/5}
.support-chat .support-chat__form button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:38px;min-width:0;margin:0;padding:0;border:0;border-radius:10px;background:transparent;color:#57715b;font-size:21px;line-height:1;cursor:pointer}
.support-chat .support-chat__form button svg{width:19px;height:19px;max-width:19px;flex:0 0 19px}
.support-chat .support-chat__form button[data-chat-voice]{grid-column:4}
.support-chat .support-chat__form button[type=submit]{grid-column:5;width:36px;background:var(--chat-pine);color:#fffefa;font-size:23px}
.support-chat .support-chat__form button:disabled{opacity:.45;cursor:progress}
.support-chat .support-chat__emoji{width:100%;min-width:0;max-width:100%;padding:10px;border-top:1px solid var(--chat-line)}
.support-chat .support-chat__rec{grid-column:1/-1;max-width:100%;min-width:0}
.support-chat a:focus-visible,.support-chat button:focus-visible,.support-chat input:focus-visible{outline:2px solid #81a489;outline-offset:2px}
@media(max-width:650px){.support-chat,.product-page .support-chat{right:16px;bottom:20px}.support-chat .support-chat__panel{inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0}.support-chat .support-chat__header{padding:max(14px,env(safe-area-inset-top)) 14px 14px}.support-chat .support-chat__form{padding:10px 10px max(10px,env(safe-area-inset-bottom))}.support-chat .support-chat__messengers{padding:10px 14px}}
@media(prefers-reduced-motion:reduce){.support-chat *,.support-chat *::before{animation:none!important;transition:none!important}}
