/* Life Care — instant chat widget */
.lcc-fab{position:fixed;left:20px;bottom:20px;z-index:150;display:flex;align-items:center;gap:10px;height:56px;padding:0 20px 0 16px;border:0;border-radius:999px;background:linear-gradient(90deg,#4b3fb8,#1fb3a0);color:#fff;font:500 15px/1 Roboto,-apple-system,"Segoe UI",Arial,sans-serif;cursor:pointer;box-shadow:0 10px 28px rgba(75,63,184,.4);transition:transform .2s,filter .2s}
.lcc-fab:hover{transform:translateY(-2px);filter:brightness(1.07)}
.lcc-fab:focus-visible{outline:3px solid #111418;outline-offset:3px}
.lcc-fab svg{width:24px;height:24px;flex-shrink:0}
.lcc-fab .lcc-dot{position:absolute;top:8px;left:36px;width:11px;height:11px;border-radius:50%;background:#3ddbc4;border:2px solid #fff}
.lcc-fab.open{display:none}

.lcc-panel{position:fixed;left:20px;bottom:20px;z-index:160;width:380px;max-width:calc(100vw - 24px);height:560px;max-height:calc(100vh - 40px);display:none;flex-direction:column;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 24px 70px rgba(17,20,24,.35);font:14px/1.5 Roboto,-apple-system,"Segoe UI",Arial,sans-serif;color:#111418}
.lcc-panel.open{display:flex;animation:lccIn .22s ease}
@keyframes lccIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.lcc-head{display:flex;align-items:center;gap:12px;padding:14px 16px;background:linear-gradient(135deg,#4b3fb8,#1fb3a0);color:#fff;flex-shrink:0}
.lcc-av{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.22);display:grid;place-items:center;flex-shrink:0}
.lcc-av svg{width:22px;height:22px}
.lcc-ht{flex:1;min-width:0}
.lcc-ht b{display:block;font-size:15px;font-weight:700;line-height:1.2}
.lcc-ht small{display:flex;align-items:center;gap:6px;font-size:12px;opacity:.92;margin-top:2px}
.lcc-ht small i{width:8px;height:8px;border-radius:50%;background:#8ff0e0;display:inline-block}
.lcc-x{width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.2);color:#fff;font-size:22px;line-height:1;cursor:pointer}
.lcc-x:hover{background:rgba(255,255,255,.32)}
.lcc-msgs{flex:1;overflow-y:auto;padding:16px 14px;background:#f6f7f4;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth}
.lcc-m{max-width:84%;padding:10px 14px;border-radius:18px;word-wrap:break-word;overflow-wrap:anywhere;white-space:pre-wrap}
.lcc-m a{color:inherit;text-decoration:underline;font-weight:500}
.lcc-m.bot{align-self:flex-start;background:#fff;border-bottom-left-radius:6px;box-shadow:0 1px 3px rgba(20,30,50,.1)}
.lcc-m.me{align-self:flex-end;background:linear-gradient(90deg,#4b3fb8,#5a4fd0);color:#fff;border-bottom-right-radius:6px}
.lcc-typing{align-self:flex-start;background:#fff;border-radius:18px;border-bottom-left-radius:6px;padding:13px 16px;display:flex;gap:5px;box-shadow:0 1px 3px rgba(20,30,50,.1)}
.lcc-typing span{width:7px;height:7px;border-radius:50%;background:#9aa1ad;animation:lccB 1.2s infinite}
.lcc-typing span:nth-child(2){animation-delay:.15s}.lcc-typing span:nth-child(3){animation-delay:.3s}
@keyframes lccB{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-5px);opacity:1}}
.lcc-chips{display:flex;flex-wrap:wrap;gap:7px;padding:2px 0}
.lcc-chip{border:1.5px solid #cfc9f3;background:#fff;color:#4b3fb8;font-family:inherit;font-size:13px;font-weight:500;line-height:1.2;padding:8px 13px;border-radius:999px;cursor:pointer;transition:.15s}
.lcc-chip:hover{background:#4b3fb8;color:#fff;border-color:#4b3fb8}
.lcc-help{display:flex;gap:8px;margin-top:4px}
.lcc-help a{flex:1;text-align:center;padding:9px 10px;border-radius:12px;font-size:13px;font-weight:500;text-decoration:none;color:#fff}
.lcc-help .w{background:#0e8f80}.lcc-help .c{background:linear-gradient(90deg,#4b3fb8,#1fb3a0)}
.lcc-form{display:flex;gap:8px;padding:10px 12px;border-top:1px solid #e3e6ea;background:#fff;flex-shrink:0}
.lcc-in{flex:1;min-width:0;border:1.5px solid #cfd4da;border-radius:999px;padding:11px 16px;font-family:inherit;font-size:16px;line-height:1.2;outline:0;transition:.2s}
.lcc-in:focus{border-color:#4b3fb8;box-shadow:0 0 0 3px rgba(75,63,184,.15)}
.lcc-send{width:44px;height:44px;flex-shrink:0;border:0;border-radius:50%;background:linear-gradient(90deg,#4b3fb8,#1fb3a0);color:#fff;cursor:pointer;display:grid;place-items:center}
.lcc-send:disabled{opacity:.5;cursor:not-allowed}
.lcc-send svg{width:20px;height:20px}
.lcc-note{padding:6px 14px 10px;background:#fff;font-size:11px;color:#6b7480;text-align:center;line-height:1.35;flex-shrink:0}
.lcc-note a{color:#4b3fb8;font-weight:500}

.lcc-x{margin-left:-4px}
.lcc-min{font-size:20px;font-weight:700}
.lcc-panel.min{height:auto;max-height:none}
.lcc-panel.min .lcc-msgs,.lcc-panel.min .lcc-form,.lcc-panel.min .lcc-note{display:none}
.lcc-panel.min .lcc-head{cursor:pointer}

@media (max-width:520px){
  /* compact floating card instead of a full-screen takeover */
  .lcc-panel{left:10px;right:10px;bottom:10px;width:auto;max-width:none;height:min(420px,calc(100% - 90px));max-height:none;border-radius:16px;font-size:13px}
  .lcc-panel.min{height:auto}
  .lcc-head{padding:8px 10px;gap:8px}
  .lcc-av{width:30px;height:30px}.lcc-av svg{width:16px;height:16px}
  .lcc-ht b{font-size:13px}.lcc-ht small{font-size:10.5px;margin-top:1px}
  .lcc-x{width:28px;height:28px;font-size:18px}
  .lcc-msgs{padding:10px;gap:7px}
  .lcc-m{padding:7px 11px;font-size:13px;border-radius:14px}
  .lcc-chip{font-size:12px;padding:6px 10px}
  .lcc-help a{font-size:12px;padding:7px 8px}
  .lcc-form{padding:7px 8px;gap:6px}
  .lcc-in{padding:8px 13px}
  .lcc-send{width:36px;height:36px}.lcc-send svg{width:16px;height:16px}
  .lcc-note{padding:3px 10px 6px;font-size:10px}
  .lcc-fab{left:10px;bottom:12px;height:40px;gap:6px;padding:0 13px 0 11px;font-size:13px}
  .lcc-fab svg{width:18px;height:18px}
  .lcc-fab .lcc-dot{top:5px;left:25px;width:9px;height:9px}
}
@media (prefers-reduced-motion:reduce){.lcc-panel.open{animation:none}.lcc-typing span{animation:none}}
