.kai-live-launcher{position:fixed;right:24px;bottom:24px;z-index:9990;display:flex;align-items:center;gap:13px;border:1px solid #aeca8a;border-radius:99px;padding:14px 20px;background:#223320;color:#f2f8e7;box-shadow:0 10px 35px #172a2133;font:500 14px/1.2 Arial,sans-serif;cursor:pointer}
.kai-live-launcher>span>small{display:block;color:#bdcfa8;font-size:9px;margin-top:4px;letter-spacing:.07em}
.kai-live-launcher__wave{display:flex;gap:3px;align-items:center;height:28px}.kai-live-launcher__wave i{height:12px;width:3px;background:#c9eba5;border-radius:4px}.kai-live-launcher__wave i:nth-child(2){height:24px}.kai-live-launcher__wave i:nth-child(3){height:18px}
body.menu-open .kai-live-launcher,body.trykai-consent-open .kai-live-launcher{display:none!important;visibility:hidden!important;pointer-events:none!important}
.kai-home-live{padding:0;border:1px solid #b7cba5;border-radius:24px;background:#f9fbf4;color:#263421;box-shadow:0 30px 100px #12251055;width:min(560px,calc(100vw - 32px));height:min(780px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);max-width:calc(100vw - 32px);margin:auto;font-family:Arial,Helvetica,sans-serif;overflow:hidden}
.kai-home-live:not([open]){display:none}.kai-home-live::backdrop{background:#15271770;backdrop-filter:blur(5px)}
.kai-home-live[open]{height:min(780px,calc(var(--kai-home-viewport-height,100dvh) - 16px));max-height:calc(var(--kai-home-viewport-height,100dvh) - 16px)}
.kai-home-live *{box-sizing:border-box}.kai-home-live [hidden]{display:none!important}
.kai-home-live .trykai-demo-chat{display:flex;flex-direction:column;height:100%;max-height:100%;min-height:0;padding:0;overflow:hidden;background:#f9fbf4;color:#263421}
.kai-home-live button,.kai-home-live textarea{font:inherit}.kai-home-live button{cursor:pointer;color:#324729;border:1px solid #bdcbae;border-radius:99px;background:#edf3e4;line-height:1.25;min-height:36px;font-size:12px;padding:9px 13px}
.kai-home-live button:disabled{opacity:.45;cursor:default}.kai-home-live button:focus-visible,.kai-home-live a:focus-visible,.kai-home-live textarea:focus-visible{outline:3px solid #668e3b;outline-offset:2px}
.kai-home-live__header{display:flex;justify-content:space-between;align-items:center;padding:22px 24px 17px;gap:16px;flex-shrink:0}
.kai-home-live__identity{display:flex;align-items:center;gap:12px}.kai-home-live__identity img{border-radius:50%;background:#263921;width:43px;height:43px}
.kai-home-live__identity h2{font-size:24px!important;line-height:1.1;margin:0;font-weight:500;letter-spacing:-.04em}.kai-home-live__identity h2 span{font-weight:400;color:#6c8257}
.kai-home-live__identity small{font-size:10px;color:#6a7c59;display:block;margin-top:5px}
.kai-home-live__header>[data-trykai-panel-close]{font-size:24px;background:transparent;border-color:#d2ddc8;width:40px;height:40px;padding:0;line-height:1}
.kai-home-live__toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 24px 14px;border-bottom:1px solid #dce5d2;flex-shrink:0;font-size:10px;color:#647650}
.kai-home-live__toolbar span{display:flex;align-items:center;gap:7px}.kai-home-live__toolbar i{width:5px;height:5px;background:#648f3c;border-radius:50%}
.kai-home-live__toolbar button{font-size:10px;background:transparent;border:none;min-height:28px;padding:4px 0;text-decoration:underline;text-underline-offset:3px}
.kai-home-live .trykai-demo-chat__conversation{flex:1 1 auto;min-height:95px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b1c39a transparent;padding:24px;display:flex;flex-direction:column;gap:19px;scroll-padding:15px}
.kai-home-live .trykai-demo-chat__message{flex:0 0 auto;margin:0;max-width:94%;padding:0;color:#3d5032;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.kai-home-live .trykai-demo-chat__message p{margin:0 0 10px}.kai-home-live .trykai-demo-chat__message p:last-child{margin-bottom:0}.kai-home-live .trykai-demo-chat__message small{font-size:11px;color:#748465}
.kai-home-live__speaker{display:block;font-size:9px;letter-spacing:.15em;color:#6c8355;margin-bottom:9px}
.kai-home-live .trykai-demo-chat__message--visitor{align-self:flex-end;background:#e4eed6;color:#384e2b;padding:13px 16px;border-radius:17px 17px 4px 17px;max-width:86%}
.kai-home-live .trykai-demo-chat__message--error{color:#82422d;background:#fbebe1;border:1px solid #e0bfaa;padding:12px;border-radius:12px}
.kai-home-live .trykai-demo-chat__message--pending{color:#7b8a6c}
.kai-home-live .trykai-demo-chat__message a{color:#396224;text-decoration:underline}
.kai-home-live .trykai-demo-chat__prompts{display:flex;gap:7px;padding:9px 24px;flex-shrink:0;flex-wrap:wrap}
.kai-home-live .is-realtime-active .trykai-demo-chat__prompts{display:none}
.kai-home-live .trykai-demo-chat__prompts button{background:transparent;font-size:10px;min-height:33px;padding:8px 11px}
.kai-home-live .trykai-demo-chat__realtime{padding:13px 24px 10px;background:#eff4e7;border-top:1px solid #dce5d0;flex:0 0 auto}
.kai-home-live .trykai-demo-chat__realtime-actions{display:flex;flex-wrap:wrap;gap:7px}
.kai-home-live [data-trykai-demo-realtime-start]{background:#2c4425;color:#f6ffed;border-color:#2c4425}
.kai-home-live [data-trykai-demo-realtime-stop]{background:transparent}
.kai-home-live .trykai-demo-chat__realtime p{font-size:10px;line-height:1.6;color:#5d704c;margin:8px 0 0}
.kai-home-live .trykai-demo-chat__form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:14px 24px 10px;margin:0;flex:0 0 auto}
.kai-home-live .trykai-demo-chat__input-wrap{position:relative;min-width:0}
.kai-home-live textarea{display:block;width:100%;min-height:64px;max-height:105px;resize:none;background:#fff;color:#2e4424;border:1px solid #bdcdac;border-radius:13px;padding:12px 13px 22px;font-size:16px!important;line-height:1.4;outline-offset:1px}
.kai-home-live textarea::placeholder{color:#7a896c;font-size:13px}
.kai-home-live .trykai-demo-chat__character-count{position:absolute;bottom:5px;right:10px;font-size:9px;color:#7c8b6e;pointer-events:none}
.kai-home-live [data-trykai-demo-send]{background:#2c4425;border-color:#2c4425;color:#f3f9e9;border-radius:13px;font-size:12px;padding:12px 16px;align-self:stretch}
.kai-home-live .trykai-demo-chat__switch-typed{grid-column:1/-1;background:transparent;font-size:11px;min-height:30px;padding:6px}
.kai-home-live__footer{display:flex;align-items:center;gap:13px;padding:0 24px 8px;font-size:9px;color:#768569;flex-shrink:0}.kai-home-live__footer>span{flex:1;line-height:1.4}.kai-home-live__footer a{color:#526b3e;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
.kai-home-live__boundary{margin:0;padding:0 24px 15px;font-size:9px;line-height:1.4;color:#7e8b72;flex-shrink:0}
.kai-home-live .trykai-demo__screen-reader-text{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.kai-home-live[data-compact-height=true] .kai-home-live__toolbar,.kai-home-live[data-compact-height=true] .trykai-demo-chat__prompts{display:none}
.kai-home-live[data-compact-height=true] .kai-home-live__header{padding-block:10px 8px}
.kai-home-live[data-compact-height=true] .trykai-demo-chat__realtime{padding-block:8px}
.kai-home-live[data-compact-height=true] .trykai-demo-chat__form{padding-block:8px}
.kai-home-live[data-compact-height=true] textarea{min-height:56px;height:56px}
.kai-home-live[data-short-height=true] .kai-home-live__identity small,.kai-home-live[data-short-height=true] .kai-home-live__boundary{display:none}
.kai-home-live[data-short-height=true] .trykai-demo-chat__conversation{min-height:50px}
.kai-home-live[data-short-height=true] .trykai-demo-chat__realtime p{max-height:28px;overflow-y:auto}
.kai-home-live[data-short-height=true] .trykai-demo-chat__realtime-actions button{min-height:28px;padding:5px 10px}
.kai-home-live[data-short-height=true] .kai-home-live__header>[data-trykai-panel-close]{height:30px;width:30px}
@media(max-width:600px){.kai-live-launcher{right:16px;bottom:18px;padding:12px 16px;font-size:12px;gap:10px}.kai-home-live{width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:19px}.kai-home-live__header{padding:15px 17px 12px}.kai-home-live__toolbar{padding:0 17px 10px}.kai-home-live .trykai-demo-chat__conversation{padding:18px 17px}.kai-home-live .trykai-demo-chat__prompts{padding:7px 17px}.kai-home-live .trykai-demo-chat__realtime{padding:10px 17px 8px}.kai-home-live .trykai-demo-chat__form{padding:10px 17px 8px}.kai-home-live__footer{padding:0 17px 7px;gap:9px}.kai-home-live__boundary{padding:0 17px 12px;font-size:8px}.kai-home-live__identity h2{font-size:23px!important}.kai-home-live .trykai-demo-chat__message{font-size:13px}.kai-home-live .trykai-demo-chat__prompts button{font-size:9px;padding:7px 9px;min-height:31px}}
@media(max-height:620px){.kai-home-live__header{padding-block:12px 8px}.kai-home-live__identity img{width:32px;height:32px}.kai-home-live__identity h2{font-size:20px!important}.kai-home-live__toolbar{display:none}.kai-home-live .trykai-demo-chat__prompts{display:none}.kai-home-live .trykai-demo-chat__conversation{padding:15px 17px;min-height:80px}.kai-home-live .trykai-demo-chat__realtime p{font-size:9px;margin-top:5px}.kai-home-live .trykai-demo-chat__realtime{padding-block:8px}.kai-home-live .trykai-demo-chat__form{padding-block:8px}.kai-home-live textarea{min-height:56px;height:56px}.kai-home-live__boundary{font-size:8px;padding-bottom:8px}}
@media(max-height:390px){.kai-home-live__identity small,.kai-home-live__boundary{display:none}.kai-home-live .trykai-demo-chat__realtime p{max-height:28px;overflow-y:auto}.kai-home-live .trykai-demo-chat__realtime-actions button{min-height:28px;padding:5px 10px}.kai-home-live .trykai-demo-chat__conversation{min-height:50px}.kai-home-live__header{padding-block:8px}.kai-home-live__header>[data-trykai-panel-close]{height:30px;width:30px}}
@media(prefers-reduced-motion:reduce){.kai-home-live::backdrop{backdrop-filter:none}}
