.site-canvas {
  padding-bottom:calc(46px + max(16px,env(safe-area-inset-bottom)));
}
.sales-widget {
  position:fixed;
  z-index:5;
  right:max(16px,env(safe-area-inset-right));
  bottom:max(16px,env(safe-area-inset-bottom));
  width:min(380px,calc(100vw - max(16px,env(safe-area-inset-left)) - max(16px,env(safe-area-inset-right))));
  display:grid;
  justify-items:end;
  pointer-events:none;
}
.sales-launch,.sales-panel {pointer-events:auto}
.sales-launch {
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:46px;
  padding:10px 16px;
  border-radius:24px;
  background:#242a27;
  color:#fff;
  box-shadow:0 4px 18px #19251f38;
  font-size:.9rem;
  font-weight:650;
}
.sales-icon {width:16px;height:13px;border:1.5px solid currentColor;border-radius:4px;position:relative}
.sales-icon::after {
  content:"";
  position:absolute;
  bottom:-4px;
  left:2px;
  width:4px;
  height:6px;
  background:#242a27;
  border-left:1.5px solid currentColor;
  transform:skewY(-35deg);
}
.sales-panel {
  display:grid;
  justify-self:stretch;
  grid-template-rows:auto auto auto minmax(0,1fr) auto auto;
  max-height:min(610px,calc(100dvh - 90px));
  margin-bottom:10px;
  overflow:hidden;
  border:1px solid #c6d0c9;
  border-radius:12px;
  color:var(--ink);
  background:#fafbf8;
  box-shadow:0 12px 36px #1c2b2740;
}
.sales-header {display:flex;align-items:center;gap:8px;background:#e6eeea;padding:13px 14px}
.sales-header div {margin-right:auto}
.sales-header p {font-size:.75rem;color:#4a574f}
.sales-header h2 {font-size:1.1rem;line-height:1.28;font-weight:680}
.sales-close {border:1px solid #b6c6bd;border-radius:6px;min-width:36px;min-height:36px;font-size:1.3rem}
.sales-mode {margin:9px 13px 2px;font-size:.78rem;line-height:1.42;color:#4a574f}
.sales-topics {display:flex;flex-wrap:wrap;gap:5px;margin:7px 12px 2px}
.sales-topics button,.sales-action {
  border:1px solid #bdcbc2;
  border-radius:6px;
  padding:6px 8px;
  min-height:32px;
  color:#254436;
  font-size:.78rem;
  font-weight:650;
}
.sales-topics button:hover,.sales-action:hover {background:#e8efe9}
.sales-log {display:grid;gap:7px;align-content:start;overflow:auto;min-height:0;overscroll-behavior:contain;padding:10px 12px}
.sales-message {justify-self:start;max-width:95%;padding:9px 11px;border-radius:8px;background:#e9efeb;font-size:.88rem;line-height:1.46;overflow-wrap:anywhere;white-space:pre-wrap}
.sales-message.buyer {justify-self:end;background:#e1eaf0}
.sales-action {justify-self:start}
.sales-status {padding:4px 12px;color:#53605a;font-size:.8rem}
.sales-form {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;margin:0;padding:9px 12px;border-top:1px solid #d8e0d9}
.sales-form input {padding:7px 8px;min-width:0;font-size:16px}
.sales-form .button {min-height:42px;padding:8px 11px}
.sales-widget button:disabled {opacity:.6;cursor:default}
