.dm-doc { max-width: 1000px; }
.dm-doc-body { padding: clamp(20px, 5vw, 52px); overflow-wrap: anywhere; }
.dm-doc-body h1 { margin-top: 0; }
.dm-doc-body h2 { margin: 2rem 0 .85rem; scroll-margin-top: 7rem; }
.dm-doc-body p, .dm-doc-contents li { line-height: 1.65; }
.dm-doc-actions { display: flex; justify-content: flex-end; margin-bottom: 1rem; }
.dm-doc-contents { padding: .5rem 1.25rem 1rem; background: #f2f6fc; border-radius: 12px; }
.dm-doc-contents h2 { margin-top: .75rem; }
.dm-doc-contents ol { padding-left: 1.35rem; }
.dm-doc-contents a { text-decoration: underline; }
@media print {
  .dm-doc-actions, .dm-doc-contents, .dm-footer-buttons, .dm-shared-header { display: none; }
  body { background: white; color: black; }
  .dm-doc, .dm-doc-body { width: auto; max-width: none; margin: 0; padding: 0; box-shadow: none; border: 0; }
  .dm-doc-body h2 { break-after: avoid; }
}

.dm-doc-body h1 { font-size: clamp(2rem, 5vw, 3.25rem); color: #172a50; }
.dm-doc-body h2 { font-size: clamp(1.2rem, 2.8vw, 1.7rem); color: #263d68; }
