dialog {
  position: relative;
}

.dialog-top {
  display: none;
}

.dialog-close {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #dbe4dd;
  border-radius: 50%;
  background: #fffffff2;
  color: #718078;
  box-shadow: 0 3px 14px #1833231f;
}

.dialog-close:hover {
  background: #f2f6f2;
  color: #315a47;
}

.dialog-close:focus-visible {
  outline: 3px solid #9bc1a8;
  outline-offset: 2px;
}

.dialog-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

#viewer-target {
  height: 100%;
}

.app-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.inline-sample {
  margin-top: 54px;
  padding-top: 36px;
  border-top: 1px solid #dfe6e1;
}

.inline-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.inline-heading h2 {
  margin: 10px 0 7px;
  color: #263c31;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -.6px;
}

.inline-heading p {
  margin: 0;
  color: #7d8b82;
  font-size: 12px;
}

.embed-switch {
  display: flex;
  padding: 4px;
  border: 1px solid #dce5de;
  border-radius: 9px;
  background: #f1f5f2;
}

.embed-switch button {
  min-height: 38px;
  padding: 0 15px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #738279;
  font-size: 11px;
}

.embed-switch button.selected {
  background: #fff;
  color: #285d47;
  box-shadow: 0 1px 5px #1c38261a;
  font-weight: 600;
}

.inline-viewer-target {
  height: 680px;
  overflow: hidden;
  border: 1px solid #dce5de;
  border-radius: 12px;
  background: #fafbf9;
  box-shadow: 0 12px 35px #2747350d;
}

@media (max-width: 750px) {
  dialog {
    border-radius: 12px 12px 0 0;
  }

  .dialog-close {
    top: 8px;
    right: 8px;
  }

  .inline-sample {
    margin-top: 38px;
    padding-top: 28px;
  }

  .inline-heading {
    display: block;
  }

  .embed-switch {
    width: 100%;
    margin-top: 18px;
  }

  .embed-switch button {
    flex: 1;
    min-height: 44px;
  }

  .inline-viewer-target {
    height: 660px;
    border-radius: 9px;
  }
}
