#leony-launch,#leony-chat {font-family:inherit;color:#133245}
#leony-launch {
  position:fixed;
  z-index:30;
  right:1rem;
  bottom:max(1rem,env(safe-area-inset-bottom));
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#104e60;
  color:white;
  box-shadow:0 4px 18px #082a3940;
  cursor:pointer;
}
#leony-launch[hidden]{display:none}
#leony-launch:hover{background:#0c4050}
#leony-launch:focus-visible{outline:2px solid #104e60;outline-offset:3px}
#leony-launch svg{width:22px;height:22px}
#leony-chat {position:fixed;inset:auto 1rem 1rem auto;margin:0;padding:0;width:min(24rem,calc(100vw - 2rem));max-height:88vh;max-height:88dvh;border:0;border-radius:1rem;background:white;box-shadow:0 12px 55px #09253750}
#leony-chat[open]{display:flex;flex-direction:column}
#leony-chat::backdrop{background:#0c23352e}
#leony-chat header,#leony-chat form>div {display:flex;align-items:center;justify-content:space-between;gap:.5rem}
#leony-chat header{background:#104e60;color:white;padding:1rem;position:static}
#leony-chat small{display:block;font-size:.78rem;line-height:1.4}
#leony-chat button{font:inherit;cursor:pointer}
#leony-chat [data-close]{color:white;background:transparent;border:0;font-size:1.6rem;padding:0 .5rem}
.leony-body{overflow-y:auto;padding:1rem;min-height:6rem}
.leony-topics{display:flex;flex-wrap:wrap;gap:.4rem}
.leony-topics button{background:#eff7f6;color:#15505b;border:1px solid #bacfcf;border-radius:.6rem;padding:.36rem .65rem}
#leony-chat [role=log] p{padding:.65rem .8rem;background:#eff4f5;border-radius:.7rem;margin:.65rem 12% .2rem 0;white-space:pre-line;overflow-wrap:anywhere}
#leony-chat [role=log] p.leony-user{background:#d7eee8;margin-left:12%;margin-right:0}
#leony-chat [role=log] a{font-size:.85rem;text-decoration:underline}
#leony-chat form{padding:.8rem 1rem;border-top:1px solid #dae3e5}
#leony-chat label{display:block;font-size:.85rem;font-weight:600}
#leony-chat input{min-width:0;flex:1;border:1px solid #91a9ae;border-radius:.5rem;padding:.6rem;font:inherit}
#leony-chat button[type=submit]{background:#104e60;border:0;border-radius:.5rem;color:white;padding:.65rem}
#leony-chat form small{margin-top:.5rem}
