/* Blue records are editorial history; orange remains a scientific conflict. */
.library-history, .reader-history { padding: 18px 20px; border: 1px solid #b9ccd5; border-radius: 13px; background: #f3f7f9; }
.library-history > summary, .reader-history > summary { color: #315f70; cursor: pointer; font-weight: 750; }
.library-history > p, .reader-history > p { color: var(--ink-soft); font-size: 12px; }
.library-history .library-conflict, .reader-history .library-conflict { margin-top: 12px; }
.library-conflict.is-history, .inline-conflict.is-history, .research-conflicts.is-history,
.deficiency-conflict.is-history, .conflict-card.is-history { border-color: #b9ccd5; border-left-color: #5e8fa3; background: #f3f7f9; }
.library-conflict.is-history header, .inline-conflict.is-history summary, .inline-conflict.is-history button { color: #315f70; }
.is-history .conflict-flag, .is-history .conflict-badge { background: #315f70; color: white; }
.source-line.has-history { border-left-color: #5e8fa3; background: #f3f7f9; }
.source-line.is-target-line { outline-color: #5e8fa3; }
.source-line.has-conflict.is-target-line { outline-color: var(--orange); }
.conflict-page.is-history .source-side { border-color: #b9ccd5; border-top-color: #5e8fa3; background: #f3f7f9; }
.conflict-page.is-history .conflict-count { background: #f3f7f9; border-color: #b9ccd5; }
.conflict-page.is-history .conflict-count strong, .conflict-page.is-history .source-link { color: #315f70; }
.conflict-page.is-history .status-badge:not(.current) { color: #315f70; background: #e7f0f4; }
.conflict-page.is-history .conflict-intro-note { color: #315f70; background: #f3f7f9; border-left-color: #5e8fa3; }
.library-conflict.is-history .conflict-side { border-color: #b9ccd5; }
.library-conflict.is-history .conflict-side button { color: #315f70; }
.deficiency-conflict-badge.is-history { color: #315f70; background: #e7f0f4; border-color: #b9ccd5; }
