.item-timeline{display:grid;gap:14px;min-width:0}.timeline-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.timeline-header h3{margin:0;overflow-wrap:anywhere}.timeline-sku{margin:5px 0 0;color:var(--text-secondary,#617089);overflow-wrap:anywhere}.timeline-notice,.timeline-evidence{margin:0;padding:10px 12px;border-radius:12px;background:var(--surface-muted,#f2f6fa);color:var(--text-secondary,#546379);font-size:.85rem;line-height:1.5}.timeline-filter{display:grid;gap:6px;font-weight:650;max-width:320px}.timeline-filter select{font:inherit;min-height:42px;padding:9px 12px;border:1px solid var(--border,#d4deea);border-radius:10px;background:var(--surface,#fff);color:inherit}.timeline-load-status{margin:0;color:var(--text-secondary,#617089)}.timeline-load-status:empty{display:none}.timeline-events{display:grid;gap:12px;list-style:none;margin:0;padding:0}.timeline-event{border:1px solid var(--border,#d6e0ec);border-left:3px solid #8eaac8;border-radius:14px;padding:15px;display:grid;gap:10px;min-width:0}.timeline-event--sales{border-left-color:#32a277}.timeline-event--inventory{border-left-color:#7b92de}.timeline-event--publications,.timeline-event--crosslist{border-left-color:#b78dde}.timeline-event-head{display:flex;justify-content:space-between;align-items:start;gap:10px}.timeline-event-head strong{line-height:1.45}.timeline-status{font-size:.75rem;font-weight:650;padding:4px 8px;border-radius:20px;background:#eef2f7;color:#46546a;white-space:normal;flex-shrink:0;max-width:45%}.timeline-status--confirmed,.timeline-status--completed,.timeline-status--recorded{color:#216b4c;background:#e6f5ed}.timeline-status--unknown,.timeline-status--pending,.timeline-status--queued,.timeline-status--sending,.timeline-status--running,.timeline-status--conflict{color:#825718;background:#fff3d8}.timeline-status--failed,.timeline-status--rejected{color:#9f3944;background:#fbe9eb}.timeline-meta{display:flex;flex-wrap:wrap;gap:5px 14px;color:var(--text-secondary,#617089);font-size:.8rem}.timeline-changes{margin:0;display:grid;gap:8px}.timeline-change{display:grid;grid-template-columns:minmax(95px,28%) minmax(0,1fr);gap:10px}.timeline-change dt{color:var(--text-secondary,#617089);font-size:.82rem}.timeline-change dd{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;font-size:.88rem;overflow-wrap:anywhere;white-space:pre-wrap;min-width:0}.timeline-before{color:var(--text-secondary,#617089)}.timeline-arrow{color:#8799ad}.timeline-after{font-weight:550}.timeline-event>.button{justify-self:start}.timeline-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;color:var(--text-secondary,#617089);font-size:.85rem}.timeline-empty{padding:22px 12px;text-align:center;color:var(--text-secondary,#617089);border:1px dashed var(--border,#d6e0ec);border-radius:12px}.history-dialog:has(.item-timeline){width:min(780px,calc(100vw - 28px))}@media(max-width:480px){.timeline-header{flex-wrap:wrap}.timeline-filter{max-width:none}.timeline-event{padding:12px}.timeline-event-head{gap:8px}.timeline-change{grid-template-columns:1fr;gap:3px}.timeline-event-head strong{font-size:.94rem}.timeline-status{max-width:47%}.timeline-footer>.button{width:100%}}
