.label-row {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
}

.label-text {
  min-width: 0;
}

.app-help-button,
.info-tooltip-button {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  min-height: 17px;
  border: 1px solid #b8c2d1;
  border-radius: 50%;
  padding: 0;
  color: var(--muted);
  background: #f8fafc;
  font-size: 11px;
  font-weight: 760;
  line-height: 15px;
  cursor: pointer;
}

.app-help-button:hover,
.app-help-button:focus-visible,
.app-help-button[aria-expanded="true"],
.info-tooltip-button:hover,
.info-tooltip-button:focus-visible,
.info-tooltip-button[aria-expanded="true"] {
  color: var(--accent-dark);
  border-color: var(--accent);
  background: #eefdfa;
}

.app-help-button:focus-visible,
.info-tooltip-button:focus-visible {
  outline: 2px solid rgba(15, 118, 110, 0.24);
  outline-offset: 2px;
}

.app-help-popover,
.info-popover {
  position: fixed;
  z-index: 1200;
  width: min(280px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: var(--app-radius-control);
  color: #344054;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(24, 33, 47, 0.16);
  font-size: 12px;
  font-weight: 520;
  line-height: 1.4;
}

.app-help-popover strong,
.app-help-popover span,
.info-popover strong,
.info-popover span {
  display: block;
}

.app-help-popover strong,
.info-popover strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 760;
}

.app-help-popover span,
.info-popover span {
  white-space: pre-line;
}

.app-help-popover-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent-dark);
  font-weight: 720;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.app-help-popover-link:hover,
.app-help-popover-link:focus-visible {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .app-help-popover,
  .info-popover {
    width: min(300px, calc(100vw - 24px));
  }
}
