/* Thermal Group chat v2. Fully scoped, original CSS; no imports. */
:root{--tgc-blue:#0F3969;--tgc-red:#F11626;--tgc-ink:#172b46;--tgc-line:#e6ebf2}
.tgc-root,.tgc-root *{box-sizing:border-box}
.tgc-root{position:fixed;z-index:2147481000;right:24px;bottom:22px;font:500 14px/1.5 Montserrat,Arial,sans-serif;color:var(--tgc-ink);-webkit-font-smoothing:antialiased}
.tgc-root button,.tgc-root input,.tgc-root textarea{font:inherit}.tgc-root button{cursor:pointer}.tgc-root button:focus-visible,.tgc-root input:focus-visible,.tgc-root textarea:focus-visible,.tgc-root summary:focus-visible{outline:3px solid #f7b1b8;outline-offset:2px}
.tgc-root .tgc-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;line-height:0}
.tgc-launch{display:flex;align-items:center;gap:12px;padding:8px 13px 8px 8px!important;min-height:63px;border:1px solid rgba(255,255,255,.2)!important;border-radius:19px!important;background:linear-gradient(130deg,#14477b,#0a315e)!important;color:#fff!important;box-shadow:0 9px 14px #0b2e4e20,0 19px 43px #09284a34!important;transition:transform .25s ease,box-shadow .25s ease;line-height:1.2!important}
.tgc-launch:hover{transform:translateY(-4px);box-shadow:0 15px 45px #09284a55!important}.tgc-launch-icon{position:relative;display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#fff;color:#0F3969}.tgc-launch-icon:after{content:'';position:absolute;right:-2px;top:-2px;width:10px;height:10px;border-radius:100%;background:#41d5a9;border:2px solid #0F3969}.tgc-launch-icon svg{width:22px;height:22px}
.tgc-launch-text{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:105px}.tgc-launch-text strong{font-weight:750;font-size:13px;color:#fff}.tgc-launch-text small{font-size:10px;font-weight:500;color:#cbdff1}.tgc-launch-chevron{margin-left:1px;padding:0 4px;font-size:25px;font-weight:300;color:#c8dbec}.tgc-open{opacity:0;pointer-events:none;transform:scale(.85)}
.tgc-window{position:absolute;right:0;bottom:1px;width:395px;height:min(650px,calc(100dvh - 50px));max-width:calc(100vw - 25px);background:#fff;border:1px solid #dfe7f0;border-radius:24px;overflow:hidden;box-shadow:0 27px 90px #07233c38,0 6px 20px #092d4826;display:flex;flex-direction:column;transform-origin:bottom right;animation:tgc-appear .32s cubic-bezier(.2,.8,.2,1) both}
.tgc-window[hidden]{display:none!important}@keyframes tgc-appear{from{opacity:0;transform:translateY(15px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
.tgc-top{position:relative;flex:0 0 auto;display:flex;justify-content:space-between;align-items:center;padding:20px 19px 18px;background:linear-gradient(118deg,#0F3969,#174d82);color:#fff;overflow:hidden}.tgc-top:before,.tgc-top:after{position:absolute;content:'';border-radius:100%;border:1px solid #ffffff20;width:190px;height:190px;right:-71px;top:-96px;pointer-events:none}.tgc-top:after{width:130px;height:130px;right:-27px;top:-61px}.tgc-top-info{display:flex;align-items:center;gap:12px;position:relative;z-index:1}.tgc-avatar{width:42px;height:42px;display:grid;place-items:center;flex:none;border-radius:13px;background:#fff;color:#0F3969;font-weight:850;font-size:13px;letter-spacing:.04em;box-shadow:inset 0 0 0 1px #dce9f6}.tgc-headlines{display:flex;flex-direction:column;gap:4px}.tgc-headlines strong{color:#fff;font-size:13px;letter-spacing:.07em;font-weight:750}.tgc-presence{display:flex;align-items:center;gap:6px;font-size:11px;color:#d3e6f5;font-weight:500}.tgc-presence:before{content:'';width:6px;height:6px;background:#65dfb0;border-radius:50%;box-shadow:0 0 0 4px #65dfb022}.tgc-close{z-index:2;position:relative;display:grid;place-items:center;width:34px;height:34px;border:1px solid #ffffff39!important;border-radius:11px!important;color:#fff!important;background:#ffffff17!important}.tgc-close:hover{background:#ffffff30!important}.tgc-close svg{width:17px;height:17px}
.tgc-intro{padding:20px 22px 15px;background:linear-gradient(180deg,#f5f9fd,#fff);flex:0 0 auto}.tgc-intro-icon{display:none}.tgc-intro h3{margin:0 0 5px;font-size:20px;line-height:1.28;font-weight:800;letter-spacing:-.035em;color:#153e68}.tgc-intro p{margin:0;color:#657c93;font-size:12px;line-height:1.6}
.tgc-messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;background:#fff;padding:10px 19px 14px;display:flex;flex-direction:column;gap:12px;scrollbar-color:#cad6e3 transparent;scrollbar-width:thin}.tgc-welcome{background:#f0f5fa;border:1px solid #e6eef6;padding:12px 14px;border-radius:15px 15px 15px 5px;max-width:90%;box-shadow:0 3px 10px #113d6710;display:flex;flex-direction:column;gap:4px;align-self:flex-start}.tgc-day{display:none}.tgc-welcome strong{font-size:12px;color:#173c61;font-weight:750}.tgc-welcome p{color:#425c74;font-size:12px;line-height:1.6;margin:0}.tgc-msg{display:flex;gap:8px;max-width:94%;align-items:flex-end;animation:tgc-msg-in .23s ease both}.tgc-mine{align-self:flex-end}.tgc-theirs{align-self:flex-start}.tgc-msg-avatar{flex:none;display:grid;place-items:center;border-radius:9px;width:26px;height:26px;background:#e7eef7;color:#17436d;font-size:9px;font-weight:800;margin-bottom:4px}.tgc-bubble{background:#edf3f9;color:#1f415f;padding:10px 12px;border-radius:15px 15px 15px 4px;box-shadow:0 1px 3px #153b6020;overflow-wrap:anywhere}.tgc-mine .tgc-bubble{background:linear-gradient(138deg,#154d86,#0F3969);color:#fff;border-radius:15px 15px 4px 15px}.tgc-msg-text{white-space:pre-wrap;font-size:12px;line-height:1.65}.tgc-msg-time{display:block;text-align:right;margin-top:3px;color:#7292ae;font-size:9px}.tgc-mine .tgc-msg-time{color:#c8dcf0}@keyframes tgc-msg-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.tgc-quick{padding:0 0 6px}.tgc-quick[hidden]{display:none}.tgc-quick-label{font-size:10px;font-weight:700;letter-spacing:.05em;color:#8193a5;margin:3px 0 10px;text-transform:uppercase}.tgc-chips{display:flex;flex-wrap:wrap;gap:7px}.tgc-chip{border:1px solid #dbe6f0!important;background:#fff!important;color:#245481!important;border-radius:999px!important;padding:9px 11px!important;font-size:11px!important;font-weight:650!important;transition:background .2s,border-color .2s,transform .2s}.tgc-chip:hover{background:#edf6fc!important;border-color:#b3cadf!important;transform:translateY(-1px)}
.tgc-alert{flex:0 0 auto;color:#a72332;background:#fff0f1;margin:0 16px;padding:8px 11px;font-size:11px;border-radius:9px}.tgc-alert[hidden]{display:none}
.tgc-contact{flex:0 0 auto;border-top:1px solid #edf1f6;padding:0 16px;background:#fdfefe}.tgc-contact-summary{list-style:none;padding:12px 3px;display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;color:#466680;cursor:pointer;user-select:none}.tgc-contact-summary::-webkit-details-marker{display:none}.tgc-contact-summary .tgc-icon svg{width:15px;height:15px}.tgc-contact-caret{margin-left:auto;color:#95a4b2;font-size:20px;transition:transform .2s}.tgc-contact[open] .tgc-contact-caret{transform:rotate(180deg)}.tgc-contact-help{margin:0 2px 9px;color:#72899f;font-size:10px;line-height:1.5}.tgc-contact-form{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding-bottom:12px}.tgc-contact-form input{width:100%;min-width:0;padding:10px 11px;border:1px solid #dce4ed!important;background:#fff!important;color:#173659!important;border-radius:9px!important;outline:none;font-size:12px}.tgc-contact-form input:first-child,.tgc-contact-form input:nth-child(3){grid-column:1/-1}.tgc-contact-form input:focus{border-color:#5e87b0!important}.tgc-save{grid-column:1/-1;background:#0F3969!important;border:0!important;color:#fff!important;border-radius:9px!important;padding:10px!important;font-size:11px!important;font-weight:750!important}
.tgc-bottom{background:#fff;border-top:1px solid #e9eef4;padding:12px 14px 10px;flex:0 0 auto}.tgc-compose{display:flex;align-items:flex-end;gap:8px;border:1px solid #dce5ee;border-radius:14px;background:#f7f9fc;padding:5px 5px 5px 12px;transition:border-color .2s,box-shadow .2s}.tgc-compose:focus-within{border-color:#7ea1c6;box-shadow:0 0 0 3px #b4cde32c}.tgc-input{min-width:0;resize:none;overflow-y:auto;max-height:112px;flex:1;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#183b5a!important;padding:10px 0!important;font-size:13px!important;line-height:1.5!important;min-height:40px!important;letter-spacing:0!important}.tgc-input::placeholder{color:#8da0b1}.tgc-send{flex:none;display:grid;place-items:center;width:42px;height:42px;border:0!important;border-radius:11px!important;background:var(--tgc-red)!important;color:#fff!important;box-shadow:0 5px 15px #f1162633;transition:transform .2s,background .2s}.tgc-send:hover{transform:translateY(-2px);background:#cb1220!important}.tgc-send:disabled{opacity:.55;cursor:progress}.tgc-send svg{width:19px;height:19px}.tgc-footnote{text-align:center;font-size:9px;color:#91a1b0;padding-top:8px;letter-spacing:.005em}
@media(max-width:600px){.tgc-root{right:14px;bottom:max(16px,env(safe-area-inset-bottom))}.tgc-launch{min-height:57px;border-radius:17px!important;padding:7px 11px 7px 7px!important}.tgc-launch-icon{width:42px;height:42px}.tgc-window{position:fixed;right:0;bottom:0;width:100vw;max-width:none;height:min(740px,calc(100dvh - 15px));border:0;border-radius:24px 24px 0 0;box-shadow:0 -10px 55px #031e334a}.tgc-top{padding:20px 20px}.tgc-intro{padding:21px 21px 14px}.tgc-messages{padding:10px 18px 18px}.tgc-contact{padding:0 16px}.tgc-bottom{padding:11px 12px calc(13px + env(safe-area-inset-bottom))}.tgc-input{font-size:16px!important}.tgc-contact-form input{font-size:16px}.tgc-root .tgc-launch-text small{font-size:10px}}
@media(max-width:360px){.tgc-root{right:9px;bottom:10px}.tgc-launch-text{min-width:auto}.tgc-launch-text strong{font-size:12px}.tgc-top{padding:16px}.tgc-intro{padding:14px 17px 10px}.tgc-intro h3{font-size:18px}}
@media(prefers-reduced-motion:reduce){.tgc-root *{animation:none!important;transition:none!important}}

.tgc-notification{position:absolute;right:-7px;top:-7px;background:#F11626;color:white;border:2px solid white;min-width:19px;height:19px;padding:0 4px;border-radius:999px;font-size:10px;display:grid;place-items:center;font-weight:800;box-shadow:0 3px 9px #0002}.tgc-notification[hidden]{display:none!important}
/* v4 refinement: tighter layout, real brand logo, optional contact-on-close */
.tgc-root .tgc-window{height:min(615px,calc(100dvh - 58px));border-radius:22px;isolation:isolate}
.tgc-root .tgc-top{padding:16px 19px;min-height:79px}
.tgc-root .tgc-avatar{width:46px;height:46px;border-radius:12px;overflow:hidden;padding:4px}
.tgc-root .tgc-brand-logo{display:block;width:100%;height:100%;object-fit:contain}
.tgc-root .tgc-intro{padding:17px 20px 13px}
.tgc-root .tgc-intro h3{font-size:19px}
.tgc-root .tgc-intro p{font-size:11.5px}
.tgc-root .tgc-messages{padding:16px 18px 20px;gap:13px}
.tgc-root .tgc-welcome{max-width:88%;padding:13px 15px;border-radius:14px 14px 14px 5px}
.tgc-root .tgc-msg-avatar .tgc-icon svg{width:16px;height:16px}
.tgc-root .tgc-exit{position:absolute;inset:79px 0 0;z-index:4;background:linear-gradient(145deg,#f6f9fe,#fff 54%);padding:35px 24px 24px;overflow:auto;animation:tgc-appear .28s both}
.tgc-root .tgc-exit[hidden],.tgc-root .tgc-exit [hidden]{display:none!important}
.tgc-root .tgc-exit-top{text-align:center;margin:0 auto 25px;max-width:310px}
.tgc-root .tgc-exit-emoji{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 14px;border-radius:18px;background:#e8f0f9;font-size:30px}
.tgc-root .tgc-exit h3{color:#103b68;font-size:20px;line-height:1.35;font-weight:800;letter-spacing:-.025em;margin:0 0 11px}
.tgc-root .tgc-exit p{color:#6a7f97;font-size:12px;margin:0;line-height:1.6}
.tgc-root .tgc-close-choice{display:grid;gap:10px;margin-top:30px}
.tgc-root .tgc-choice-yes,.tgc-root .tgc-save{background:#F11626!important;color:#fff!important;border:0!important;border-radius:12px!important;padding:14px!important;font-weight:750!important;box-shadow:0 8px 20px #f1162620}
.tgc-root .tgc-choice-later,.tgc-root .tgc-later,.tgc-root .tgc-exit-back{background:#fff!important;border:1px solid #dce6f0!important;color:#284e72!important;border-radius:12px!important;padding:13px!important;font-weight:700!important}
.tgc-root .tgc-contact-form{display:flex;flex-direction:column;gap:10px}
.tgc-root .tgc-contact-form input:not([type=checkbox]){border:1px solid #dce5ef!important;padding:13px 14px;background:#fff!important;border-radius:11px!important;font-size:13px}
.tgc-root .tgc-consent{display:flex;align-items:flex-start;gap:9px;font-size:11px;color:#54708b;line-height:1.5;cursor:pointer;margin:2px 0}
.tgc-root .tgc-consent input{margin:3px 0 0;accent-color:#0F3969;flex:none}
.tgc-root .tgc-exit-error{color:#b22132!important;background:#ffeef0;border-radius:9px;padding:8px!important}
.tgc-root .tgc-new-in .tgc-bubble{animation:tgc-new-pulse 1.1s ease}
@keyframes tgc-new-pulse{0%{box-shadow:0 0 0 0 #35ba955c}55%{box-shadow:0 0 0 9px #35ba9500}100%{box-shadow:0 1px 3px #153b6020}}
.tgc-root .tgc-ring{animation:tgc-ring 1.2s ease-in-out 2}
@keyframes tgc-ring{0%,100%{transform:rotate(0)}15%{transform:rotate(-7deg)}30%{transform:rotate(8deg)}45%{transform:rotate(-5deg)}60%{transform:rotate(4deg)}}
@media(max-width:600px){.tgc-root .tgc-window{height:min(735px,calc(100dvh - 10px));border-radius:23px 23px 0 0}.tgc-root .tgc-top{min-height:80px}.tgc-root .tgc-exit{inset:80px 0 0;padding:33px 22px 25px}.tgc-root .tgc-contact-form input:not([type=checkbox]){font-size:16px!important}.tgc-root .tgc-intro{padding:19px 20px 13px}}
@media(prefers-reduced-motion:reduce){.tgc-root .tgc-new-in .tgc-bubble,.tgc-root .tgc-ring{animation:none!important}}

/* Thermal Group v4.2 — contact form repair; no changes to Telegram or email. */
.tgc-root .tgc-window { min-width:0!important; max-width:calc(100vw - 25px)!important; }
.tgc-root .tgc-exit, .tgc-root .tgc-contact-form, .tgc-root .tgc-form-fields, .tgc-root .tgc-form-actions { min-width:0!important; max-width:100%!important; }
.tgc-root .tgc-exit { display:flex!important; flex-direction:column!important; overflow:hidden!important; padding:17px 18px max(14px, env(safe-area-inset-bottom))!important; width:100%!important; text-align:left!important; }
.tgc-root .tgc-exit[hidden], .tgc-root .tgc-exit [hidden] { display:none!important; }
.tgc-root .tgc-exit-top { flex:0 0 auto!important; width:100%; margin:0 auto 12px!important; text-align:center!important; padding:0!important; }
.tgc-root .tgc-exit-emoji { width:42px!important; height:42px!important; margin:0 auto 8px!important; font-size:22px!important; border-radius:12px!important; }
.tgc-root .tgc-exit-top h3 { font-size:17px!important; line-height:1.25!important; margin:0 auto 6px!important; max-width:340px!important; }
.tgc-root .tgc-exit-top p { font-size:11px!important; line-height:1.45!important; max-width:330px!important; margin:0 auto!important; }
.tgc-root .tgc-close-choice { flex:0 0 auto!important; margin:14px auto 0!important; width:100%!important; max-width:350px!important; gap:10px!important; }
.tgc-root .tgc-contact-form { flex:1 1 auto!important; min-height:0!important; width:100%!important; display:flex!important; flex-direction:column!important; gap:0!important; padding:0!important; margin:0!important; overflow:hidden!important; border:0!important; background:transparent!important; box-shadow:none!important; }
.tgc-root .tgc-form-fields { flex:1 1 auto!important; min-height:0!important; display:flex!important; flex-direction:column!important; gap:9px!important; overflow-x:hidden!important; overflow-y:auto!important; overscroll-behavior:contain!important; -webkit-overflow-scrolling:touch; padding:2px 3px 8px!important; }
.tgc-root .tgc-contact-form .tgc-form-fields > input:not([type=checkbox]) { flex:0 0 auto!important; display:block!important; width:100%!important; max-width:100%!important; min-width:0!important; height:44px!important; min-height:44px!important; margin:0!important; padding:0 12px!important; box-sizing:border-box!important; border-radius:10px!important; border:1px solid #dce5ef!important; background:#fff!important; color:#173659!important; font:500 14px/1.3 Montserrat,Arial,sans-serif!important; letter-spacing:0!important; box-shadow:none!important; text-align:left!important; }
.tgc-root .tgc-contact-form .tgc-form-fields > input:not([type=checkbox])::placeholder { color:#8899a8!important; opacity:1!important; }
.tgc-root .tgc-contact-form .tgc-form-fields > input:not([type=checkbox]):focus { outline:2px solid #b9d0e5!important; outline-offset:0!important; border-color:#638bad!important; }
.tgc-root .tgc-contact-form .tgc-consent { display:flex!important; flex:0 0 auto!important; flex-direction:row!important; align-items:flex-start!important; justify-content:flex-start!important; width:100%!important; max-width:100%!important; min-width:0!important; gap:10px!important; padding:2px 0!important; margin:0!important; white-space:normal!important; text-align:left!important; color:#54708b!important; font:500 11px/1.45 Montserrat,Arial,sans-serif!important; overflow-wrap:anywhere!important; }
.tgc-root .tgc-contact-form .tgc-consent input[type=checkbox] { display:block!important; flex:0 0 18px!important; width:18px!important; min-width:18px!important; max-width:18px!important; height:18px!important; min-height:18px!important; max-height:18px!important; margin:0!important; padding:0!important; border:1px solid #879fb2!important; border-radius:5px!important; background:#fff!important; box-sizing:border-box!important; appearance:auto!important; -webkit-appearance:checkbox!important; accent-color:#0F3969!important; grid-column:auto!important; }
.tgc-root .tgc-contact-form .tgc-consent span { display:block!important; flex:1 1 0!important; width:auto!important; min-width:0!important; max-width:100%!important; white-space:normal!important; line-height:1.45!important; overflow-wrap:break-word!important; }
.tgc-root .tgc-contact-form .tgc-exit-error { flex:0 0 auto!important; margin:0!important; font-size:11px!important; white-space:normal!important; overflow-wrap:anywhere!important; }
.tgc-root .tgc-form-actions { flex:0 0 auto!important; width:100%!important; display:grid!important; grid-template-columns:1fr 1fr!important; gap:8px!important; padding:11px 2px 2px!important; border-top:1px solid #e6eef6!important; background:#fff!important; }
.tgc-root .tgc-form-actions button { display:block!important; position:static!important; width:100%!important; max-width:100%!important; min-width:0!important; height:42px!important; min-height:42px!important; margin:0!important; padding:0 8px!important; box-sizing:border-box!important; text-align:center!important; font:700 12px/1.3 Montserrat,Arial,sans-serif!important; white-space:normal!important; border-radius:10px!important; text-transform:none!important; letter-spacing:0!important; }
.tgc-root .tgc-form-actions .tgc-save { grid-column:1/-1!important; order:0!important; }
.tgc-root .tgc-form-actions .tgc-exit-back { grid-column:1!important; order:1!important; }
.tgc-root .tgc-form-actions .tgc-later { grid-column:2!important; order:2!important; }
@media(max-width:600px) { .tgc-root .tgc-window { width:100vw!important;max-width:100vw!important; } .tgc-root .tgc-exit { padding:15px 14px max(12px,env(safe-area-inset-bottom))!important; } .tgc-root .tgc-contact-form .tgc-form-fields > input:not([type=checkbox]) { font-size:16px!important; } }
@media(max-height:700px) { .tgc-root .tgc-exit { padding-top:11px!important; } .tgc-root .tgc-exit-top { margin-bottom:9px!important; } .tgc-root .tgc-exit-emoji { display:none!important; } .tgc-root .tgc-exit-top h3 { font-size:16px!important; } .tgc-root .tgc-exit-top p { font-size:10px!important; } .tgc-root .tgc-form-fields { gap:7px!important; } }


/* TG MOBILE-COMPACT v4.3 -- phone-only sizing refinements; no desktop or behaviour changes. */
@media screen and (max-width: 600px) {
  .tgc-root .tgc-window {
    position: fixed !important;
    right: 12px !important;
    left: auto !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
    width: min(370px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    height: min(600px, 78dvh) !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 24px) !important;
    border: 1px solid #dbe4ee !important;
    border-radius: 19px !important;
    box-shadow: 0 12px 45px rgba(8,35,61,.25) !important;
  }
  .tgc-root .tgc-top { height: 57px !important; min-height: 57px !important; padding: 9px 12px !important; }
  .tgc-root .tgc-top-info { gap: 9px !important; min-width: 0 !important; }
  .tgc-root .tgc-avatar { width: 36px !important; height: 36px !important; padding: 3px !important; border-radius: 10px !important; }
  .tgc-root .tgc-headlines { min-width: 0 !important; gap: 1px !important; }
  .tgc-root .tgc-headlines strong { font-size: 11.5px !important; letter-spacing: .055em !important; }
  .tgc-root .tgc-presence { font-size: 9px !important; gap: 5px !important; }
  .tgc-root .tgc-close { width: 29px !important; height: 29px !important; border-radius: 9px !important; }
  .tgc-root .tgc-close svg { width: 15px !important; height: 15px !important; }
  .tgc-root .tgc-intro { padding: 10px 14px 8px !important; }
  .tgc-root .tgc-intro h3 { font-size: 16px !important; line-height: 1.22 !important; margin-bottom: 3px !important; }
  .tgc-root .tgc-intro p { font-size: 10.5px !important; line-height: 1.4 !important; }
  .tgc-root .tgc-messages { padding: 10px 12px 10px !important; gap: 8px !important; }
  .tgc-root .tgc-welcome { max-width: 88% !important; padding: 9px 10px !important; gap: 3px !important; border-radius: 12px 12px 12px 5px !important; }
  .tgc-root .tgc-welcome strong { font-size: 11px !important; }
  .tgc-root .tgc-welcome p { font-size: 10.5px !important; line-height: 1.45 !important; }
  .tgc-root .tgc-msg { gap: 6px !important; max-width: 94% !important; }
  .tgc-root .tgc-bubble { padding: 7px 9px !important; border-radius: 12px 12px 12px 4px !important; }
  .tgc-root .tgc-mine .tgc-bubble { border-radius: 12px 12px 4px 12px !important; }
  .tgc-root .tgc-msg-text { font-size: 11.5px !important; line-height: 1.45 !important; }
  .tgc-root .tgc-msg-time { font-size: 8px !important; margin-top: 2px !important; }
  .tgc-root .tgc-msg-avatar { width: 23px !important; height: 23px !important; }
  .tgc-root .tgc-quick-label { margin: 2px 0 6px !important; font-size: 9px !important; }
  .tgc-root .tgc-chips { gap: 5px !important; }
  .tgc-root .tgc-chip { padding: 6px 9px !important; font-size: 10px !important; }
  .tgc-root .tgc-contact { padding: 0 10px !important; }
  .tgc-root .tgc-contact-summary { padding: 7px 3px !important; }
  .tgc-root .tgc-bottom { padding: 7px 9px 7px !important; }
  .tgc-root .tgc-compose { align-items: center !important; gap: 5px !important; min-height: 46px !important; padding: 3px 4px 3px 10px !important; border-radius: 12px !important; }
  .tgc-root .tgc-input { min-height: 34px !important; padding: 6px 0 !important; font-size: 16px !important; line-height: 1.35 !important; }
  .tgc-root .tgc-send { width: 37px !important; height: 37px !important; border-radius: 10px !important; }
  .tgc-root .tgc-send svg { width: 17px !important; height: 17px !important; }
  .tgc-root .tgc-footnote { font-size: 8px !important; padding-top: 3px !important; }
  /* Preserve the functional v4.2 close-chat contact form within the smaller panel. */
  .tgc-root .tgc-exit { inset: 57px 0 0 !important; padding: 12px 13px max(10px, env(safe-area-inset-bottom)) !important; }
  .tgc-root .tgc-exit-top { margin-bottom: 9px !important; }
  .tgc-root .tgc-exit-emoji { width: 32px !important; height: 32px !important; font-size: 18px !important; margin-bottom: 6px !important; }
  .tgc-root .tgc-exit-top h3 { font-size: 15px !important; }
  .tgc-root .tgc-exit-top p { font-size: 10px !important; }
  .tgc-root .tgc-form-fields { gap: 6px !important; }
  .tgc-root .tgc-contact-form .tgc-form-fields > input:not([type=checkbox]) { height: 40px !important; min-height: 40px !important; font-size: 16px !important; }
  .tgc-root .tgc-form-actions { padding-top: 8px !important; gap: 6px !important; }
  .tgc-root .tgc-form-actions button { height: 39px !important; min-height: 39px !important; }
}
@media screen and (max-width: 600px) and (max-height: 520px) {
  .tgc-root .tgc-window { height: calc(100dvh - 20px) !important; bottom: 10px !important; }
  .tgc-root .tgc-intro { display: none !important; }
  .tgc-root .tgc-exit-emoji { display: none !important; }
}
