/* JacoRetreat Concierge Chat */
:root{--jrc-accent:#0e7c86}
#jrc-root{--jrc-sun:#f4a259;--jrc-ink:#1d2a2f;--jrc-muted:#5b6b70;--jrc-bg:#ffffff;--jrc-soft:#f2f7f7;--jrc-line:#dfe8e9;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.45;color:var(--jrc-ink);position:fixed;right:20px;bottom:20px;z-index:2147483000}
#jrc-root *{box-sizing:border-box}
#jrc-root button{font:inherit;cursor:pointer}

.jrc-launch{width:62px;height:62px;border-radius:50%;border:0;background:var(--jrc-accent);color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.22);display:flex;align-items:center;justify-content:center;transition:transform .2s}
.jrc-launch:hover{transform:scale(1.06)}
.jrc-launch svg{width:28px;height:28px}
.jrc-dot{position:absolute;top:2px;right:2px;width:14px;height:14px;border-radius:50%;background:var(--jrc-sun);border:2px solid #fff}

.jrc-teaser{position:absolute;right:0;bottom:76px;width:260px;background:#fff;border-radius:14px;padding:12px 34px 12px 14px;box-shadow:0 8px 28px rgba(0,0,0,.18);font-size:14px;cursor:pointer;animation:jrc-pop .3s ease}
.jrc-teaser b{display:block;margin-bottom:2px}
.jrc-teaser-x{position:absolute;top:6px;right:6px;border:0;background:none;color:var(--jrc-muted);font-size:18px;line-height:1;padding:4px}

.jrc-panel{position:absolute;right:0;bottom:76px;width:380px;max-width:calc(100vw - 32px);height:600px;max-height:calc(100vh - 110px);background:var(--jrc-bg);border-radius:18px;box-shadow:0 18px 50px rgba(0,0,0,.25);display:flex;flex-direction:column;overflow:hidden;animation:jrc-pop .25s ease}
.jrc-head{background:var(--jrc-accent);color:#fff;padding:14px 16px;display:flex;align-items:center;gap:12px}
.jrc-avatar{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;font-size:20px;flex:none}
.jrc-head-t{flex:1;min-width:0}
.jrc-head-t b{display:block;font-size:15px}
.jrc-head-t span{font-size:12px;opacity:.9}
.jrc-head-t span:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#7CFC9A;margin-right:6px;vertical-align:1px}
.jrc-x{border:0;background:rgba(255,255,255,.15);color:#fff;width:32px;height:32px;border-radius:50%;font-size:20px;line-height:1}

.jrc-body{flex:1;overflow-y:auto;padding:16px 14px 8px;background:var(--jrc-soft);scroll-behavior:smooth}
.jrc-msg{max-width:86%;padding:10px 13px;border-radius:16px;margin:0 0 8px;animation:jrc-in .25s ease;word-wrap:break-word}
.jrc-bot{background:#fff;border:1px solid var(--jrc-line);border-bottom-left-radius:4px}
.jrc-user{background:var(--jrc-accent);color:#fff;margin-left:auto;border-bottom-right-radius:4px}
.jrc-msg ul{margin:6px 0 0;padding-left:18px}
.jrc-msg li{margin:3px 0}
.jrc-msg a{color:var(--jrc-accent);font-weight:600}
.jrc-user a{color:#fff}
.jrc-typing{display:inline-flex;gap:4px;padding:12px 14px}
.jrc-typing i{width:7px;height:7px;border-radius:50%;background:#9fb3b6;animation:jrc-blink 1.2s infinite}
.jrc-typing i:nth-child(2){animation-delay:.2s}.jrc-typing i:nth-child(3){animation-delay:.4s}

.jrc-opts{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 12px;animation:jrc-in .25s ease}
.jrc-opt{border:1.5px solid var(--jrc-accent);background:#fff;color:var(--jrc-accent);border-radius:999px;padding:7px 13px;font-size:14px;font-weight:600;transition:background .15s,color .15s}
.jrc-opt:hover,.jrc-opt:focus-visible{background:var(--jrc-accent);color:#fff;outline:none}
.jrc-opt.jrc-primary{background:var(--jrc-accent);color:#fff}

.jrc-form{background:#fff;border:1px solid var(--jrc-line);border-radius:14px;padding:12px;margin:0 0 12px;animation:jrc-in .25s ease}
.jrc-form label{display:block;font-size:12px;font-weight:600;color:var(--jrc-muted);margin:0 0 3px}
.jrc-form input,.jrc-form select,.jrc-form textarea{width:100%;font:inherit;font-size:15px;padding:9px 10px;border:1px solid #cdd9db;border-radius:9px;background:#fff;color:var(--jrc-ink);margin:0 0 9px}
.jrc-form input:focus,.jrc-form select:focus,.jrc-form textarea:focus{outline:2px solid var(--jrc-accent);outline-offset:-1px;border-color:transparent}
.jrc-row{display:flex;gap:8px}.jrc-row>div{flex:1;min-width:0}
.jrc-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.jrc-submit{width:100%;border:0;background:var(--jrc-accent);color:#fff;padding:11px;border-radius:10px;font-weight:700}
.jrc-submit[disabled]{opacity:.6;cursor:wait}
.jrc-err{color:#b42318;font-size:13px;margin:-4px 0 8px}
.jrc-fine{font-size:11.5px;color:var(--jrc-muted);margin:8px 0 0}

.jrc-cta{display:block;text-align:center;text-decoration:none!important;padding:12px 14px;border-radius:12px;font-weight:700;margin:0 0 8px}
.jrc-cta-pay{background:var(--jrc-sun);color:#1d2a2f!important;box-shadow:0 4px 14px rgba(244,162,89,.45)}
.jrc-cta-wa{background:#25D366;color:#fff!important}
.jrc-cta-ghost{border:1.5px solid var(--jrc-accent);color:var(--jrc-accent)!important;background:#fff}
.jrc-card{background:#fff;border:1px solid var(--jrc-line);border-radius:14px;padding:12px;margin:0 0 12px;animation:jrc-in .25s ease}
.jrc-card .jrc-fine{margin:2px 0 10px}

.jrc-foot{display:flex;gap:6px;padding:10px;border-top:1px solid var(--jrc-line);background:#fff}
.jrc-foot input{flex:1;min-width:0;font:inherit;font-size:15px;padding:10px 12px;border:1px solid #cdd9db;border-radius:999px}
.jrc-foot input:focus{outline:2px solid var(--jrc-accent);outline-offset:-1px}
.jrc-send{border:0;background:var(--jrc-accent);color:#fff;width:42px;height:42px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center}
.jrc-send svg{width:18px;height:18px}
.jrc-brand{text-align:center;font-size:11px;color:var(--jrc-muted);padding:0 0 8px;background:#fff}

@keyframes jrc-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes jrc-pop{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
@keyframes jrc-blink{0%,80%,100%{opacity:.3}40%{opacity:1}}

@media (max-width:520px){
  #jrc-root{right:14px;bottom:14px}
  #jrc-root.jrc-open{right:0;bottom:0;left:0;top:0}
  #jrc-root.jrc-open .jrc-launch{display:none}
  #jrc-root.jrc-open .jrc-panel{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;border-radius:0}
  .jrc-teaser{width:230px}
}
@media (prefers-reduced-motion:reduce){#jrc-root *{animation:none!important;transition:none!important}}
.jrc-form .jrc-bad{border-color:#b42318!important;background:#fff6f5}
.jrc-pause{border-color:#f4a259;background:#fff8ef}
.jrc-foot input:disabled{background:#f3f3f3;color:#888}
.jrc-send:disabled{opacity:.4;cursor:not-allowed}
/* Harden against theme button/input styles */
#jrc-root button{text-transform:none;letter-spacing:normal;line-height:1.2;min-width:0;min-height:0;margin:0;box-shadow:none;text-shadow:none;font-weight:inherit}
#jrc-root .jrc-x{padding:0;width:32px;height:32px;border-radius:50%;font-size:20px;display:flex;align-items:center;justify-content:center;flex:none}
#jrc-root .jrc-send{padding:0;width:42px;height:42px;border-radius:50%}
#jrc-root .jrc-send svg{width:18px;height:18px;flex:none}
#jrc-root .jrc-launch{padding:0;width:62px;height:62px;border-radius:50%;box-shadow:0 8px 24px rgba(0,0,0,.22)}
#jrc-root .jrc-teaser-x{padding:4px;width:auto;height:auto;background:none;color:#5b6b70}
#jrc-root .jrc-opt{padding:7px 13px;border-radius:999px;font-weight:600;font-size:14px}
#jrc-root .jrc-submit{padding:11px;border-radius:10px;font-weight:700;width:100%}
#jrc-root .jrc-form input,#jrc-root .jrc-form select,#jrc-root .jrc-form textarea,#jrc-root .jrc-foot input{height:auto;box-shadow:none;line-height:1.3}
.jrc-panel[hidden],.jrc-teaser[hidden]{display:none!important}
