.kb-chat-widget{position:fixed;right:24px;bottom:24px;z-index:9998;font-family:inherit}.kb-chat-widget [hidden]{display:none!important}#kb-chat-toggle{display:flex;align-items:center;gap:10px;border:0;border-radius:30px;background:#0b659d;color:#fff;padding:14px 21px;box-shadow:0 5px 24px #15568240;font-size:14px;font-weight:600;cursor:pointer}#kb-chat-toggle svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7}#kb-chat-unread{background:#f05a4b;color:white;border-radius:12px;min-width:20px;padding:1px 6px;font-size:11px}#kb-chat-panel{position:absolute;bottom:66px;right:0;width:380px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 115px);overflow:auto;border:1px solid #dae7f0;background:white;border-radius:16px;box-shadow:0 10px 55px #143b593b;color:#234359}#kb-chat-panel header{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;background:#0b659d;color:white}#kb-chat-panel header strong{display:block;font-size:17px}#kb-chat-panel header small{display:block;font-size:11px;opacity:.8;margin-top:3px}#kb-chat-close{padding:0;background:none;border:0;font-size:28px;color:white;cursor:pointer;line-height:30px;width:32px;height:32px}.kb-chat-greeting{font-size:12px;line-height:1.7;padding:14px 18px;margin:0!important;background:#f1f7fb}.kb-chat-line{display:block;text-align:center;padding:10px 18px;background:#06c755;color:white!important;font-size:13px;font-weight:600}.kb-chat-line:hover{background:#00b34a}#kb-chat-messages{max-height:260px;min-height:20px;padding:12px 16px;overflow-y:auto;background:#f8fbfd}.kb-chat-message{width:fit-content;max-width:88%;padding:10px 13px;margin:7px 0;border-radius:12px;line-height:1.6;overflow-wrap:anywhere;font-size:13px}.kb-chat-message.from-staff{background:#e5eef4;color:#234359;border-bottom-left-radius:3px}.kb-chat-message.from-customer{background:#126da5;color:white;margin-left:auto;border-bottom-right-radius:3px}.kb-chat-message p{margin:2px 0!important;white-space:pre-wrap;font-size:13px;line-height:1.6}.kb-chat-message small,.kb-chat-message time{font-size:10px;opacity:.75;display:block}#kb-chat-form{padding:14px 16px;margin:0}#kb-chat-identity{display:grid;gap:8px;margin-bottom:12px}#kb-chat-identity label{font-size:11px;display:flex;flex-direction:column;gap:3px}#kb-chat-identity input,#kb-chat-identity select{font:inherit;width:100%;height:36px;border:1px solid #d0dfe9;border-radius:6px;padding:6px 8px;background:#fff;box-shadow:none}.kb-chat-compose{display:flex;gap:8px;align-items:stretch}.kb-chat-compose textarea{resize:vertical;flex:1;min-width:0;max-height:140px;min-height:52px;width:100%;font:inherit;font-size:13px;border:1px solid #cfdee8;border-radius:8px;padding:9px;background:white;box-shadow:none}.kb-chat-compose button{background:#0b659d;color:white;border:0;border-radius:8px;padding:10px 15px;cursor:pointer}.kb-chat-compose button:disabled{opacity:.5}#kb-chat-status{font-size:11px;line-height:1.5;margin:7px 0!important;color:#58788c}.kb-chat-privacy{font-size:9px;color:#8195a4;display:block;line-height:1.5}.kb-chat-honeypot{position:absolute!important;left:-10000px;width:1px;height:1px;overflow:hidden}.kb-chat-admin{max-width:1450px}.kb-chat-admin h1,.kb-chat-settings h1{font-weight:700;margin:24px 0 12px}.kb-inbox{display:grid;grid-template-columns:330px 1fr;border:1px solid #d5e1ea;border-radius:12px;overflow:hidden;background:white;min-height:650px}.kb-inbox>aside{background:#f4f8fb;border-right:1px solid #d5e1ea;padding:20px}.kb-inbox h2{margin:0 0 20px}.kb-thread{width:100%;text-align:left;border:1px solid transparent;background:transparent;border-radius:8px;padding:15px 12px;cursor:pointer;display:block}.kb-thread strong,.kb-thread small{display:block}.kb-thread small{font-size:11px;color:#668299;margin-top:7px}.kb-thread.is-selected{background:#fff;border-color:#8abada}.kb-thread:hover{background:#e5f1f8}.kb-inbox-conversation{padding:24px;min-width:0}.kb-inbox-conversation>header{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #e5edf3}.kb-inbox-conversation>header h2{margin-bottom:6px}#kb-admin-chat-details{font-size:12px;color:#628098}#kb-admin-chat-messages{height:390px;overflow:auto;padding:15px;background:#fbfdff}#kb-admin-chat-form{padding-top:15px}#kb-admin-chat-form>div{display:flex;gap:12px;align-items:center;margin-top:8px}#kb-admin-chat-reply{width:100%;resize:vertical;border-color:#c4d5e2;border-radius:8px;padding:12px;font-size:15px}#kb-admin-chat-status{color:#387f65}.kb-chat-settings{max-width:1100px}.kb-chat-settings form{background:white;padding:20px 28px;border-radius:10px;margin-top:20px}.kb-chat-settings .regular-text{width:100%;max-width:650px;height:42px}.kb-chat-settings th{width:210px}@media(max-width:780px){.kb-chat-widget{right:14px;bottom:16px}#kb-chat-toggle{padding:12px 16px;font-size:12px}#kb-chat-panel{width:360px;bottom:60px}.kb-inbox{grid-template-columns:1fr}.kb-inbox>aside{border-right:0;border-bottom:1px solid #d5e1ea;max-height:220px;overflow:auto}.kb-inbox-conversation{padding:16px}#kb-admin-chat-messages{height:340px}.kb-chat-settings form{padding:12px}}@media print{.kb-chat-widget{display:none}}

.kb-chat-admin [hidden]{display:none!important}
#kb-chat-panel header{position:sticky;top:0;z-index:3;flex-shrink:0}
#kb-chat-close{flex-shrink:0}

/* The back control is enabled only by the mobile staff workspace. */
#kb-chat-back{display:none}
