.hk-chat[hidden], .hk-chat [hidden] { display: none !important; }
.hk-chat { position: fixed; bottom: 88px; right: 24px; z-index: 9900; font-family: var(--hk-font-body, Inter, sans-serif); color: var(--hk-ink, #0c0c0c); }
.hk-chat button, .hk-chat textarea { font: inherit; }
.hk-chat button { cursor: pointer; }
.hk-chat :is(button, textarea, a):focus-visible { outline: 2px solid #a83b0c; outline-offset: 3px; }
.hk-chat__launcher { position: relative; display: block; width: 64px; height: 64px; border: 3px solid #fff; border-radius: 50%; padding: 0; background: #ebe5db; box-shadow: 0 6px 24px #0003; transition: transform .2s; }
.hk-chat__launcher:hover { background: #a83b0c; transform: translateY(-2px); }
.hk-chat__launcher img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.hk-chat__unread { position: absolute; top: -3px; right: -3px; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: #a83b0c; color: #fff; border: 2px solid #fff; font-size: 11px; }
.hk-chat__greeting { position: absolute; right: 76px; bottom: 2px; width: 210px; border-radius: 14px; background: #fff; box-shadow: 0 6px 28px #0002; border: 1px solid #e3ded6; }
.hk-chat__greeting > button:first-child { display: grid; gap: 4px; padding: 14px 28px 14px 16px; border: 0; background: transparent; text-align: left; color: #0c0c0c; font-size: 12px; width: 100%; }
.hk-chat__greeting strong { font-weight: 500; font-size: 13px; }
.hk-chat__greeting > button:last-child { position: absolute; right: 5px; top: 5px; border: 0; background: transparent; width: 24px; height: 24px; color: #64615c; font-size: 18px; }
.hk-chat__panel { position: absolute; right: 0; bottom: 80px; display: flex; flex-direction: column; width: min(390px, calc(100vw - 32px)); height: min(600px, calc(100dvh - 190px)); background: #f7f5f2; border: 1px solid #d8d2c9; border-radius: 20px; box-shadow: 0 16px 64px #0003; overflow: hidden; }
.hk-chat__panel header { display: flex; align-items: center; justify-content: space-between; padding: 24px 20px; border-bottom: 1px solid #ddd7cf; }
.hk-chat__identity { display: flex; align-items: center; gap: 12px; }
.hk-chat__avatar { display: block; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #ebe5db; }
.hk-chat__panel h2 { font-size: 22px; line-height: 1.2; font-weight: 500; letter-spacing: -.6px; margin: 3px 0; }
.hk-chat__panel header p { font-size: 12px; margin: 0; color: #64615c; }
.hk-chat__panel header .hk-chat__brand { font-size: 9px; font-weight: 600; letter-spacing: 1.6px; color: #a83b0c; }
.hk-chat__panel header button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; padding: 0; font-size: 26px; line-height: 1; color: #64615c; }
.hk-chat__panel header button:hover { background: #ebe5db; }
.hk-chat__notice { font-size: 10px; line-height: 1.6; padding: 0 20px 16px; margin: 0; color: #64615c; text-align: center; }
.hk-chat a { color: #a83b0c; text-decoration: none; }
.hk-chat a:is(:hover, :focus-visible) { color: #0c0c0c; text-decoration: none; }
.hk-chat__messages { flex: 1; min-height: 80px; overflow-y: auto; overscroll-behavior: contain; padding: 20px 16px 0; }
.hk-chat__shortcuts { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px; }
.hk-chat__shortcuts :is(a, button) { display: flex; align-items: center; gap: 12px; border: 1px solid #d8d2c9; border-radius: 999px; padding: 8px 12px; color: #46433f; background: transparent; font-size: 11px; }
.hk-chat__shortcuts :is(a, button):hover { background: #ebe5db; border-color: #b7b0a5; }
.hk-chat__shortcuts .is-offered { border-color: #a83b0c; color: #a83b0c; }
.hk-chat__message { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.7; background: #fff; border-radius: 12px; padding: 12px; margin: 0 20px 12px 0; }
.hk-chat__message--user { background: #ebe5db; margin: 0 0 12px 20px; }
.hk-chat__status { min-height: 22px; padding: 0 20px; font-size: 12px; color: #64615c; margin: 0; }
.hk-chat__form { display: flex; gap: 10px; padding: 12px 16px; border-top: 1px solid #ddd7cf; }
.hk-chat__form textarea { flex: 1; min-width: 0; resize: none; border: 0; border-bottom: 1px solid #b7b0a5; border-radius: 0; background: transparent; color: inherit; font-size: 13px; padding: 8px 0; }
.hk-chat__form textarea:focus { outline: none; border-bottom-color: #a83b0c; box-shadow: 0 1px 0 #a83b0c; }
.hk-chat__form button { align-self: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #0c0c0c; color: #fff; font-size: 20px; }
.hk-chat button:disabled { opacity: .5; cursor: wait; }
.hk-chat__reset { color: #64615c; background: transparent; border: 0; font-size: 11px !important; padding: 0 16px 14px; }
.hk-chat__lead { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 20px; }
.hk-chat__lead form { display: grid; gap: 8px; }
.hk-chat__lead-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
.hk-chat__lead-title strong { font-weight: 500; }
.hk-chat__lead-title button { border: 0; background: transparent; color: #64615c; width: 30px; height: 30px; font-size: 22px; }
.hk-chat__lead label { display: grid; gap: 4px; font-size: 11px; color: #46433f; }
.hk-chat__lead label > span { color: #64615c; }
.hk-chat__lead label small { font-size: inherit; }
.hk-chat__lead :is(input:not([type=checkbox]), textarea) { width: 100%; min-width: 0; box-sizing: border-box; border: 0; border-bottom: 1px solid #b7b0a5; border-radius: 0; padding: 8px 0; background: transparent; color: #0c0c0c; font: inherit; font-size: 13px; }
.hk-chat__lead :is(input:not([type=checkbox]), textarea):focus { outline: none; border-bottom-color: #a83b0c; box-shadow: 0 1px 0 #a83b0c; }
.hk-chat__lead .hk-chat__consent { display: flex; align-items: flex-start; gap: 8px; font-size: 10px; line-height: 1.5; }
.hk-chat__consent input { margin: 3px 0 0; flex-shrink: 0; accent-color: #a83b0c; }
.hk-chat__lead .hk-chat__trap { display: none; }
.hk-chat__lead-send { display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: 999px; padding: 12px 16px; background: #0c0c0c; color: #fff; font-size: 12px; }
.hk-chat__lead [data-lead-status] { margin: 0; font-size: 11px; color: #64615c; line-height: 1.5; }
@media (max-width: 640px) { .hk-chat { right: 16px; bottom: 80px; } .hk-chat__panel { height: min(600px, calc(100dvh - 180px)); } .hk-chat__greeting { width: min(210px, calc(100vw - 112px)); } }
@media (prefers-reduced-motion: reduce) { .hk-chat__launcher { transition: none; } .hk-chat__launcher:hover { transform: none; } }
