/* Booking chat — site chrome only, not in RSS */
.dzen-chat[hidden]{display:none!important}
.dzen-chat{position:fixed;right:18px;bottom:96px;z-index:2147482000;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.dzen-chat__teaser{
  width:min(280px,calc(100vw - 96px));background:#fff;border:1px solid #d8e8e8;border-radius:16px;
  box-shadow:0 16px 40px rgba(7,55,60,.18);padding:12px 36px 12px 14px;cursor:pointer;position:relative;
}
.dzen-chat__teaser[hidden]{display:none!important}
.dzen-chat__teaser strong{display:block;font-size:13px;color:#087a78;margin-bottom:4px}
.dzen-chat__teaser p{margin:0;font:400 14px/1.4 system-ui;color:#102428}
.dzen-chat__teaser-x{position:absolute;top:6px;right:8px;border:0;background:transparent;color:#5d7175;font-size:18px;line-height:1;cursor:pointer}
.dzen-chat__launcher{
  width:64px;height:64px;border:0;padding:0;border-radius:50%;
  background:#087a78;box-shadow:0 14px 32px rgba(8,122,120,.32);
  cursor:pointer;position:relative;overflow:visible;
  animation:dzen-chat-pulse 2.2s infinite;
}
.dzen-chat__launcher[hidden]{display:none!important}
.dzen-chat__launcher img{width:64px;height:64px;border-radius:50%;object-fit:cover;display:block;border:2px solid #fff}
@keyframes dzen-chat-pulse{
  0%{box-shadow:0 0 0 0 rgba(8,122,120,.45)}
  70%{box-shadow:0 0 0 16px rgba(8,122,120,0)}
  100%{box-shadow:0 0 0 0 rgba(8,122,120,0)}
}
.dzen-chat__badge{
  position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 5px;
  border-radius:999px;background:#c45d3a;color:#fff;font:800 11px/20px system-ui;
}
.dzen-chat__panel{
  width:min(360px,calc(100vw - 28px));max-height:min(560px,calc(100vh - 110px));
  background:#fff;border:1px solid #d8e8e8;border-radius:22px;
  box-shadow:0 24px 70px rgba(7,55,60,.2);overflow:hidden;
  display:flex;flex-direction:column;
}
.dzen-chat__panel[hidden]{display:none!important}
.dzen-chat__head{
  display:flex;align-items:center;gap:10px;padding:12px 12px 12px 14px;
  background:linear-gradient(135deg,#087a78,#064b55);color:#fff;
}
.dzen-chat__head img{width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.7)}
.dzen-chat__head strong{display:block;font-size:15px}
.dzen-chat__head span{display:block;font-size:12px;opacity:.82}
.dzen-chat__min{
  margin-left:auto;width:34px;height:34px;border:0;border-radius:10px;
  background:rgba(255,255,255,.16);color:#fff;font-size:22px;line-height:1;cursor:pointer;
}
.dzen-chat__log{padding:14px 14px 8px;overflow:auto;display:flex;flex-direction:column;gap:8px;min-height:120px}
.dzen-chat__msg{
  max-width:88%;padding:10px 12px;border-radius:16px 16px 16px 4px;
  background:#eaf7f5;color:#102428;font:400 14px/1.45 system-ui;
}
.dzen-chat__msg--user{align-self:flex-end;background:#087a78;color:#fff;border-radius:16px 16px 4px 16px}
.dzen-chat__replies{display:flex;flex-wrap:wrap;gap:8px;padding:8px 14px 14px}
.dzen-chat__replies[hidden]{display:none!important}
.dzen-chat__chip{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:36px;padding:0 12px;border-radius:999px;border:1px solid #087a78;
  background:#fff;color:#064b55;font:700 13px/1 system-ui;cursor:pointer;text-decoration:none;
}
.dzen-chat__chip--ghost{border-color:#d8e8e8;font-weight:600;color:#5d7175}
.dzen-chat__form{padding:0 14px 14px;display:flex;flex-direction:column;gap:8px;border-top:1px solid #eaf7f5;padding-top:12px}
.dzen-chat__form[hidden]{display:none!important}
.dzen-chat__legal{margin:0;font:400 12px/1.45 system-ui;color:#5d7175}
.dzen-chat__field{display:grid;gap:4px;font:600 12px/1.3 system-ui;color:#2a4449}
.dzen-chat__field input{
  height:42px;border:1px solid #c8ced6;border-radius:10px;padding:0 12px;font:400 15px/1 system-ui;
}
.dzen-chat__field input:focus{outline:none;border-color:#087a78;box-shadow:0 0 0 3px rgba(8,122,120,.16)}
.dzen-chat__check{display:flex;gap:8px;align-items:flex-start;font:400 12px/1.4 system-ui;color:#475467;cursor:pointer}
.dzen-chat__check input{width:18px;height:18px;margin-top:1px;flex:0 0 auto;accent-color:#087a78}
.dzen-chat__check a{color:#087a78}
.dzen-chat__err{margin:0;color:#991b1b;font:600 12px/1.4 system-ui}
.dzen-chat__err[hidden]{display:none!important}
.dzen-chat__send{
  height:44px;border:0;border-radius:12px;background:#087a78;color:#fff;
  font:700 15px/1 system-ui;cursor:pointer;
}
.dzen-chat__send:disabled{opacity:.6;cursor:wait}
.dzen-chat__call{text-align:center;font:600 12px/1.3 system-ui;color:#087a78;text-decoration:none}
.dzen-chat .dzen-consult__hp{position:absolute;left:-9999px;height:0;overflow:hidden}
body.dzen-book-open .dzen-chat__panel,body.dzen-book-open .dzen-chat__teaser{display:none!important}
@media(max-width:760px){
  .dzen-chat{right:12px;bottom:100px}
}
