.event-history{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.event-history>summary{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:18px;font-weight:600;min-height:44px;color:var(--ink);list-style:none}
.event-history>summary::after{content:'⌄';margin-left:auto}.event-history[open]>summary::after{transform:rotate(180deg)}.event-history>summary>span{font-size:14px;font-weight:500;color:var(--muted)}
.history-content{padding:16px 0}.history-search{display:block;max-width:480px;font-size:14px;color:var(--muted);margin-bottom:24px}.history-search input{display:block;width:100%;margin-top:8px}
.event-history ol{list-style:none;padding:0;margin:0}.event-history li{margin:0 0 24px;padding:0 0 0 20px;border-left:1px solid var(--line)}.event-history li[hidden]{display:none}
.event-history article>header{display:flex;gap:12px;position:relative;margin-bottom:14px}.history-dot{position:absolute;left:-25px;top:7px;width:9px;height:9px;border-radius:50%;background:var(--brand);box-shadow:0 0 0 4px var(--surface)}
.event-history h5{font-size:17px;line-height:1.4;margin:0 0 6px}.event-history header p{font-size:14px;color:var(--muted);margin:0}.history-diff{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(0,1fr) minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:15px;line-height:1.5}.history-diff>strong{font-weight:500;padding:8px 0}
.history-before,.history-after{padding:8px 12px;border-radius:6px;min-width:0;overflow-wrap:anywhere}.history-before{background:color-mix(in srgb,var(--danger,#dc6969) 7%,transparent)}.history-after{background:color-mix(in srgb,var(--success,#4aaf80) 10%,transparent);border-left:3px solid var(--success,#4aaf80)}
.history-diff small{display:block;font-size:13px;color:var(--muted);margin-bottom:4px}.history-diff del,.history-diff ins{color:var(--ink);text-decoration:none;white-space:pre-wrap}.history-diff del{text-decoration:line-through;text-decoration-color:var(--muted)}.history-note{margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere}.history-zone,.history-no-comparison{font-size:14px}
@media(max-width:600px){.history-diff{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.history-diff>strong{grid-column:1/-1;padding:0}.event-history li{padding-left:14px}.history-dot{left:-19px}.history-before,.history-after{padding:8px}.event-history h5{font-size:17px}}
