/* TETAMET native AI chatbot — RevZ-HF86 */
.tetamet-chatbot{position:fixed;z-index:9500;bottom:22px;display:flex;flex-direction:column;align-items:flex-end;gap:12px;font-family:var(--site-font,Manrope,Arial,sans-serif);color:#102844;pointer-events:none}
.tetamet-chatbot.tcb-pos-right{right:22px}.tetamet-chatbot.tcb-pos-left{left:22px;align-items:flex-start}
.tcb-launcher,.tcb-panel{pointer-events:auto}.tcb-launcher{min-height:54px;border:0;border-radius:999px;background:var(--tcb-primary,#004494);color:#fff;padding:7px 16px 7px 8px;display:flex;align-items:center;gap:9px;box-shadow:0 16px 38px rgba(2,25,58,.25);font:inherit;font-weight:750;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
.tcb-launcher:hover{transform:translateY(-2px);box-shadow:0 19px 44px rgba(2,25,58,.3)}.tcb-launcher:focus-visible,.tcb-icon-btn:focus-visible,.tcb-compose button:focus-visible,.tcb-action:focus-visible{outline:3px solid rgba(36,154,230,.35);outline-offset:3px}
.tcb-launcher-icon,.tcb-avatar{display:grid;place-items:center;flex:0 0 auto;overflow:hidden;background:#fff}.tcb-launcher-icon{width:40px;height:40px;border-radius:50%}.tcb-avatar{width:42px;height:42px;border-radius:12px}.tcb-launcher-icon img,.tcb-avatar img{width:100%;height:100%;object-fit:contain;padding:3px}.tcb-launcher-icon svg{width:23px;height:23px;color:var(--tcb-primary,#004494)}.tcb-avatar svg{width:24px;height:24px;color:var(--tcb-primary,#004494)}
.tcb-panel{width:min(410px,calc(100vw - 28px));height:min(650px,calc(100dvh - 105px));min-height:430px;background:#fff;border:1px solid #d7e3ef;border-radius:22px;box-shadow:0 26px 70px rgba(4,30,66,.28);overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto;transform-origin:bottom right}
.tcb-panel[hidden]{display:none!important}.tcb-pos-left .tcb-panel{transform-origin:bottom left}
.tcb-head{display:flex;align-items:center;gap:10px;padding:14px 14px 13px;background:linear-gradient(135deg,var(--tcb-primary,#004494),#086da9);color:#fff}.tcb-head-copy{min-width:0;display:flex;flex:1;flex-direction:column}.tcb-head-copy strong{font-size:16px;line-height:1.3}.tcb-head-copy small{font-size:12px;opacity:.82;margin-top:2px}.tcb-icon-btn{width:36px;height:36px;border:1px solid rgba(255,255,255,.28);border-radius:10px;background:rgba(255,255,255,.12);color:#fff;font-size:22px;line-height:1;display:grid;place-items:center;cursor:pointer}.tcb-icon-btn:hover{background:rgba(255,255,255,.2)}
.tcb-body{min-height:0;display:flex;flex-direction:column;padding:14px;background:#f7faff}.tcb-messages{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:9px;padding:1px 2px 12px;scrollbar-width:thin}.tcb-message{max-width:88%;padding:10px 12px;border-radius:14px;font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.tcb-message.is-assistant{align-self:flex-start;background:#fff;border:1px solid #dbe7f2;border-bottom-left-radius:5px}.tcb-message.is-user{align-self:flex-end;background:var(--tcb-primary,#004494);color:#fff;border-bottom-right-radius:5px}.tcb-message.is-error{align-self:center;max-width:100%;background:#fff4f4;color:#9f1d1d;border:1px solid #f1c9c9}.tcb-typing{align-self:flex-start;display:flex;gap:4px;padding:11px 13px;background:#fff;border:1px solid #dbe7f2;border-radius:14px}.tcb-typing i{width:6px;height:6px;border-radius:50%;background:#6d8298;animation:tcb-bounce .9s infinite alternate}.tcb-typing i:nth-child(2){animation-delay:.15s}.tcb-typing i:nth-child(3){animation-delay:.3s}@keyframes tcb-bounce{to{transform:translateY(-4px);opacity:.5}}
.tcb-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding-top:2px}.tcb-action{min-height:38px;border:1px solid #cbddeb;border-radius:10px;background:#fff;color:#0a4f85;padding:7px 9px;text-align:center;text-decoration:none;font:inherit;font-size:12px;font-weight:720;display:grid;place-items:center;cursor:pointer}.tcb-action:hover{background:#edf7ff;border-color:#9bc8e6}.tcb-turnstile{margin-top:9px;min-height:0;overflow:hidden}
.tcb-compose{display:grid;grid-template-columns:minmax(0,1fr) 46px;gap:8px;padding:11px;border-top:1px solid #dbe7f2;background:#fff}.tcb-compose textarea{resize:none;width:100%;max-height:112px;min-height:46px;border:1px solid #cbddeb;border-radius:13px;padding:11px 12px;font:inherit;font-size:14px;line-height:1.45;color:#102844;outline:none}.tcb-compose textarea:focus{border-color:#5aa7d5;box-shadow:0 0 0 3px rgba(40,145,210,.12)}.tcb-compose button{width:46px;height:46px;border:0;border-radius:13px;background:var(--tcb-primary,#004494);color:#fff;display:grid;place-items:center;cursor:pointer}.tcb-compose button[disabled]{opacity:.55;cursor:wait}.tcb-compose button svg{width:22px;height:22px}
@media(max-width:560px){.tetamet-chatbot{bottom:12px;right:10px!important;left:10px!important;align-items:stretch!important}.tcb-launcher{align-self:flex-end}.tcb-pos-left .tcb-launcher{align-self:flex-start}.tcb-panel{width:100%;height:min(720px,calc(100dvh - 24px));min-height:0;border-radius:20px}.tetamet-chatbot.is-open .tcb-launcher{display:none}.tcb-head{padding:13px}.tcb-body{padding:12px}.tcb-message{max-width:91%;font-size:14px}.tcb-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.tcb-compose textarea{font-size:16px}}
@media(max-width:360px){.tcb-launcher-label{display:none}.tcb-launcher{padding-right:8px}.tcb-actions{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){.tcb-launcher{transition:none}.tcb-typing i{animation:none}}


/* HF86 integration layering: chatbot sits above the normal floating rail, but below system/modals. */
.tcb-chat-open .floating-action-rail{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
@media(min-width:561px){
  body:has(.translation-progress) .tetamet-chatbot:not(.is-open){bottom:88px}
}
@media(max-width:560px){
  body:has(.translation-progress) .tetamet-chatbot:not(.is-open){bottom:76px}
}
/* RevZ-HF98 — compact circular mobile chatbot launcher */
@media(max-width:560px){.tetamet-chatbot:not(.is-open){left:auto!important;right:12px!important;bottom:14px!important;align-items:flex-end!important}.tcb-launcher{width:50px!important;height:50px!important;min-width:50px!important;min-height:50px!important;padding:5px!important;border-radius:50%!important;gap:0!important;justify-content:center!important}.tcb-launcher-label{display:none!important}.tcb-launcher-icon{width:40px!important;height:40px!important;border-radius:50%!important}.tcb-launcher-icon img{padding:4px!important}.tcb-launcher-icon svg{width:22px!important;height:22px!important}}


/* RevZ-HF125 — visible reCAPTCHA v2 inside chat composer */
.tcb-compose .aicms-recaptcha-shell{grid-column:1/-1;width:100%;min-height:70px;margin:0 0 2px;overflow:hidden}
.tcb-compose .aicms-recaptcha-box{width:304px;min-height:78px;transform:scale(.90);transform-origin:left top}
@media(max-width:340px){.tcb-compose .aicms-recaptcha-shell{min-height:64px}.tcb-compose .aicms-recaptcha-box{transform:scale(.82)}}

/* User-requested closed-chat stair-step choices; no greeting card. */
.tcb-teaser,.tcb-teaser *{box-sizing:border-box}
.tcb-teaser{width:min(310px,calc(100vw - 28px));max-height:calc(100dvh - 105px);overflow-y:auto;display:flex;flex-direction:column;align-items:flex-end;gap:5px;pointer-events:none;scrollbar-width:thin}
.tcb-teaser[hidden],.tetamet-chatbot.is-open .tcb-teaser,body.has-quick-device-modal .tcb-teaser,body:has(.site-header-seoyen [aria-expanded="true"]) .tcb-teaser{display:none!important}
.tcb-teaser-dismiss{appearance:none;display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border:1px solid #d6e5f2;background:#fff;color:#6c8296;font:400 22px/1 Manrope,Arial,sans-serif;padding:0;border-radius:50%;cursor:pointer;pointer-events:auto;box-shadow:0 3px 12px rgba(22,62,103,.08)}
.tcb-teaser-choices{width:100%;display:flex;flex-direction:column;align-items:flex-end;gap:9px}
.tcb-teaser-choice{appearance:none;display:flex;align-items:center;justify-content:space-between;gap:12px;width:calc(100% - 32px);max-width:100%;min-height:44px;border:1px solid #d6e5f2;border-radius:25px;background:#f9fcff;color:#164e80;padding:10px 14px;text-decoration:none;text-align:left;font:600 14px/1.45 Manrope,Arial,sans-serif;box-shadow:0 4px 14px rgba(34,79,122,.055);cursor:pointer;pointer-events:auto;white-space:normal;overflow-wrap:anywhere;animation:tcb-step-cycle 7.2s ease-in-out infinite both}
.tcb-teaser-choice:nth-child(1){align-self:flex-start;animation-delay:0s}.tcb-teaser-choice:nth-child(2){align-self:center;animation-delay:.65s}.tcb-teaser-choice:nth-child(3){align-self:flex-end;animation-delay:1.3s}
.tcb-teaser-choice>span:first-child{min-width:0}.tcb-teaser-arrow{display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;color:#477ca8}
@keyframes tcb-step-cycle{0%,4%{opacity:0;transform:translateY(7px);visibility:hidden}12%,62%{opacity:1;transform:translateY(0);visibility:visible}72%,100%{opacity:0;transform:translateY(-5px);visibility:hidden}}
.tcb-teaser:hover .tcb-teaser-choice,.tcb-teaser:focus-within .tcb-teaser-choice,.tcb-teaser.is-paused .tcb-teaser-choice{animation:none!important;opacity:1;visibility:visible;transform:none}
.tcb-teaser-choice:hover{background:#edf7ff;border-color:#9bc8e6;color:#0a4f85}.tcb-teaser-dismiss:hover{background:#eef5fa}
.tcb-teaser-choice:focus-visible,.tcb-teaser-dismiss:focus-visible{outline:3px solid #378cca;outline-offset:2px}
.tetamet-chatbot:not(.is-open) .tcb-launcher{width:62px;height:62px;min-width:62px;min-height:62px;padding:6px;border-radius:50%;gap:0;justify-content:center}
.tetamet-chatbot:not(.is-open) .tcb-launcher-label{display:none}.tetamet-chatbot:not(.is-open) .tcb-launcher-icon{width:50px;height:50px}
@media(max-width:560px){.tcb-teaser{width:min(310px,calc(100vw - 28px));max-height:calc(100dvh - 100px)}.tcb-teaser-choices{gap:8px}.tcb-teaser-choice{font-size:14px}.tetamet-chatbot:not(.is-open) .tcb-launcher{width:58px!important;height:58px!important;min-width:58px!important;min-height:58px!important;padding:5px!important}.tetamet-chatbot:not(.is-open) .tcb-launcher-icon{width:48px!important;height:48px!important}}
@media(prefers-reduced-motion:reduce){.tcb-teaser-choice{animation:none!important;opacity:1;visibility:visible;transform:none}}

/* User-supplied PNG: no added frame, badge, background or shadow. */
.tetamet-chatbot.tcb-has-robot:not(.is-open) .tcb-launcher{width:180px!important;height:auto!important;min-width:0!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;gap:0!important;transform:none}
.tetamet-chatbot.tcb-has-robot .tcb-launcher-icon{display:block;width:100%!important;height:auto!important;background:transparent!important;border-radius:0!important;overflow:visible}
.tetamet-chatbot.tcb-has-robot .tcb-launcher-icon img{display:block;width:100%;height:auto;object-fit:contain;padding:0!important}
.tetamet-chatbot.tcb-has-robot.is-open .tcb-launcher{display:none!important}
.tetamet-chatbot.tcb-has-robot .tcb-teaser{max-height:calc(100dvh - 205px)}
@media(max-width:560px){.tetamet-chatbot.tcb-has-robot:not(.is-open) .tcb-launcher{width:140px!important}.tetamet-chatbot.tcb-has-robot .tcb-teaser{max-height:calc(100dvh - 160px)}}

/* Reserve the 7px animated travel so suggestions do not create transient scrollbars. */
.tcb-teaser{padding-block:7px;overflow-x:hidden}

/* Occasional presence hint replaces all three quick-choice bubbles. */
.tcb-presence-hint{box-sizing:border-box;display:flex;align-items:center;gap:10px;max-width:calc(100vw - 28px);padding:8px 8px 8px 16px;border:1px solid #d6e5f2;border-radius:22px;background:#f9fcff;color:#164e80;font:600 14px/1.5 Manrope,Arial,sans-serif;box-shadow:0 4px 14px rgba(34,79,122,.08);pointer-events:auto}
.tcb-presence-hint[hidden],.tetamet-chatbot.is-open .tcb-presence-hint,body.has-quick-device-modal .tcb-presence-hint,body:has(.site-header-seoyen [aria-expanded="true"]) .tcb-presence-hint{display:none!important}
.tcb-presence-dismiss{flex:0 0 32px;width:32px;height:32px;border:0;border-radius:50%;background:transparent;color:#6c8296;padding:0;font:400 22px/1 Arial,sans-serif;cursor:pointer}
.tcb-presence-dismiss:focus-visible{outline:3px solid #378cca;outline-offset:1px}
@media(prefers-reduced-motion:reduce){.tcb-presence-hint{display:none!important}}
