.breadcrumbs {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0 0 1.25rem;
  color: var(--muted, #475569);
  font-size: .84rem;
}
.breadcrumbs a, .doc-original { text-decoration: underline; text-underline-offset: .18em; }
.resource-actions { flex-wrap: wrap; align-items: center; gap: .6rem; }
.resource-actions .doc-read, .resource-actions .doc-original { white-space: nowrap; }
.resource-actions .doc-original { font-size: .8rem; }
.reader blockquote { border-inline-start: .22rem solid var(--blue, #0068a0); margin-inline: 0; padding: .2rem 1rem; background: #f2f7fa; }
.diagram-view { max-width: 96vw; max-height: 94vh; border: none; border-radius: .65rem; padding: .8rem; }
.diagram-view::backdrop { background: rgb(8 26 40 / 75%); }
.diagram-view form { position: sticky; top: 0; display: flex; justify-content: flex-end; }
.diagram-view img { display: block; max-width: none; }
@media(max-width: 650px) {
  .resource:has(.doc-read) { flex-wrap: wrap; }
  .resource:has(.doc-read) .resource-info { flex: 1 1 65%; min-width: 0; }
  .resource:has(.doc-read) .resource-actions { flex: 1 1 100%; justify-content: flex-start; }
}
@media print {
  .breadcrumbs, [data-copy-link], .resource-actions, .history, .diagram-view, .source-toc, .notice, [href^="/edit/"], [href^="/new?"] { display:none!important; }
  #read-content { color: #111; }
  #read-content h1, #read-content h2, #read-content h3 { break-after: avoid; }
  #read-content figure, #read-content tr { break-inside: avoid; }
  #read-content img { max-width:100%!important; height:auto; }
  #read-content th, #read-content td { overflow-wrap:anywhere; }
}
