#lima-chat-root{--lc-ocean:#051937;--lc-ocean2:#0F343F;--lc-gold:#B59054;--lc-cream:#FAF7F1;--lc-line:#ECE7DD;--lc-ink:#0B1733;
  position:fixed;right:22px;bottom:22px;z-index:99999;font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;}

.lc-visually-hidden{position:absolute !important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;font-style:normal;}

#lima-chat-bubble{width:62px;height:62px;border-radius:50%;border:none;cursor:pointer;color:#fff;padding:0;
  background:linear-gradient(150deg,var(--lc-ocean2),var(--lc-ocean));
  box-shadow:0 8px 26px rgba(5,25,55,.35);display:flex;align-items:center;justify-content:center;
  transition:transform .25s,box-shadow .25s;overflow:visible;}
#lima-chat-bubble:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(5,25,55,.45);}
#lima-chat-bubble:focus-visible{outline:3px solid var(--lc-gold);outline-offset:3px;}
#lima-chat-bubble.lc-open{background:var(--lc-gold);}
.lc-bubbleav{position:relative;width:100%;height:100%;display:block;}
.lc-bubbleav .lc-avimg{width:100%;height:100%;border-radius:50%;object-fit:cover;border:2.5px solid #fff;}
.lc-headav{position:relative;flex:0 0 auto;}
.lc-headav .lc-avimg{width:42px;height:42px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.6);display:block;}
.lc-online{position:absolute;right:1px;bottom:1px;width:12px;height:12px;border-radius:50%;background:#3FCF6A;border:2px solid #fff;}
.lc-headav .lc-online{right:0;bottom:0;width:11px;height:11px;}

#lima-chat-panel{position:fixed;right:22px;bottom:92px;width:322px;max-width:calc(100vw - 28px);
  height:440px;max-height:calc(100vh - 120px);background:#fff;border-radius:16px;overflow:hidden;
  display:flex;flex-direction:column;box-shadow:0 24px 60px rgba(5,25,55,.35);border:1px solid var(--lc-line);}
#lima-chat-panel[hidden]{display:none !important;}

.lc-head{background:linear-gradient(150deg,var(--lc-ocean2),var(--lc-ocean));color:#fff;padding:13px 44px 13px 16px;position:relative;display:flex;align-items:center;gap:11px;}
.lc-headtext{min-width:0;}
.lc-title{font-family:'Playfair Display',Georgia,serif;font-size:17px;font-weight:600;letter-spacing:.01em;}
.lc-sub{font-size:11.5px;color:#C9D3DE;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.lc-close{position:absolute;top:2px;right:4px;width:36px;height:36px;background:transparent !important;border:none !important;box-shadow:none !important;color:#fff !important;font-size:31px;line-height:1;text-align:center;cursor:pointer;padding:0;border-radius:0 !important;-webkit-appearance:none;appearance:none;opacity:.9;transition:opacity .15s;}
.lc-close:hover{opacity:1;background:transparent !important;}
.lc-close:focus-visible{outline:2px solid var(--lc-gold);outline-offset:2px;}

.lc-msgs{flex:1;overflow-y:auto;padding:16px 14px;background:var(--lc-cream);display:flex;flex-direction:column;gap:10px;}
.lc-msg{max-width:82%;padding:10px 13px;border-radius:14px;font-size:13.5px;line-height:1.55;word-wrap:break-word;}
.lc-user{align-self:flex-end;background:var(--lc-ocean);color:#fff;border-bottom-right-radius:4px;}
.lc-assistant{align-self:flex-start;background:#fff;color:var(--lc-ink);border:1px solid var(--lc-line);border-bottom-left-radius:4px;}
.lc-assistant a{color:#8A6A2E;text-decoration:underline;word-break:break-all;}
.lc-assistant a.lc-doclink{display:inline-block;background:var(--lc-cream);border:1px solid var(--lc-gold);color:#8A6A2E;border-radius:100px;padding:6px 13px;margin:5px 0;font-weight:600;font-size:12.5px;text-decoration:none;word-break:normal;}
.lc-assistant a.lc-doclink:hover{background:var(--lc-gold);color:#fff;}
.lc-thumb{max-width:100%;max-height:170px;border-radius:8px;margin:6px 0;display:block;border:1px solid var(--lc-line);}

.lc-typing{display:flex;gap:4px;padding:13px 15px;}
.lc-typing span{width:7px;height:7px;border-radius:50%;background:#B7AF9F;animation:lcBlink 1.2s infinite;}
.lc-typing span:nth-child(2){animation-delay:.2s;}
.lc-typing span:nth-child(3){animation-delay:.4s;}
@keyframes lcBlink{0%,80%,100%{opacity:.25;}40%{opacity:1;}}
@media (prefers-reduced-motion: reduce){.lc-typing span{animation:none;opacity:.6;}}

.lc-slow{align-self:center;font-size:11.5px;color:#9A937F;font-style:italic;padding:2px 6px;}
.lc-retry{align-self:center;border:1px solid var(--lc-gold);color:var(--lc-gold);background:#fff;border-radius:100px;
  padding:7px 18px;font-size:12.5px;font-weight:600;cursor:pointer;}
.lc-retry:hover{background:var(--lc-gold);color:#fff;}

.lc-form{display:flex;gap:8px;padding:10px;background:#fff;border-top:1px solid var(--lc-line);}
#lc-input{flex:1;border:1px solid var(--lc-line);border-radius:100px;padding:9px 16px;font-size:16px;outline:none;background:var(--lc-cream);min-width:0;}
#lc-input:focus{border-color:var(--lc-gold);}
#lc-send{width:42px;height:42px;border-radius:50%;border:none;background:var(--lc-gold);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;flex:0 0 auto;}
#lc-send:disabled{opacity:.5;cursor:default;}
#lc-send:hover:not(:disabled){background:#A07F44;}
#lc-send:focus-visible{outline:2px solid var(--lc-ocean);outline-offset:2px;}

.lc-note{font-size:10px;color:#9A937F;text-align:center;padding:6px 10px 9px;background:#fff;}

@media (max-width:480px){
  #lima-chat-panel{right:8px;bottom:84px;height:70vh;height:70dvh;}
  #lima-chat-root{right:14px;bottom:14px;}
}
