#kklcb-root{--kklcb-red:#151718;--kklcb-ink:#242c35;--kklcb-muted:#66717d;--kklcb-border:#e6e9ed;font-family:Tahoma,"Noto Sans Thai",system-ui,sans-serif;font-size:14px;line-height:1.65;color:var(--kklcb-ink);position:relative;z-index:99990}#kklcb-root *{box-sizing:border-box}#kklcb-root [hidden]{display:none!important}#kklcb-root button,#kklcb-root textarea{font:inherit}#kklcb-root button{cursor:pointer;text-transform:none;letter-spacing:normal;margin:0}#kklcb-root button:focus-visible,#kklcb-root a:focus-visible,#kklcb-root textarea:focus-visible{outline:3px solid #e99a23;outline-offset:3px}#kklcb-root .kklcb-launch{position:fixed;right:24px;bottom:calc(24px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:10px;background:var(--kklcb-red);color:white;border:0;border-radius:40px;padding:14px 20px;box-shadow:0 6px 24px #15171830;font-weight:700;min-height:52px}#kklcb-root .kklcb-launch svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}#kklcb-root .kklcb-panel{position:fixed;right:24px;bottom:calc(92px + env(safe-area-inset-bottom));width:400px;max-width:calc(100vw - 32px);height:620px;max-height:calc(100dvh - 124px);display:flex;flex-direction:column;background:#fff;border:1px solid var(--kklcb-border);border-radius:20px;box-shadow:0 16px 65px #15242f2b;overflow:hidden}#kklcb-root .kklcb-head{display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid var(--kklcb-border);background:#fff}#kklcb-root .kklcb-head strong{font-size:16px;display:block}#kklcb-root .kklcb-head small{display:block;color:var(--kklcb-muted);font-size:11px;margin-top:2px}#kklcb-root .kklcb-mark{background:var(--kklcb-red);color:white;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;font-weight:800;font-size:15px}#kklcb-root .kklcb-close{margin-left:auto;background:none;color:#697480;border:0;font-size:26px;padding:0;width:38px;height:40px;border-radius:8px}#kklcb-root .kklcb-messages{flex:1;min-height:80px;overflow:auto;padding:20px 18px;overscroll-behavior:contain;background:#fafbfc}#kklcb-root .kklcb-message{margin:0 0 18px;max-width:100%}#kklcb-root .kklcb-message>small{display:block;color:var(--kklcb-muted);font-size:10px;margin-bottom:5px}#kklcb-root .kklcb-copy{white-space:pre-wrap;overflow-wrap:anywhere;padding:12px 14px;background:#fff;border:1px solid var(--kklcb-border);border-radius:3px 14px 14px 14px;font-size:13px}#kklcb-root .kklcb-user{margin-left:35px}#kklcb-root .kklcb-user>small{text-align:right}#kklcb-root .kklcb-user .kklcb-copy{background:#fff8d7;border-color:#f0e5b3;border-radius:14px 3px 14px 14px}#kklcb-root .kklcb-sources{display:grid;gap:6px;margin:8px 0}#kklcb-root .kklcb-sources a{display:block;padding:9px 12px;border:1px solid var(--kklcb-border);border-radius:9px;background:#fff;color:#3e3520;font-size:12px;text-decoration:none;overflow-wrap:anywhere}#kklcb-root .kklcb-sources a:hover{text-decoration:underline;background:#fff8d7}#kklcb-root .kklcb-chips{display:flex;gap:6px;overflow:auto;padding:12px 14px 4px;flex-shrink:0}#kklcb-root .kklcb-chips button{white-space:nowrap;background:#fff;border:1px solid var(--kklcb-border);border-radius:20px;padding:6px 10px;color:#59636e;font-size:10px;min-height:32px}#kklcb-root .kklcb-status{font-size:11px;color:#6b5315;margin:0;padding:3px 16px;min-height:8px}#kklcb-root .kklcb-turnstile{margin:0 14px}#kklcb-root .kklcb-form{display:flex;align-items:flex-end;gap:8px;margin:6px 14px 10px;padding:9px;border:1px solid #d5dae1;border-radius:12px;background:#fff}#kklcb-root textarea{flex:1;min-width:0;max-height:110px;resize:none;border:0!important;background:#fff!important;color:var(--kklcb-ink)!important;box-shadow:none!important;padding:4px;font-size:13px;line-height:1.6}#kklcb-root .kklcb-send{border:0;border-radius:9px;background:var(--kklcb-red);color:#fff;padding:8px 12px;font-size:12px;min-height:38px}#kklcb-root button:disabled{cursor:default;opacity:.5}#kklcb-root .kklcb-foot{font-size:9px;color:var(--kklcb-muted);padding:0 16px 12px;text-align:center;background:#fff}#kklcb-root .kklcb-foot a{color:#6a707a;text-decoration:underline}#kklcb-root .kklcb-clear{background:transparent;border:0;padding:2px 6px;font-size:9px;color:#6a707a;text-decoration:underline}#kklcb-root .kklcb-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:480px){#kklcb-root .kklcb-launch{right:16px;bottom:calc(16px + env(safe-area-inset-bottom));padding:13px 16px;font-size:13px}#kklcb-root .kklcb-panel{right:12px;bottom:calc(82px + env(safe-area-inset-bottom));max-width:calc(100vw - 24px);width:400px;max-height:calc(100dvh - 106px);border-radius:16px}#kklcb-root .kklcb-head{padding:14px 16px}#kklcb-root textarea{font-size:16px}}@media(prefers-reduced-motion:no-preference){#kklcb-root .kklcb-launch{transition:transform .15s}#kklcb-root .kklcb-launch:hover{transform:translateY(-2px)}}

/* KhonKaenLink AI avatar: generated from the original yellow/black brand mark. */
#kklcb-root .kklcb-avatar{display:block;object-fit:contain;flex-shrink:0}
#kklcb-root .kklcb-launch{color:#ffe019;padding:10px 18px 10px 12px}
#kklcb-root .kklcb-launch-avatar{width:34px;height:34px}
#kklcb-root .kklcb-mark{background:#fff8d7;border:1px solid #f3e6aa;width:52px;height:52px;border-radius:15px;flex-shrink:0}
#kklcb-root .kklcb-mark img{width:44px;height:44px}
#kklcb-root .kklcb-send{color:#ffe019;font-weight:700}
#kklcb-root .kklcb-sources a{border-color:#e9dfbf;background:#fffdf5}
