/* LIA — floating stay assistant */
.lia-launcher{position:fixed;right:1.4rem;bottom:1.4rem;z-index:300;display:flex;align-items:center;gap:.7rem;background:none;border:0;cursor:pointer;padding:0;font-family:var(--sans)}
.lia-label{background:var(--white);color:var(--forest);padding:.65rem 1.1rem;border-radius:30px;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;font-weight:500;box-shadow:0 12px 30px -14px rgba(16,41,29,.5);display:flex;align-items:center;gap:.5rem;transition:transform .4s var(--ease)}
.lia-launcher:hover .lia-label{transform:translateX(-4px)}
.lia-bot{position:relative;width:68px;height:68px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#2a5a40,var(--forest) 60%,var(--forest-deep));display:grid;place-items:center;animation:float 4s ease-in-out infinite,glow 3.2s ease-in-out infinite}
.lia-bot svg{width:50px;height:50px}
.lia-bot .eye{transform-box:fill-box;transform-origin:center;animation:blink 5s infinite}
.lia-online{position:absolute;right:4px;top:6px;width:13px;height:13px;border-radius:50%;background:#7CD86A;border:2px solid var(--white)}
.lia-panel{position:fixed;right:1.4rem;bottom:6.6rem;z-index:301;width:min(390px,calc(100vw - 2rem));height:min(620px,calc(100vh - 8.5rem));background:var(--cream);border-radius:18px;box-shadow:0 40px 80px -30px rgba(16,41,29,.6);display:flex;flex-direction:column;overflow:hidden;opacity:0;visibility:hidden;transform:translateY(20px) scale(.97);transform-origin:bottom right;transition:all .45s var(--ease)}
.lia-open .lia-panel{opacity:1;visibility:visible;transform:none}
.lia-head{background:var(--forest);color:var(--cream);padding:1.1rem 1.2rem;display:flex;align-items:center;gap:.9rem}
.lia-head .lia-bot{width:46px;height:46px;animation:none}
.lia-head .lia-bot svg{width:34px;height:34px}
.lia-head .lia-online{width:10px;height:10px;right:1px;top:2px;border-color:var(--forest)}
.lia-title{flex:1;line-height:1.25}
.lia-title b{font-family:var(--serif);font-size:1.35rem;font-weight:500;letter-spacing:.05em}
.lia-title span{display:block;font-size:.72rem;color:var(--lemon);letter-spacing:.08em}
.lia-close{background:rgba(248,246,237,.1);border:0;color:var(--cream);width:36px;height:36px;border-radius:50%;cursor:pointer;font-size:1.3rem;line-height:1}
.lia-close:hover{background:var(--lemon);color:var(--forest-deep)}
.lia-disclaimer{font-size:.72rem;color:var(--muted);background:var(--beige);padding:.5rem 1.2rem;text-align:center}
.lia-body{flex:1;overflow-y:auto;padding:1.2rem;display:flex;flex-direction:column;gap:.8rem;scroll-behavior:smooth}
.msg{max-width:86%;padding:.75rem 1rem;border-radius:14px;font-size:.93rem;line-height:1.55;animation:popIn .4s var(--ease)}
.msg--bot{background:var(--white);color:var(--charcoal);border-bottom-left-radius:4px;align-self:flex-start;box-shadow:0 6px 16px -12px rgba(16,41,29,.4)}
.msg--user{background:var(--forest);color:var(--cream);border-bottom-right-radius:4px;align-self:flex-end}
.msg a{color:var(--olive);text-decoration:underline}
.msg--typing{display:flex;gap:4px;padding:1rem}
.msg--typing i{width:7px;height:7px;border-radius:50%;background:var(--olive);animation:typing 1.2s infinite}
.msg--typing i:nth-child(2){animation-delay:.15s}.msg--typing i:nth-child(3){animation-delay:.3s}
.lia-quick{display:flex;flex-wrap:wrap;gap:.45rem;padding:0 1.2rem .8rem}
.lia-quick button{font:400 .8rem var(--sans);background:var(--white);border:1px solid rgba(104,123,67,.4);color:var(--forest);padding:.45rem .8rem;border-radius:20px;cursor:pointer;transition:all .3s}
.lia-quick button:hover{background:var(--lemon);border-color:var(--lemon)}
.lia-input{display:flex;gap:.5rem;padding:.8rem 1rem;border-top:1px solid var(--line);background:var(--white)}
.lia-input input{flex:1;border:1px solid var(--line);border-radius:24px;padding:.7rem 1rem;font:inherit;font-size:.92rem;min-width:0}
.lia-input input:focus{outline:none;border-color:var(--olive)}
.lia-input button{width:42px;height:42px;border-radius:50%;border:0;background:var(--lemon);color:var(--forest-deep);cursor:pointer;display:grid;place-items:center;flex:none}
.lia-form{background:var(--white);border-radius:14px;padding:1rem;display:grid;gap:.7rem;animation:popIn .4s var(--ease);align-self:stretch}
.lia-form .field label{font-size:.64rem}
.lia-form .field input,.lia-form .field textarea{padding:.7rem .8rem;font-size:.92rem}
.lia-form .field textarea{min-height:80px}
.lia-form .btn{padding:.85rem}
@media (max-width:640px){
  .lia-label{display:none}
  .lia-launcher{right:1rem;bottom:1rem}
  .lia-bot{width:60px;height:60px}
  .lia-panel{right:.5rem;left:.5rem;width:auto;bottom:5.4rem;height:calc(100svh - 7rem)}
}
