.history-date-form,.history-compare-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:22px 0}.history-date-form .field,.history-compare-form .field{flex:1;min-width:180px;margin:0}.history-record{display:grid;grid-template-columns:minmax(100px,1fr) 3fr;gap:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:16px 0 24px}.history-record dt,.history-record dd{padding:12px;margin:0;border-bottom:1px solid var(--line);font-size:12px}.history-record dt{background:#f5f7f8;color:var(--muted)}.history-record dd{white-space:pre-wrap;overflow-wrap:anywhere;max-height:340px;overflow:auto}.history-version-list{display:grid;gap:8px;max-height:220px;overflow:auto;margin:14px 0 22px}.history-version{display:flex;justify-content:space-between;gap:14px;text-align:left;border:1px solid var(--line);background:#fff;border-radius:9px;padding:12px;font-size:12px;cursor:pointer}.history-version.selected{border-color:var(--accent,#de754f);background:#fff6f0}.history-version span{color:var(--muted)}.history-diff td{white-space:pre-wrap;overflow-wrap:anywhere;min-width:180px;max-width:330px;vertical-align:top}.history-diff td:nth-child(2){background:#fff4f1}.history-diff td:nth-child(3){background:#f1faf5}.project-history-timeline{list-style:none;margin:0;padding:0 0 0 8px}.history-event{position:relative;border-left:2px solid #e3e9ec;padding:0 0 28px 28px;margin-left:7px}.history-event-dot{position:absolute;left:-7px;top:3px;width:12px;height:12px;border:3px solid #fff;box-shadow:0 0 0 1px #c9d5db;border-radius:50%;background:#8ba2ad}.history-event.create .history-event-dot{background:#51a885}.history-event.update .history-event-dot{background:#e17c52}.history-event.delete .history-event-dot{background:#c65a5a}.history-event time{font-size:11px;color:var(--muted)}.history-event h3{font-size:14px;margin:6px 0}.history-event p{font-size:13px;margin:5px 0}.history-event .button{margin-left:12px}.history-state{padding:16px;background:#f7fafb;border-radius:12px;margin-bottom:20px}@media(max-width:600px){.history-record{grid-template-columns:1fr}.history-record dt{border-bottom:0;padding-bottom:3px}.history-record dd{padding-top:5px}.history-version{flex-direction:column;gap:5px}.history-event .button{display:flex;margin:10px 0 0}.history-compare-form{display:block}.history-compare-form .field{margin-bottom:12px}}
