i.dialog-helper {
  cursor: pointer;
}

.dialog-helper-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(100, 100, 100, 0.3);
  backdrop-filter: blur(3px);
  display: flex;
  justify-content: center;
  align-items: start;
  animation: fadeIn 0.3s ease;
}

.dialog-helper-overlay.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.dialog-helper-frame {
  background: #f8fafb;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  animation: fadeIn 0.3s ease;
}

.dialog-helper-header {
  background-color: #fff;
  color: #676a6c;
  height: 79px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-radius: 6px 6px 0 0;
  border-bottom: #dfdfdf solid 1px;
}

.dialog-helper-header h1 {
  font-size: 26px;
  padding-top: 26px;
  font-weight: bold;
  margin: 0;
  text-align: center;
  width: auto;
  flex: 1;
}

.dialog-helper-header .dialog-helper-close {
  background: transparent;
  border: none;
  color: #7f7f7f;
  margin-top: 3px; margin-right: 5px;
  font-size: 26px;
  cursor: pointer;
  flex: 0;
}

.dialog-helper-body {
  background-color: #f6f6f6;
  max-height: 65vh;     /* conteúdo cresce até isso */
  overflow-y: auto;     /* só aparece scroll se necessário */
  padding: 16px;
  box-sizing: border-box;
}


.dialog-helper-body .content-group {
  background-color: #fff;
  border-radius: 3px;
  border-width: 1px;
  border-style: solid;
  border-color: #dfdfdf;
  margin: 5px 0;
  padding: 2px 4px;
}

.dialog-helper-body .content-group h1,
.dialog-helper-body .content-group h2,
.dialog-helper-body .content-group h3,
.dialog-helper-body .content-group h4 {
  margin: 14px 0 6px;
}

.dialog-helper-body .content-group h1 {font-size: 46px;}
.dialog-helper-body .content-group h2 {font-size: 32px;}
.dialog-helper-body .content-group h3 {font-size: 24px;}
.dialog-helper-body .content-group h4 {font-size: 18px;}

.dialog-helper-body .content-group p {
  margin: 2px 0 0;
  font-size: 15px;
}

.dialog-helper-body .content-group ul,
.dialog-helper-body .content-group ol {
  margin: 4px 0 0;
  font-size: 13px;
}

.dialog-helper-body .content-group img {
  width: calc(100% - 8px);
  margin: 4px;
  border-width: 1px;
  border-style: solid;
  border-color: #dfdfdf;
}

.dialog-helper-body .content-group iframe {
  width: 530px;
  height: 298px;
  margin: 4px;
  border-width: 1px;
  border-style: solid;
  border-color: #dfdfdf;
}

img.fulls {
  cursor: zoom-in;
}

