.entry-opening { font-size: 1.13em; line-height: 1.65; }
.entry-record { margin: 2.2rem 0; padding: 1.35rem; border: 1px solid var(--line, #d8d0c4); border-radius: .35rem; background: #f7f3eb; }
.entry-record h2 { margin-top: 0; font-size: 1.35rem; }
.record-grid { margin: 1rem 0; display: grid; gap: .85rem; }
.record-grid > div { display: grid; grid-template-columns: minmax(9rem, 1fr) 2fr; gap: 1rem; }
.record-grid dt { font-weight: 650; }
.record-grid dd { margin: 0; overflow-wrap: anywhere; }
.record-note, .entry-record > p { font-size: .91rem; line-height: 1.6; }
.review-notice { border-left: 3px solid #7a402e; padding-left: .85rem; }
.claim-references { white-space: nowrap; font-size: .87em; }
.claim-references a, .source-backlink { text-underline-offset: .2em; }
.source-return-links { display: block; margin-top: .3rem; font-size: .8em; }
.source-backlink { display: inline-block; margin-right: .7rem; padding: .25rem 0; }
.citation-action { display: inline-block; margin: .5rem .8rem .5rem 0; }
.archive-notice { padding: 1rem; border-left: 3px solid #72513d; background: #f3eee5; line-height: 1.6; }
.archive-integrity { margin: 2rem 0; }
.archive-integrity code { overflow-wrap: anywhere; }
.edition-entry-list { columns: 2 22rem; column-gap: 2.5rem; }
.edition-entry-list li { break-inside: avoid; margin-bottom: .5rem; }
.entry-diff { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .85rem; max-width: 100%; padding: 1rem; background: #f3eee5; }
.table-scroll { overflow-x: auto; margin: 1.5rem 0; max-width: 100%; }
.comparison-table { border-collapse: collapse; width: 100%; min-width: 62rem; font-size: .88rem; line-height: 1.55; }
.comparison-table th, .comparison-table td { border: 1px solid #d6cfc2; padding: .8rem; vertical-align: top; text-align: left; min-width: 10rem; }
.comparison-table thead th { background: #eee8dc; }
.comparison-table tbody tr:nth-child(even) { background: #f7f3eb; }
.table-scroll:focus-visible, details summary:focus-visible { outline: 3px solid #80543d; outline-offset: 3px; }
.document-page > details { margin: 1.5rem 0; }
.document-page summary { cursor: pointer; font-weight: 600; padding: .5rem 0; }
@media (max-width: 640px) {
  .record-grid > div { grid-template-columns: 1fr; gap: .2rem; }
  .entry-record { padding: 1rem; }
  .entry-opening { font-size: 1.05em; }
  .site-footer > div { flex-wrap: wrap; gap: .65rem; }
  .entry-meta { gap: .4rem .75rem; }
}

.history-change { margin: 1.5rem 0; border: 1px solid var(--line, #d8d0c4); }
.history-change section { padding: 1rem 1.25rem; overflow-wrap: anywhere; }
.history-change h3 { font-size: 1rem; margin: 0 0 .75rem; }
.history-before { background: #f4efeb; }
.history-after { background: #eef3ed; border-top: 1px solid var(--line, #d8d0c4); }
.history-reason { padding: 1rem 0; }
