.ProseMirror {
  .node-base {
    /* Suppress the default ProseMirror atom-node selection outline —
     * the embed reads as a document block, not a focused widget. */
    &.ProseMirror-selectednode {
      outline: none;
    }

    /* Page-reference pills are self-contained chips. The editor's `a` rule
     * would otherwise add a link underline + bold weight on top of the chip,
     * making it look different from a standalone base. Keep it a plain chip. */
    a.pagePill {
      border-bottom: none;
      font-weight: 400;
    }
  }
}
