/* JIX chat: deliberately small, tactile and inexpensive to render. */
.jix-dock{z-index:190!important}
.jix-dock .jix-character img{width:100%;height:100%;object-fit:contain;display:block}
.jix-dock .jix-bubble{cursor:pointer;bottom:100px;max-width:min(260px,calc(100vw - 145px));font-size:13px;min-height:46px}
.jix-dock .jix-bubble::after{pointer-events:none}
.jix-dock .jix-minimize{display:grid;place-items:center;font:700 20px/1 Nunito,system-ui,sans-serif!important;left:104px!important;bottom:10px!important;width:27px!important;height:27px!important;box-shadow:0 2px 9px #07283a28}
.jix-chat{position:fixed;z-index:191;left:22px;bottom:165px;width:min(368px,calc(100vw - 44px));max-height:min(550px,calc(100dvh - 185px));display:flex;flex-direction:column;overflow:hidden;border:2px solid #173347;border-radius:19px;background:#fff;box-shadow:0 15px 48px #1032463b,4px 5px 0 #9cdceb;font-family:Nunito,system-ui,sans-serif;color:#183347;contain:layout style}
.jix-chat[hidden]{display:none!important}
.jix-chat-head{display:flex;align-items:center;gap:10px;background:#142e3d;color:#fff;padding:14px 16px;flex-shrink:0}
.jix-chat-avatar{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;background:#18bed8;color:#fff;border:1px solid #81e8f6;border-radius:12px;font-size:22px}
.jix-chat-headline{display:flex;flex-direction:column;flex:1;min-width:0;line-height:1.3}
.jix-chat-headline strong{font-size:16px;font-weight:900}
.jix-chat-headline small{font-size:11px;color:#b3dae6;font-weight:800}
.jix-chat-close{display:grid;place-items:center;color:white;border:1px solid #476473;background:#234455;width:30px;height:30px;border-radius:9px;font:700 22px/1 Nunito;cursor:pointer}
.jix-chat-body{overflow:auto;padding:18px 17px 17px;overscroll-behavior:contain}
.jix-chat-message{margin-right:16px;padding:13px 14px 13px 16px;border:1px solid #c3e6ef;border-radius:15px 15px 15px 4px;background:#e7faff;font-size:14px;line-height:1.55;font-weight:800}
.jix-chat-explain{font-size:12px;color:#426170;margin:12px 0 18px;line-height:1.6}
#jix-chat-form{display:flex;flex-direction:column;gap:9px}
#jix-chat-form label{font-size:13px;font-weight:900}
#jix-chat-input{display:block;box-sizing:border-box;width:100%;height:102px;min-height:86px;max-height:170px;resize:vertical;background:#fff;border:1.5px solid #9ebbc7;border-radius:12px;padding:11px 13px;font:600 14px/1.5 Nunito,system-ui,sans-serif;color:#173347}
#jix-chat-input:focus{border-color:#08aacc;outline:3px solid #07c7e52f}
.jix-chat-actions{display:flex;gap:10px;align-items:center;justify-content:space-between}
.jix-chat-actions>span{font-size:10px;line-height:1.35;color:#69808c;max-width:125px}
.jix-chat-send{border:1.5px solid #092b3a;border-radius:11px;background:#13bcda;color:#092b3a;cursor:pointer;font:900 13px Nunito,system-ui,sans-serif;padding:11px 14px;white-space:nowrap}
.jix-chat-send:hover{background:#65e3f2}
.jix-chat-status{font-size:11px;line-height:1.45;color:#526979;margin:2px 0 0;min-height:17px}
.jix-dock.is-chat-open .jix-bubble{display:none!important}
@media(max-width:650px){
 .jix-chat{left:11px;bottom:120px;width:min(352px,calc(100vw - 22px));max-height:min(460px,calc(100dvh - 142px));border-radius:16px}
 .jix-chat-head{padding:11px 13px}
 .jix-chat-body{padding:14px 13px}
 .jix-dock .jix-bubble{left:83px;bottom:81px;max-width:calc(100vw - 109px);font-size:12px}
 .jix-dock .jix-minimize{left:77px!important;bottom:4px!important;width:24px!important;height:24px!important}
}
@media(max-height:600px){.jix-chat{bottom:74px;max-height:calc(100dvh - 86px)}}
@media(prefers-reduced-motion:reduce){.jix-dock .jix-character,.jix-dock .jix-robot,.jix-chat{animation:none!important;transition:none!important}}

body.menu-open .jix-chat{display:none!important}
