/* Lightweight chat, isolated from old Christmas styles. No background blur or loops. */
#tg-chat-root{position:fixed!important;right:44px;bottom:29px;z-index:2850;isolation:isolate;font-family:Inter,system-ui,sans-serif;line-height:1.4;color:#f4fffb!important}
#tg-chat-root *{box-sizing:border-box}
#tg-chat-root .tg-chat-launch{display:flex;align-items:center;gap:10px;min-height:51px;padding:10px 17px;border:1px solid #b8f6d485;border-radius:999px;background:linear-gradient(135deg,#103d39,#082326);box-shadow:0 9px 27px #0009,0 0 12px #a8fae81c;color:#fff!important;font-size:11px;font-weight:850;letter-spacing:.08em;cursor:pointer}
#tg-chat-root .tg-chat-launch-icon{width:24px;height:24px;display:grid;place-items:center;color:#bdf6d8!important}
#tg-chat-root .tg-chat-panel{position:absolute;right:0;bottom:66px;width:min(353px,calc(100vw - 30px));max-height:min(500px,calc(100dvh - 135px));overflow:auto;border-radius:20px;border:1px solid #d5fff055;background:#0b2529!important;box-shadow:0 21px 64px #000b;color:#ecfffb!important}
#tg-chat-root .tg-chat-panel[hidden]{display:none!important}
#tg-chat-root .tg-chat-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:19px 18px 16px;border-bottom:1px solid #bee7de33;background:linear-gradient(140deg,#184c45,#0d2b32)}
#tg-chat-root .tg-chat-header small{display:block;color:#b9ead4!important;letter-spacing:.15em;font-size:9px;font-weight:850}
#tg-chat-root .tg-chat-header h2{margin:7px 0 0!important;font-size:21px!important;line-height:1.25!important;letter-spacing:-.02em;color:#fff!important}
#tg-chat-root .tg-chat-close{position:static!important;min-width:38px!important;height:38px!important;border-radius:11px;border:1px solid #c1eee25d;background:#ffffff12;color:white!important;display:grid;place-items:center;font-size:24px;cursor:pointer}
#tg-chat-root .tg-chat-content{padding:19px 18px 17px;display:flex;flex-direction:column;gap:12px}
#tg-chat-root .tg-chat-content p{margin:0!important;font-size:12px!important;color:#d0ebe5!important;line-height:1.6!important}
#tg-chat-root .tg-chat-content label{font-size:9px!important;font-weight:850!important;letter-spacing:.12em!important;color:#a9dbcf!important}
#tg-chat-root .tg-chat-content textarea{width:100%;min-height:74px;max-height:150px;resize:vertical;border-radius:11px;padding:11px;border:1px solid #adf6e047;background:#062128!important;color:#faffff!important;font:500 13px/1.5 system-ui,sans-serif!important;outline:none}
#tg-chat-root .tg-chat-content textarea:focus{border-color:#adefdb}
#tg-chat-root .tg-chat-whatsapp{min-height:46px;display:grid;place-items:center;padding:10px;border-radius:12px;text-decoration:none;background:#b5f6d4!important;color:#092b2a!important;font-size:11px;font-weight:900;letter-spacing:.08em}
#tg-chat-root .tg-chat-email{text-align:center;font-size:11px;font-weight:700;color:#d9f3ec!important;text-decoration:underline;text-underline-offset:3px}
#tg-chat-root .tg-chat-content>small{font-size:10px;color:#a2c8c0!important;text-align:center}
#tg-chat-root button:focus-visible,#tg-chat-root a:focus-visible{outline:3px solid #f7d69b;outline-offset:3px}
/* White theme: clean, high-contrast light panel */
html.xmas-snow-mode #tg-chat-root .tg-chat-launch{background:linear-gradient(140deg,#e6f7fa,#cdeaf2);border-color:#8eb7c0;color:#0e333c!important}
html.xmas-snow-mode #tg-chat-root .tg-chat-launch-icon{color:#15545a!important}
html.xmas-snow-mode #tg-chat-root .tg-chat-panel{background:#f6fdff!important;border-color:#a4c5cd!important;color:#153d45!important}
html.xmas-snow-mode #tg-chat-root .tg-chat-header{background:linear-gradient(140deg,#d5f0f6,#bfdee8)}
html.xmas-snow-mode #tg-chat-root .tg-chat-header h2,html.xmas-snow-mode #tg-chat-root .tg-chat-header small,html.xmas-snow-mode #tg-chat-root .tg-chat-content p,html.xmas-snow-mode #tg-chat-root .tg-chat-content label,html.xmas-snow-mode #tg-chat-root .tg-chat-email,html.xmas-snow-mode #tg-chat-root .tg-chat-content>small{color:#153d45!important}
html.xmas-snow-mode #tg-chat-root .tg-chat-close{background:#184752;color:#fff!important}
html.xmas-snow-mode #tg-chat-root .tg-chat-content textarea{background:#faffff!important;color:#163a42!important;border-color:#9ec2cc}
@media(max-width:760px){
 #tg-chat-root{right:16px;bottom:78px}
 #tg-chat-root .tg-chat-launch{padding:9px 13px;min-height:48px;box-shadow:0 5px 18px #0008;font-size:10px}
 #tg-chat-root .tg-chat-panel{max-height:calc(100dvh - 172px);bottom:61px}
}
@media(max-width:360px){#tg-chat-root .tg-chat-launch{padding:9px 11px}#tg-chat-root .tg-chat-panel{width:calc(100vw - 24px);right:-4px}}
@media(prefers-reduced-motion:reduce){#tg-chat-root *{transition:none!important;animation:none!important}}
