.osh-lc{position:fixed;right:16px;bottom:16px;z-index:9990;font:14px/1.4 inherit;font-family:inherit;color:#2a2420}
.osh-lc[hidden]{display:none}
.osh-lc-btn{width:56px;height:56px;border-radius:50%;border:0;background:#2a2420;color:#f6efe6;box-shadow:0 6px 20px rgba(0,0,0,.25);cursor:pointer;display:flex;align-items:center;justify-content:center;position:relative;margin-left:auto}
.osh-lc-btn:hover{background:#4a3c33}
.osh-lc-btn svg{width:26px;height:26px}
.osh-lc-dot{position:absolute;top:-2px;right:-2px;min-width:20px;height:20px;border-radius:10px;background:#b4462e;color:#fff;font-size:12px;line-height:20px;text-align:center;padding:0 5px}
.osh-lc-dot[hidden]{display:none}
.osh-lc-win{position:absolute;right:0;bottom:68px;width:360px;max-width:calc(100vw - 32px);height:520px;max-height:calc(100vh - 100px);background:#fbf8f4;border:1px solid #e4dad0;border-radius:14px;box-shadow:0 12px 40px rgba(0,0,0,.2);display:flex;flex-direction:column;overflow:hidden}
.osh-lc-win[hidden]{display:none}
.osh-lc-head{background:#2a2420;color:#f6efe6;padding:12px 14px;display:flex;align-items:center;gap:10px}
.osh-lc-head b{flex:1;font-weight:600}
.osh-lc-head small{display:block;font-weight:400;opacity:.75;font-size:12px}
.osh-lc-x{background:none;border:0;color:inherit;font-size:24px;line-height:1;cursor:pointer;padding:0 4px}
.osh-lc-body{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px}
.osh-lc-m{max-width:82%;padding:8px 11px;border-radius:12px;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere}
.osh-lc-m.in{align-self:flex-end;background:#2a2420;color:#f6efe6;border-bottom-right-radius:4px}
.osh-lc-m.out{align-self:flex-start;background:#fff;border:1px solid #e4dad0;border-bottom-left-radius:4px}
.osh-lc-m .t{display:block;font-size:11px;opacity:.6;margin-top:3px}
.osh-lc-m a{color:inherit;text-decoration:underline}
.osh-lc-m img{display:block;max-width:100%;max-height:220px;border-radius:8px;margin-bottom:4px}
.osh-lc-contacts{padding:8px 12px;border-top:1px solid #eee4da;display:grid;gap:6px;background:#f5efe8}
.osh-lc-contacts p{margin:0;font-size:12px;color:#6b5d52}
.osh-lc input,.osh-lc textarea{width:100%;box-sizing:border-box;border:1px solid #d8ccbf;border-radius:8px;padding:8px 10px;font:inherit;background:#fff;color:#2a2420}
.osh-lc-form{display:flex;gap:6px;align-items:flex-end;padding:8px;border-top:1px solid #eee4da;background:#fff}
.osh-lc-form textarea{resize:none;height:40px;max-height:120px}
.osh-lc-ic{flex:none;width:40px;height:40px;border-radius:8px;border:1px solid #d8ccbf;background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#2a2420}
.osh-lc-send{background:#2a2420;color:#f6efe6;border-color:#2a2420}
.osh-lc-file{font-size:12px;padding:0 12px 6px;color:#6b5d52;background:#fff}
.osh-lc-file[hidden]{display:none}
.osh-lc-legal{font-size:11px;color:#8a7c70;padding:0 12px 8px;background:#fff}
.osh-lc-legal a{color:inherit}
.osh-lc-err{color:#b4462e;font-size:12px;padding:0 12px 6px;background:#fff}
.osh-lc-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
@media (max-width:600px){
  .osh-lc{right:12px;bottom:12px}
  .osh-lc.is-open{left:0;right:0;top:0;bottom:0}
  .osh-lc.is-open .osh-lc-btn{display:none}
  .osh-lc-win{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;border-radius:0;border:0}
  .osh-lc input,.osh-lc textarea{font-size:16px}
}
