/* Boklyft editorial chat review. No imported fonts, orb graphics, badges or fake activity. */
/* Remove decorative avatar and repeated 'interactive demo' status. */
#demo .chat-top,
.boklyft-chat-window .chat-top{align-items:center;min-height:64px;padding-bottom:17px}
#demo .chat-brand,
.boklyft-chat-window .chat-brand{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 grid-template-rows:auto auto;row-gap:3px;column-gap:0;
 align-items:center;min-width:0;flex:1;
}
#demo .chat-brand .chat-monogram,
.boklyft-chat-window .chat-brand .chat-monogram{display:none!important}
#demo .chat-brand>span:not(.chat-monogram),
.boklyft-chat-window .chat-brand>span:not(.chat-monogram){
 grid-column:1!important;grid-row:1;
 font:700 17px/1.15 Inter,ui-sans-serif,-apple-system,system-ui,sans-serif;
 color:#0c1b36;letter-spacing:-.025em;
}
#demo .chat-brand>.bl-demo-brand-context,
.boklyft-chat-window .chat-brand>.bl-demo-brand-context{
 grid-column:1!important;grid-row:2!important;margin:0!important;
 color:#607087!important;
 font:470 11px/1.35 Inter,ui-sans-serif,-apple-system,system-ui,sans-serif;
}
#demo .chat-top .online,
.boklyft-chat-window .chat-top .online,
#demo .chat-top .online::before,
.boklyft-chat-window .chat-top .online::before{display:none!important}
#demo .chat{background:#fff}
#demo .msg.bot,#demo .msg.user{font-size:13.5px}
#demo .typing-indicator span,
.boklyft-chat-window .typing-indicator span{
 animation:none!important;border-radius:2px!important;
 width:12px;height:2px;opacity:.5;transform:none!important;
}
/* The one available speech control opens a proper turn-based input session. */
#demo .bl-conversation-open,
.boklyft-chat-window .bl-conversation-open{
 display:inline-flex;gap:9px;align-items:center;align-self:flex-start;justify-content:center;
 border:1px solid #cbd5e3;border-radius:12px;
 background:#fff;color:#152b4b;
 min-height:44px;margin:8px 0 10px;padding:9px 14px;
 font:620 12.5px/1.2 Inter,system-ui,sans-serif;cursor:pointer;
 transition:border-color .16s ease,background .16s ease;
}
#demo .bl-conversation-open:hover,.boklyft-chat-window .bl-conversation-open:hover{
 border-color:#9cb0cb;background:#f6f8fb;
}
.bl-conversation-open-icon{font:500 23px/1 Georgia,serif;transform:rotate(90deg);height:18px;overflow:hidden;display:inline-flex;align-items:center}
.bl-conversation-open[aria-expanded="true"]{border-color:#355bff;background:#f3f6ff;color:#193b85}
.bl-conversation-open:focus-visible,.bl-conversation-close:focus-visible,
.bl-conversation-mic:focus-visible,.bl-conversation-privacy summary:focus-visible{
 outline:3px solid #355bff!important;outline-offset:3px;
}
#demo .bl-conversation-panel,
.boklyft-chat-window .bl-conversation-panel{
 border:1px solid #dae1ea;border-radius:18px;background:#f8f9fa;
 margin:0 0 15px;padding:17px 17px 19px;color:#102443;
}
.bl-conversation-panel[hidden],.bl-conversation-transcript[hidden]{display:none!important}
.bl-conversation-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.bl-conversation-head strong{font:660 16px/1.3 Inter,system-ui,sans-serif;letter-spacing:-.02em}
.bl-conversation-close{display:grid;place-items:center;min-width:40px;min-height:40px;border:0;border-radius:10px;
 color:#43536d;background:transparent;font:400 27px/1 Inter,system-ui,sans-serif;cursor:pointer}
.bl-conversation-close:hover{background:#e9edf3}
.bl-conversation-body{display:flex;flex-direction:column;align-items:center;gap:12px;padding:23px 4px 5px}
.bl-conversation-bars{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;height:47px}
.bl-conversation-bars span{width:3px;height:9px;border-radius:2px;background:#355bff;opacity:.48;transform-origin:center;animation:none}
.bl-conversation-bars span:nth-child(3n+1){height:13px}
.bl-conversation-bars span:nth-child(4n+2){height:20px}
.bl-conversation-bars span:nth-child(5){height:25px}
.bl-conversation-panel:has(.bl-conversation-mic[data-listening="true"]) .bl-conversation-bars span{
 opacity:.92;animation:bl-cv-signal .85s ease-in-out infinite alternate;
}
.bl-conversation-panel:has(.bl-conversation-mic[data-listening="true"]) .bl-conversation-bars span:nth-child(3n){
 animation-delay:-.28s;
}
.bl-conversation-panel:has(.bl-conversation-mic[data-listening="true"]) .bl-conversation-bars span:nth-child(4n){
 animation-delay:-.53s;
}
@keyframes bl-cv-signal{to{transform:scaleY(.48);opacity:.55}}
.bl-conversation-status{margin:0;max-width:320px;text-align:center;color:#5a6980;font:500 12px/1.45 Inter,system-ui,sans-serif}
.bl-conversation-transcript{margin:0;max-width:330px;overflow-wrap:anywhere;text-align:center;color:#172841;
 font:520 14px/1.45 Inter,system-ui,sans-serif}
.bl-conversation-mic{min-height:45px;padding:10px 20px;border:0;border-radius:12px;
 background:#132d55;color:#fff;font:640 13px/1.15 Inter,system-ui,sans-serif;cursor:pointer}
.bl-conversation-mic:hover{background:#183b73}
.bl-conversation-mic[data-listening="true"]{background:#28394f}
.bl-conversation-mic:disabled{opacity:.55;cursor:not-allowed}
.bl-conversation-privacy{
 align-self:flex-start;font:450 11px/1.5 Inter,system-ui,sans-serif;
 color:#52647a;margin:7px 2px 0;
}
.bl-conversation-privacy summary{cursor:pointer;display:list-item;list-style:disclosure-closed}
.bl-conversation-privacy[open] summary{list-style:disclosure-open}
.bl-conversation-privacy p{margin:8px 0 1px;max-width:57ch;color:#495c73;font-size:11px;line-height:1.55}
#demo .demo-privacy,.boklyft-chat-window .demo-privacy{display:none!important}
@media(max-width:560px){
 #demo .chat-top,.boklyft-chat-window .chat-top{min-height:58px}
 #demo .chat-brand>span:not(.chat-monogram),.boklyft-chat-window .chat-brand>span:not(.chat-monogram){font-size:16px}
 #demo .bl-conversation-panel,.boklyft-chat-window .bl-conversation-panel{padding:12px}
 .bl-conversation-body{padding:15px 2px 5px}
}
@media(prefers-reduced-motion:reduce){
 .bl-conversation-bars span{animation:none!important;transform:none!important}
 #demo .bl-conversation-open,.boklyft-chat-window .bl-conversation-open{transition:none}
}

/* Voice panel open: retain composer on small dialog viewports.
   Functional chat remains in the DOM; only shortcut buttons are hidden. */
#demo .chat:has(.bl-conversation-panel:not([hidden])) .quick,
.boklyft-chat-window .chat:has(.bl-conversation-panel:not([hidden])) .quick{display:none!important}
.boklyft-chat-window .chat:has(.bl-conversation-panel:not([hidden])) .messages{
 height:clamp(72px,18dvh,145px);min-height:72px;flex:0 1 auto;
}
@media(max-height:640px){
 .boklyft-chat-window .chat:has(.bl-conversation-panel:not([hidden])) .bl-conversation-bars{height:24px}
 .boklyft-chat-window .chat:has(.bl-conversation-panel:not([hidden])) .bl-conversation-body{gap:7px;padding:8px 2px 3px}
 .boklyft-chat-window .chat:has(.bl-conversation-panel:not([hidden])) .messages{height:66px;min-height:66px}
}
