/* Member walkthroughs. Shared by the SEO suite and the main tool pages. */
.tips-panel {
  background: #fff;
  border: 1px solid rgba(36, 44, 78, 0.12);
  border-radius: 14px;
  padding: 16px 18px 8px;
  margin: 0 0 18px;
}

.tips-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.tips-panel-title {
  margin: 0;
  font-size: 1.05rem;
  color: #1d2442;
}

.tips-hide,
.tips-show {
  background: none;
  border: 0;
  padding: 0;
  color: #3b5bdb;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: underline;
}

.tips-hide:focus,
.tips-show:focus,
.tip-help:focus {
  outline: 2px solid #3b5bdb;
  outline-offset: 2px;
}

.tips-steps {
  margin: 0;
  padding-left: 1.2rem;
}

.tips-step {
  margin: 0 0 10px;
}

.tips-step strong {
  display: block;
  color: #1d2442;
}

.tips-step p {
  margin: 2px 0 0;
  color: #3d4663;
  font-size: 0.95rem;
}

.tips-collapsed {
  margin: 0 0 14px;
}

.tip-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-left: 0.3rem;
  border-radius: 50%;
  border: 1px solid #8b93a7;
  background: #fff;
  color: #1d2442;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  vertical-align: middle;
  position: relative;
}

.tip-help[data-open="1"]::after,
.tip-help:hover::after,
.tip-help:focus::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  width: max-content;
  max-width: 240px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #1d2442;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
  text-align: left;
  z-index: 20;
  pointer-events: none;
}
