/* JAK Bookings – receptionist chat widget */
#jakb-bot{--jb:#0069ff;--jb-tint:color-mix(in srgb,var(--jb) 10%,#fff);position:fixed;right:20px;bottom:20px;z-index:2147483000;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.45;color:#1a1a1a}
#jakb-bot *,#jakb-bot *::before,#jakb-bot *::after{box-sizing:border-box}
#jakb-bot [hidden]{display:none!important}
#jakb-bot button{font-family:inherit;cursor:pointer}
#jakb-bot svg{width:22px;height:22px;display:block}
.jb-fab{position:relative;width:60px;height:60px;border-radius:50%;border:0;background:var(--jb);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(0,0,0,.22);transition:transform .15s;margin-left:auto;padding:0}
.jb-fab svg{width:28px!important;height:28px!important}
.jb-fab:hover{transform:scale(1.06)}
.jb-fab:focus-visible,.jb-chip:focus-visible,.jb-send:focus-visible,.jb-close:focus-visible{outline:3px solid #ffbf47;outline-offset:2px}
#jakb-bot.is-open .jb-fab{display:none}
.jb-dot{position:absolute;top:4px;right:4px;width:13px;height:13px;border-radius:50%;background:#e5484d;border:2px solid #fff}
.jb-teaser{position:absolute;right:0;bottom:74px;width:250px;background:#fff;border-radius:14px;padding:12px 30px 12px 14px;box-shadow:0 6px 24px rgba(0,0,0,.16);font-size:14px;cursor:pointer;animation:jbIn .25s ease-out}
.jb-teaser::after{content:"";position:absolute;right:22px;bottom:-7px;width:14px;height:14px;background:#fff;transform:rotate(45deg)}
.jb-teaser-x{position:absolute;top:6px;right:6px;border:0;background:none;color:#888;padding:2px}
.jb-teaser-x svg{width:14px!important;height:14px!important}
.jb-panel{width:380px;height:min(640px,calc(100vh - 40px));background:#fff;border-radius:16px;box-shadow:0 12px 40px rgba(0,0,0,.25);display:flex;flex-direction:column;overflow:hidden;animation:jbIn .2s ease-out}
@keyframes jbIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.jb-head{display:flex;align-items:center;gap:10px;background:var(--jb);color:#fff;padding:14px 12px 14px 16px}
.jb-av{width:38px;height:38px;border-radius:50%;object-fit:cover;flex:0 0 38px;background:rgba(255,255,255,.2)}
.jb-av-txt{display:flex;align-items:center;justify-content:center;font-weight:700;font-size:17px}
.jb-ttl{flex:1;min-width:0;display:flex;flex-direction:column}
.jb-ttl strong{font-size:16px}
.jb-ttl span{font-size:12px;opacity:.9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jb-online{display:inline-block;width:8px;height:8px;border-radius:50%;background:#3ddc84;margin-right:6px;vertical-align:middle}
.jb-close{border:0;background:rgba(255,255,255,.15);color:#fff;width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;padding:0}
.jb-close svg{width:18px!important;height:18px!important}
.jb-log{flex:1;overflow-y:auto;padding:16px 14px 8px;background:#f6f7f9;display:flex;flex-direction:column;gap:8px}
.jb-msg{display:flex}
.jb-bub{max-width:86%;padding:10px 13px;border-radius:16px;word-wrap:break-word;font-size:14.5px}
.jb-bot .jb-bub{background:#fff;border:1px solid #e6e8eb;border-bottom-left-radius:4px;color:#1a1a1a}
.jb-user{justify-content:flex-end}
.jb-user .jb-bub{background:var(--jb);color:#fff;border-bottom-right-radius:4px}
.jb-bub a{color:var(--jb);font-weight:600}
.jb-user .jb-bub a{color:#fff}
.jb-bub p{margin:0 0 8px}.jb-bub p:last-child{margin:0}
.jb-bub ul{margin:4px 0;padding-left:18px}
.jb-typing .jb-bub{display:flex;gap:4px;padding:13px 14px}
.jb-typing i{width:7px;height:7px;border-radius:50%;background:#9aa0a8;animation:jbDot 1s infinite}
.jb-typing i:nth-child(2){animation-delay:.15s}.jb-typing i:nth-child(3){animation-delay:.3s}
@keyframes jbDot{0%,60%,100%{opacity:.3;transform:none}30%{opacity:1;transform:translateY(-3px)}}
.jb-chips{display:flex;flex-wrap:wrap;gap:6px;padding:8px 12px 10px;background:#f6f7f9;max-height:180px;overflow-y:auto;border-top:1px solid #eceef1}
.jb-chip{border:1px solid var(--jb);background:#fff;color:var(--jb);border-radius:18px;padding:7px 12px;font-size:13.5px;font-weight:600;line-height:1.25;text-align:left;text-decoration:none!important;display:inline-block}
.jb-chip:hover{background:var(--jb-tint)}
.jb-chip-muted{border-color:#c9ccd1;color:#5f6670;font-weight:500}
.jb-chip-link{background:var(--jb);color:#fff!important}
.jb-form{display:flex;gap:8px;padding:10px 12px;border-top:1px solid #eceef1;background:#fff}
.jb-in{flex:1;min-width:0;border:1px solid #c9ccd1;border-radius:22px;padding:10px 14px;font:inherit;font-size:15px;color:#1a1a1a;background:#fff;outline:0;height:auto;margin:0;box-shadow:none}
.jb-in:focus{border-color:var(--jb);box-shadow:0 0 0 3px var(--jb-tint)}
.jb-send{width:42px;height:42px;border-radius:50%;border:0;background:var(--jb);color:#fff;display:flex;align-items:center;justify-content:center;flex:0 0 42px;padding:0}
.jb-send svg{width:20px!important;height:20px!important}
.jb-foot{font-size:12px;color:#6b7280;text-align:center;padding:0 12px 10px;background:#fff}
.jb-foot a{color:var(--jb);font-weight:600;text-decoration:none}
@media (max-width:600px){
	#jakb-bot{right:14px;bottom:14px}
	#jakb-bot.is-open{right:0;bottom:0;left:0;top:0}
	.jb-panel{width:100%;height:100%;border-radius:0}
	.jb-teaser{width:220px}
}
@media (prefers-reduced-motion:reduce){.jb-panel,.jb-teaser,.jb-typing i{animation:none}}
