/* Kinbora Theme 1.4.166 — canonical Bora AI PNG + eye-only blink + scoped asset protection. */
.kinbora-conversation{position:fixed;right:18px;bottom:18px;z-index:2147483000;pointer-events:none;font-family:inherit;color:var(--kc-text);--kc-green:#197459;--kc-line:#d8dfdc;--kc-orange:#ff6500;--kc-muted:#718096;--kc-surface:#fff;--kc-surface-soft:#f8faf9;--kc-text:#101b17;--kc-text-soft:#536158;--kc-border:#dfe4e1;--kc-input-text:#17221d;--kc-customer-bg:#eef7f3;--kc-customer-text:#183d31;--kc-admin-bg:#f6f2ff;--kc-admin-text:#38245a;--kc-ai-bg:#f4f8ff;--kc-ai-text:#1b4065;--kc-brand-muted:#758094;--kc-action-text:#0f1c16;--kc-action-hover:#f3f6f4;--kc-notice-bg:#f6faf8;--kc-notice-text:#50645a;--kc-notice-error-bg:#fff3f2;--kc-notice-error-text:#a13f36;--kc-notice-warning-bg:#fff8e9;--kc-notice-warning-text:#8d6718;--kc-notice-success-bg:#edf9f3;--kc-notice-success-text:#287257;--kc-quick-text:#1f745c;--kc-quick-hover:#f8fbfa;--kc-empty-text:#8a9390;--kc-meta-text:#7d8783;--kc-placeholder:#a4adbc;--kc-footer-text:#68748a;--kc-shadow:0 24px 70px rgba(18,31,26,.27)}
.kinbora-conversation *{box-sizing:border-box}
.kinbora-conversation-panel[hidden],.kinbora-conversation-launcher[hidden]{display:none!important}
.kinbora-conversation[data-state="closed"] .kinbora-conversation-panel,.kinbora-conversation[data-state="minimized"] .kinbora-conversation-panel{display:none!important}
.kinbora-conversation[data-state="open"] .kinbora-conversation-panel{display:grid!important}
.kinbora-conversation[data-state="open"] .kinbora-conversation-launcher{display:none!important}
.kinbora-conversation[data-state="closed"] .kinbora-conversation-launcher,.kinbora-conversation[data-state="minimized"] .kinbora-conversation-launcher{display:grid!important;opacity:1;pointer-events:auto;transform:none}

.kinbora-conversation-launcher{position:relative;display:grid;pointer-events:auto;width:68px;height:68px;place-items:center;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;appearance:none;-webkit-appearance:none;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;transition:opacity .16s ease}
.kinbora-conversation-launcher:active{cursor:grabbing}
.kinbora-conversation-launcher:hover{box-shadow:none}
.kinbora-conversation-launcher:focus-visible,.kinbora-conversation-window-button:focus-visible,.kinbora-conversation-send:focus-visible,.kinbora-conversation-attach:focus-visible,.kinbora-conversation-quick-actions button:focus-visible{outline:3px solid rgba(255,101,0,.25);outline-offset:2px}
.kinbora-bora-visual{position:relative;display:block;width:100%;height:100%;overflow:visible;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.kinbora-bora-image{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.kinbora-bora-eye-blink{position:absolute;top:50.8%;width:16.5%;height:10.5%;z-index:2;overflow:visible;border-radius:50%;background:radial-gradient(ellipse at 50% 52%,rgba(3,14,35,.995) 0 72%,rgba(5,19,45,.985) 88%,rgba(5,19,45,.94) 100%);opacity:0;transform:scaleY(.42);transform-origin:50% 50%;pointer-events:none;animation:kinbora-bora-eye-cover 12.32s linear infinite}
.kinbora-bora-eye-blink.is-left{left:29.5%}
.kinbora-bora-eye-blink.is-right{left:54.5%}
.kinbora-bora-eye-blink::after{content:"";position:absolute;left:12%;right:12%;top:50%;height:8%;border-radius:999px;background:#88f6ff;box-shadow:0 0 5px rgba(38,201,255,.82);opacity:0;transform:translateY(-50%);animation:kinbora-bora-eye-line 12.32s linear infinite}
@keyframes kinbora-bora-eye-cover{0%,16.63%,18.51%,39.60%,41.40%,56.40%,58.12%,77.59%,79.30%,80.43%,82.14%,100%{opacity:0;transform:scaleY(.42)}16.64%,17.93%,39.61%,40.82%,56.41%,57.62%,77.60%,78.80%,80.44%,81.65%{opacity:.58;transform:scaleY(.68)}17.20%,17.22%,40.09%,40.11%,56.97%,56.99%,78.08%,78.10%,80.92%,80.94%{opacity:1;transform:scaleY(1)}}
@keyframes kinbora-bora-eye-line{0%,16.63%,18.51%,39.60%,41.40%,56.40%,58.12%,77.59%,79.30%,80.43%,82.14%,100%{opacity:0}16.64%,17.93%,39.61%,40.82%,56.41%,57.62%,77.60%,78.80%,80.44%,81.65%{opacity:.22}17.20%,17.22%,40.09%,40.11%,56.97%,56.99%,78.08%,78.10%,80.92%,80.94%{opacity:1}}
.kinbora-conversation-unread[hidden]{display:none!important}
.kinbora-conversation-unread{position:absolute;top:-3px;right:-2px;display:grid;min-width:21px;height:21px;place-items:center;padding:0 5px;border:2px solid #fff;border-radius:11px;background:var(--kc-orange);color:#fff;font-size:10px;font-style:normal;font-weight:800}

.kinbora-conversation-panel{position:fixed;right:18px;bottom:88px;display:grid;pointer-events:auto;grid-template-rows:auto auto minmax(0,1fr) auto;width:min(390px,calc(100vw - 20px));height:min(560px,calc(100dvh - 24px));min-width:300px;min-height:450px;overflow:hidden;border:1px solid rgba(25,42,34,.11);border-radius:31px;background:var(--kc-surface);box-shadow:var(--kc-shadow);transform:translateZ(0)}
.kinbora-conversation-header{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:66px;padding:7px 14px 7px 15px;border-bottom:1px solid var(--kc-border);background:var(--kc-surface)}
.kinbora-conversation-identity{display:flex;min-width:0;align-items:center;gap:11px}
.kinbora-conversation-avatar{display:grid;flex:0 0 42px;width:42px;height:42px;place-items:center;padding:1px;border-radius:50%;background:transparent}
.kinbora-conversation-avatar .kinbora-bora-visual{width:100%;height:100%}
.kinbora-conversation-brand-copy{min-width:0}
.kinbora-conversation-name-line{display:flex;align-items:center;gap:5px}
.kinbora-conversation-name-line strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:18px;line-height:1.05;font-weight:850;letter-spacing:-.025em}
.kinbora-conversation-verified{display:inline-grid;width:10px;height:10px;place-items:center;align-self:center;border-radius:50%;background:#1877f2;color:#fff;font-size:6px;line-height:1;font-weight:900;flex:0 0 10px}
.kinbora-conversation-brand-copy small{display:flex;align-items:center;gap:5px;margin-top:3px;color:var(--kc-brand-muted);font-size:11px;line-height:1.2;font-weight:700}
.kinbora-conversation-brand-copy small i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#2bc77f;box-shadow:0 0 0 2px #ddf6eb;animation:kinbora-online-pulse 2.4s ease-in-out infinite;transform-origin:center}
@keyframes kinbora-online-pulse{0%,100%{opacity:1;box-shadow:0 0 0 2px #ddf6eb}50%{opacity:.58;box-shadow:0 0 0 4px rgba(43,199,127,.12)}}
.kinbora-conversation-brand-copy small b{color:#238267;font-weight:800}
.kinbora-conversation-window-actions{display:flex;align-items:center;gap:6px}
.kinbora-conversation-window-button{display:grid;width:36px;height:36px;place-items:center;padding:0;border:0;border-radius:10px;background:transparent;color:var(--kc-action-text);font:800 26px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
.kinbora-conversation-window-button:hover{background:var(--kc-action-hover)}
.kinbora-conversation-window-button.is-close{width:34px;height:34px;border-radius:50%;background:var(--kc-orange);color:#fff;font-size:27px;font-weight:500;box-shadow:0 6px 16px rgba(255,101,0,.24)}
.kinbora-conversation-window-button.is-close:hover{background:var(--kc-orange);filter:brightness(.98)}

.kinbora-conversation-notice{padding:7px 16px;border-bottom:1px solid var(--kc-border);background:var(--kc-notice-bg);color:var(--kc-notice-text);font-size:11px;line-height:1.35}
.kinbora-conversation-notice[data-kind="error"]{background:var(--kc-notice-error-bg);color:var(--kc-notice-error-text)}
.kinbora-conversation-notice[data-kind="warning"]{background:var(--kc-notice-warning-bg);color:var(--kc-notice-warning-text)}
.kinbora-conversation-notice[data-kind="success"]{background:var(--kc-notice-success-bg);color:var(--kc-notice-success-text)}

.kinbora-conversation-content{display:flex;min-height:0;flex-direction:column;overflow:hidden;background:var(--kc-surface)}
.kinbora-conversation-welcome{flex:0 0 auto;padding:20px 18px 0}
.kinbora-conversation-welcome-card{display:flex;flex-direction:column;gap:3px;padding:18px 18px 17px;border:1.5px solid var(--kc-border);border-radius:27px;background:var(--kc-surface);color:var(--kc-text)}
.kinbora-conversation-welcome-card strong,.kinbora-conversation-welcome-card span{font-size:16px;line-height:1.43;font-weight:820;letter-spacing:-.012em}
.kinbora-conversation-quick-actions{display:flex;flex-wrap:wrap;gap:10px 9px;margin-top:13px}
.kinbora-conversation-quick-actions button{min-height:40px;padding:0 16px;border:1.6px solid #cfe0d9;border-radius:999px;background:var(--kc-surface);color:var(--kc-quick-text);font:800 13px/1 inherit;cursor:pointer}
.kinbora-conversation-quick-actions button:hover{border-color:#a7ccbe;background:var(--kc-quick-hover)}

.kinbora-conversation-messages{min-width:0;min-height:0;flex:1;overflow-y:auto;overflow-x:hidden;padding:14px 18px 8px;background:var(--kc-surface);overscroll-behavior:contain;scrollbar-width:thin}
.kinbora-conversation-empty{max-width:270px;margin:22px auto;color:var(--kc-empty-text);font-size:11px;line-height:1.5;text-align:center}
.kinbora-conversation-message{display:flex;flex-direction:column;max-width:84%;margin:0 0 10px}
.kinbora-conversation-message.is-customer{margin-left:auto;align-items:flex-end}
.kinbora-conversation-message.is-admin,.kinbora-conversation-message.is-super_admin,.kinbora-conversation-message.is-system,.kinbora-conversation-message.is-bora,.kinbora-conversation-message.is-ai{margin-right:auto;align-items:flex-start}
.kinbora-conversation-message-meta{display:flex;align-items:center;gap:6px;margin:0 4px 3px;color:var(--kc-meta-text);font-size:9px}
.kinbora-conversation-message-meta strong{color:var(--kc-text-soft);font-size:9.5px;font-weight:800}
.kinbora-conversation-message-meta em{font-style:normal;color:#9b6d14}
.kinbora-conversation-message-body{min-width:0;padding:9px 11px;border:1px solid #dce4e0;border-radius:14px 14px 14px 5px;background:var(--kc-surface-soft);color:var(--kc-text-soft);font-size:12px;line-height:1.45;overflow-wrap:anywhere;white-space:pre-wrap}
.kinbora-conversation-message.is-customer .kinbora-conversation-message-body{border-color:#cde0d8;border-radius:14px 14px 5px 14px;background:var(--kc-customer-bg);color:var(--kc-customer-text)}
.kinbora-conversation-message.is-pending .kinbora-conversation-message-body{border-style:dashed}
.kinbora-conversation-message.is-super_admin .kinbora-conversation-message-body{border-color:#d7cef3;background:var(--kc-admin-bg);color:var(--kc-admin-text)}
.kinbora-conversation-message.is-bora .kinbora-conversation-message-body,.kinbora-conversation-message.is-ai .kinbora-conversation-message-body{border-color:#cfe0f5;background:var(--kc-ai-bg);color:var(--kc-ai-text)}

.kinbora-conversation-compose-area{padding:0 16px 11px;background:var(--kc-surface)}
.kinbora-conversation-form{display:grid;grid-template-columns:42px minmax(0,1fr) 54px;gap:7px;align-items:center;min-height:66px;padding:6px 7px;border:1.5px solid var(--kc-border);border-radius:31px;background:var(--kc-surface);box-shadow:0 4px 14px rgba(21,38,30,.04)}
.kinbora-conversation-attach{display:grid;width:42px;height:42px;place-items:center;padding:0;border:0;background:transparent;color:var(--kc-text);cursor:pointer}
.kinbora-conversation-attach svg{width:27px;height:27px}
.kinbora-conversation-form textarea{display:block;width:100%;min-width:0;min-height:42px;max-height:88px;resize:none;padding:10px 3px;border:0!important;outline:0!important;background:transparent!important;color:var(--kc-input-text);font:700 15px/1.35 inherit;box-shadow:none!important}
.kinbora-conversation-form textarea::placeholder{color:var(--kc-placeholder);opacity:1}
.kinbora-conversation-send{display:grid;width:50px;height:50px;place-items:center;padding:0;border:0;border-radius:50%;background:var(--kc-orange);color:#fff;box-shadow:0 8px 20px rgba(255,101,0,.25);cursor:pointer}
.kinbora-conversation-send svg{width:25px;height:25px}
.kinbora-conversation-send:disabled{opacity:.55;cursor:wait}
.kinbora-conversation-footer-note{display:flex;align-items:center;justify-content:center;gap:5px;padding-top:8px;color:var(--kc-footer-text);font-size:10.5px;font-weight:700;text-align:center;white-space:nowrap}

body.dark-mode .kinbora-conversation{--kc-line:var(--kb-theme-border,#2c3631);--kc-muted:var(--kb-theme-text-muted,#aab7ae);--kc-surface:var(--kb-theme-surface,#16201c);--kc-surface-soft:var(--kb-theme-surface-deep,#101512);--kc-text:var(--kb-theme-text,#f5faf6);--kc-text-soft:var(--kb-theme-text-muted,#c7d2cc);--kc-border:var(--kb-theme-border,#2c3631);--kc-input-text:var(--kb-theme-text,#f5faf6);--kc-customer-bg:rgba(25,116,89,.22);--kc-customer-text:#e1f3e9;--kc-admin-bg:rgba(103,95,185,.20);--kc-admin-text:#eeeaff;--kc-ai-bg:rgba(39,117,190,.18);--kc-ai-text:#e2f0ff;--kc-brand-muted:var(--kb-theme-text-muted,#b5c1cb);--kc-action-text:var(--kb-theme-text,#f5faf6);--kc-action-hover:var(--kb-theme-surface-soft,#1b2621);--kc-notice-bg:var(--kb-theme-surface-deep,#121915);--kc-notice-text:var(--kb-theme-text-muted,#c7d2cc);--kc-notice-error-bg:rgba(161,63,54,.18);--kc-notice-error-text:#ffb9b1;--kc-notice-warning-bg:rgba(141,103,24,.18);--kc-notice-warning-text:#f2d68d;--kc-notice-success-bg:rgba(40,114,87,.18);--kc-notice-success-text:#bcebd5;--kc-quick-text:#9fd9c4;--kc-quick-hover:var(--kb-theme-surface-soft,#1b2621);--kc-empty-text:var(--kb-theme-text-muted,#aab7ae);--kc-meta-text:var(--kb-theme-text-muted,#aab7ae);--kc-placeholder:#98a69f;--kc-footer-text:var(--kb-theme-text-muted,#aab7ae);--kc-shadow:0 24px 70px rgba(0,0,0,.5)}

@media(max-width:600px){
  .kinbora-conversation{right:10px;bottom:max(10px,env(safe-area-inset-bottom))}
  .kinbora-conversation-launcher{width:64px;height:64px;padding:0}
  .kinbora-conversation-panel{right:8px;bottom:76px;width:min(360px,calc(100vw - 16px));height:min(550px,calc(100dvh - 20px));min-width:0;min-height:410px;border-radius:26px}
  .kinbora-conversation-header{min-height:68px;padding:7px 10px 7px 12px}
  .kinbora-conversation-avatar{flex-basis:41px;width:41px;height:41px}
  .kinbora-conversation-name-line strong{font-size:17px}
  .kinbora-conversation-verified{width:9px;height:9px;font-size:5.5px;flex-basis:9px}
  .kinbora-conversation-brand-copy small{font-size:10.8px}
  .kinbora-conversation-window-button{width:32px;height:32px}
  .kinbora-conversation-window-button.is-close{width:32px;height:32px;font-size:25px}
  .kinbora-conversation-welcome{padding:14px 13px 0}
  .kinbora-conversation-welcome-card{padding:15px 14px;border-radius:21px}
  .kinbora-conversation-welcome-card strong,.kinbora-conversation-welcome-card span{font-size:14px}
  .kinbora-conversation-quick-actions{gap:8px;margin-top:10px}
  .kinbora-conversation-quick-actions button{min-height:36px;padding:0 12px;font-size:11.8px}
  .kinbora-conversation-messages{padding:10px 13px 6px}
  .kinbora-conversation-message{max-width:88%}
  .kinbora-conversation-compose-area{padding:0 10px 8px}
  .kinbora-conversation-form{grid-template-columns:37px minmax(0,1fr) 48px;min-height:58px;padding:4px 5px;border-radius:27px}
  .kinbora-conversation-attach{width:37px;height:37px}
  .kinbora-conversation-attach svg{width:24px;height:24px}
  .kinbora-conversation-send{width:44px;height:44px}
  .kinbora-conversation-send svg{width:22px;height:22px}
  .kinbora-conversation-form textarea{min-height:39px;font-size:16px}
  .kinbora-conversation-footer-note{font-size:9.6px}


  body.kinbora-bora-keyboard-open .search-wrapper,
  /* Mobile keyboard-open: keep the approved shell foregrounded and fill the visible keyboard-safe viewport. */
  .kinbora-conversation[data-keyboard="open"][data-state="open"] .kinbora-conversation-panel{
    top:var(--kc-keyboard-top,6px)!important;
    z-index:2147483001!important;
    bottom:auto!important;
    height:var(--kc-keyboard-height,calc(100dvh - 12px))!important;
    max-height:none!important;
    min-height:0!important;
    grid-template-rows:auto auto minmax(0,1fr) max-content!important;
  }
  .kinbora-conversation[data-keyboard="open"] .kinbora-conversation-header{grid-row:1}
  .kinbora-conversation[data-keyboard="open"] .kinbora-conversation-notice{grid-row:2}
  .kinbora-conversation[data-keyboard="open"] .kinbora-conversation-content{grid-row:3;min-height:0;overflow:hidden}
  .kinbora-conversation[data-keyboard="open"] .kinbora-conversation-compose-area{grid-row:4}
  .kinbora-conversation[data-keyboard="open"] .kinbora-conversation-messages{min-height:0;overflow-y:auto;overscroll-behavior:contain}
  .kinbora-conversation[data-keyboard="open"] .kinbora-conversation-header,
  .kinbora-conversation[data-keyboard="open"] .kinbora-conversation-compose-area{position:relative;z-index:2;flex:0 0 auto}
}
@media(max-width:380px){
  .kinbora-conversation-panel{width:calc(100vw - 12px);height:min(550px,calc(100dvh - 14px));min-height:390px}
  .kinbora-conversation-header{gap:8px}
  .kinbora-conversation-avatar{flex-basis:38px;width:38px;height:38px}
  .kinbora-conversation-name-line strong{font-size:16px}
  .kinbora-conversation-brand-copy small{font-size:10px}
  .kinbora-conversation-welcome{padding:11px 10px 0}
  .kinbora-conversation-welcome-card{padding:13px}
  .kinbora-conversation-welcome-card strong,.kinbora-conversation-welcome-card span{font-size:13px}
  .kinbora-conversation-quick-actions button{padding:0 10px;font-size:11px}
  .kinbora-conversation-compose-area{padding-left:8px;padding-right:8px}
  .kinbora-conversation-footer-note{padding-top:6px;font-size:9px}
}
