.dl7-assistant {
  position: fixed;
  z-index: 1100;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(20px, calc(env(safe-area-inset-bottom) + 8px));
  color: #252326;
}

.dl7-assistant[hidden],
.dl7-assistant__panel[hidden],
body:has(.dl7-cookie-panel:not([hidden]), dialog[open], .inquiry-form:focus-within) .dl7-assistant {
  display: none;
}

.dl7-assistant__toggle,
.dl7-assistant__start {
  border: 0;
  background: #087443;
  color: #fff;
  cursor: pointer;
}

.dl7-assistant__toggle {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 4px 18px #0004;
  font-size: 25px;
  line-height: 1;
}

.dl7-assistant__toggle:hover,
.dl7-assistant__start:hover {
  background: #065b35;
}

.dl7-assistant__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(320px, calc(100vw - 32px));
  max-height: calc(100dvh - 104px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow-y: auto;
  box-sizing: border-box;
  padding: 20px;
  border: 1px solid #e2dcd9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 30px #0003;
}

.dl7-assistant__title {
  margin: 0 34px 8px 0;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: normal;
}

.dl7-assistant__close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #3d383c;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.dl7-assistant__close:hover {
  background: #f4f1f2;
}

.dl7-assistant__panel p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
}

.dl7-assistant__start {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.dl7-assistant__start:disabled {
  cursor: wait;
  opacity: .7;
}

.dl7-assistant button:focus-visible {
  outline: 2px solid #252326;
  outline-offset: 3px;
}
