/* Boxes appended by growth/book-boxes.lua at the end of each page. Small and quiet:
   they sit after the chapter text, never above it. */
.mr-box {
  margin: 2.5rem 0 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(127, 127, 127, 0.25);
  border-radius: 0.375rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: inherit;
}
.mr-box + .mr-box { margin-top: 1rem; }
.mr-box p { margin: 0 0 0.4rem; }
.mr-box p:last-child, .mr-box ul:last-child { margin-bottom: 0; }
.mr-box .mr-box-title { font-weight: 600; margin-bottom: 0.35rem; }
.mr-box code { font-size: 0.8rem; overflow-wrap: anywhere; }
.mr-ai-install a { white-space: nowrap; }
.mr-ai-install img { vertical-align: middle; }
.mr-copy {
  font-size: 0.75rem;
  padding: 0 0.45rem;
  border: 1px solid rgba(127, 127, 127, 0.4);
  border-radius: 0.25rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.mr-related ul { margin: 0; padding-left: 1.2rem; }
.mr-cite-apa { overflow-wrap: anywhere; }
.mr-cite details summary { cursor: pointer; }
.mr-cite pre { margin: 0.4rem 0 0; font-size: 0.75rem; white-space: pre-wrap; overflow-wrap: anywhere; }
