.legacy-history{margin:20px 0;padding:20px;border-radius:16px;background:var(--card,var(--surface,#fff));box-shadow:0 1px 3px #0000000a,0 5px 18px #00000008;color:var(--text-main,var(--text,#172b34))}
.legacy-history h3{margin:0 0 8px;font-size:1rem;text-wrap:balance}.legacy-history p{font-size:.84rem;line-height:1.55;text-wrap:pretty;color:var(--text-mid,#586872)}
.legacy-history dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px;margin:18px 0}.legacy-history dt{font-size:.72rem;color:var(--text-mid,#586872)}.legacy-history dd{margin:4px 0 0;font-size:.9rem;overflow-wrap:anywhere;white-space:pre-wrap;font-variant-numeric:tabular-nums}
.legacy-history button{min-height:44px;padding:10px 16px;border:1px solid #d3dfe3;border-radius:8px;font:inherit;font-size:.82rem;background:var(--surface,#fff);color:inherit;cursor:pointer;transition:background-color .15s,transform .15s}.legacy-history button:active{transform:scale(.96)}.legacy-history button:focus-visible{outline:3px solid #34bdc3;outline-offset:3px}.legacy-history button:disabled{opacity:.5;cursor:wait}.legacy-history .legacy-actions{display:flex;flex-wrap:wrap;gap:10px}.legacy-history .legacy-row{padding:14px 0;border-bottom:1px solid #dce5e8;overflow-wrap:anywhere}.legacy-history .legacy-row strong{display:block;margin-bottom:5px}.legacy-history .legacy-row span{display:block;font-size:.8rem;margin:5px 0;color:var(--text-mid,#586872)}.legacy-history img{display:block;max-width:100%;max-height:120px;object-fit:contain;background:#fff;border-radius:8px}.legacy-history [role=status]{min-height:20px}.legacy-history h4{font-size:.82rem;margin:18px 0 6px}.legacy-history [data-legacy-source] p{overflow-wrap:anywhere;white-space:pre-wrap;margin:6px 0}
@media(max-width:600px){.legacy-history{padding:16px;margin:16px 0}.legacy-history dl{grid-template-columns:1fr;gap:12px}.legacy-history .legacy-actions button{flex:1}}
