.pkm-patent-note > .pkm-patent-note-trigger {
  display: inline-grid;
  place-items: center;
  box-sizing: border-box;
  vertical-align: middle;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid #155eef;
  border-radius: 50%;
  background: #fff;
  color: #155eef;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.pkm-patent-note > .pkm-patent-note-trigger[data-note-active] {
  background: #155eef;
  color: #fff;
}

.pkm-patent-note > .pkm-patent-note-trigger:focus-visible {
  outline: 2px solid #155eef;
  outline-offset: 3px;
}

body > .pkm-patent-note-popup {
  display: block;
  position: fixed;
  z-index: 1000;
  box-sizing: border-box;
  width: min(20rem, calc(100vw - 16px));
  max-height: calc(100vh - 16px);
  overflow: auto;
  padding: 10px 14px;
  border: 1px solid #c9daf3;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 42, 76, .15);
  color: #344960;
  font-size: 14px;
  line-height: 1.55;
  text-align: start;
  overflow-wrap: anywhere;
}

.pkm-patent-note-popup[data-note-hover] {
  pointer-events: none;
}

.pkm-patent-note-popup p { margin: 0; }
.pkm-patent-note-popup p + p { margin-top: .5rem; }
.pkm-patent-note-popup b { display: block; color: #155eef; }
