.company-history { max-width: 1280px; margin: 0 auto; }
.company-history > header { margin: 1.5rem 0; }
.company-history > .panel { margin: 1.5rem 0; padding: 1.5rem; }
.company-history header p, .company-history .panel > p { margin-top: .5rem; }
.history-table { margin-top: 1rem; }
.history-table { overflow-x: auto; }
.history-table table { width: 100%; border-collapse: collapse; text-align: left; }
.history-table th, .history-table td { padding: .85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.company-history small { display: block; margin-top: .3rem; color: var(--muted, #667085); }
.history-selected { background: var(--surface-warm); }
.history-score { font-size: 1.8rem; font-weight: 650; }
.history-comparison { margin-top: 2rem; }
.history-comparison > p { margin: .75rem 0; }
.history-warning { padding: 1rem; background: #fff4d9; color: #684800; border-radius: .5rem; }
.history-diff { border-top: 1px solid var(--line); padding: 1rem 0; }
.history-diff summary, .history-audit summary { cursor: pointer; font-weight: 650; }
.history-diff article { padding: .5rem 0 1rem; }
.history-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.history-pair section { min-width: 0; }
.history-pair h5 { font-size: .9rem; color: var(--muted, #667085); margin: .5rem 0; }
.history-fact { margin: .75rem 0; overflow-wrap: anywhere; }
.history-fact blockquote { margin: .5rem 0; padding-left: .75rem; border-left: 3px solid #c5cfdd; }
.history-audit pre { max-height: 34rem; overflow: auto; font-size: .8rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.history-audit h3 { margin-top: 1.5rem; }
.history-saved-fact { border-bottom: 1px solid var(--line); padding-bottom: .75rem; }
@media (max-width: 680px) { .history-pair { grid-template-columns: 1fr; gap: .5rem; } }
