#kliko-root { position: fixed; right: 18px; bottom: 18px; z-index: 2147483000; font-family: Manrope, -apple-system, "Segoe UI", Roboto, sans-serif; }
#kliko-root * { box-sizing: border-box; }
.kliko-fab { display: flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 18px; background: linear-gradient(135deg, #1f49bb, #315fd0); color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 8px 24px rgba(31, 73, 187, .35); cursor: pointer; }
.kliko-fab:hover { filter: brightness(1.06); }
.kliko-fab-dot { width: 10px; height: 10px; border-radius: 50%; background: #f5c400; box-shadow: 0 0 0 3px rgba(245, 196, 0, .35); }
.kliko-hide { display: none; }
.kliko-panel { display: none; flex-direction: column; width: 370px; max-width: calc(100vw - 24px); height: 560px; max-height: calc(100vh - 90px); background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(15, 23, 42, .25); overflow: hidden; border: 1px solid #e6e9f2; }
.kliko-open { display: flex; }
.kliko-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: linear-gradient(135deg, #1f49bb, #315fd0); color: #fff; }
.kliko-title { font-weight: 800; font-size: 17px; letter-spacing: .02em; }
.kliko-sub { font-size: 12px; opacity: .9; }
.kliko-x { border: 0; background: transparent; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.kliko-list { flex: 1; overflow-y: auto; padding: 14px; background: #f7f9ff; display: flex; flex-direction: column; gap: 8px; }
.kliko-msg { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.kliko-msg a { color: inherit; text-decoration: underline; }
.kliko-user { align-self: flex-end; background: #1f49bb; color: #fff; border-bottom-right-radius: 4px; }
.kliko-assistant { align-self: flex-start; background: #fff; color: #10172a; border: 1px solid #e3e8f4; border-bottom-left-radius: 4px; }
.kliko-typing { align-self: flex-start; color: #64748b; font-style: italic; }
.kliko-system { align-self: center; background: #fff4e5; color: #9a4a00; border: 1px solid #f5c27a; font-size: 12.5px; }
.kliko-listen { display: block; margin-top: 6px; border: 0; background: #eef2ff; color: #1f49bb; border-radius: 8px; padding: 4px 8px; font-size: 12px; cursor: pointer; }
.kliko-action { align-self: stretch; background: #fff; border: 2px solid #1f49bb; border-radius: 14px; padding: 10px 12px; font-size: 13.5px; line-height: 1.45; }
.kliko-action-row { display: flex; gap: 8px; margin-top: 10px; }
.kliko-ok, .kliko-no { flex: 1; border: 0; border-radius: 10px; padding: 9px; font-weight: 800; cursor: pointer; }
.kliko-ok { background: #0b9a4a; color: #fff; }
.kliko-no { background: #eef1f6; color: #334155; }
.kliko-ok:disabled, .kliko-no:disabled, .kliko-send:disabled { opacity: .6; cursor: default; }
.kliko-usage { font-size: 11.5px; color: #64748b; padding: 4px 14px 0; background: #fff; }
.kliko-usage-mid { color: #9a4a00; }
.kliko-usage-high { color: #b91c1c; font-weight: 700; }
.kliko-form { display: flex; gap: 8px; padding: 10px 12px; background: #fff; }
.kliko-input { flex: 1; resize: none; border: 1px solid #d6dcea; border-radius: 12px; padding: 9px 11px; font: inherit; font-size: 14px; max-height: 110px; }
.kliko-input:focus { outline: 2px solid #315fd0; border-color: transparent; }
.kliko-send { border: 0; border-radius: 12px; width: 44px; background: #1f49bb; color: #fff; font-size: 17px; cursor: pointer; }
.kliko-foot { font-size: 10.5px; color: #94a3b8; padding: 0 12px 10px; background: #fff; }
.kliko-foot a { color: #1f49bb; }
@media (max-width: 480px) {
  #kliko-root { right: 10px; bottom: 10px; }
  .kliko-panel { width: calc(100vw - 20px); height: calc(100vh - 80px); }
}
