.quickpix-basic-editor .qp-history-panel {
  min-width: 0;
  flex: 0 0 auto;
  color: #384356;
  background: #fff;
  border-bottom: 1px solid #dfe3e9;
}
.qp-history-header { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 9px 0 11px; }
.qp-history-title { margin: 0; color: #344054; font-size: 12px; font-weight: 650; line-height: 1.3; }
.qp-history-controls { display: flex; gap: 2px; }
.qp-history-control { width: 25px; height: 25px; display: grid; place-items: center; padding: 4px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #647187; cursor: pointer; }
.qp-history-control svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.qp-history-control:hover:not(:disabled) { color: #2d62b5; background: #edf3ff; }
.qp-history-control:disabled { visibility: visible; opacity: .35; cursor: default; }
.qp-history-list { list-style: none; margin: 0; padding: 2px 5px 3px; max-height: 140px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.qp-history-item { margin: 0; padding: 0; }
.qp-history-row { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: 6px; width: 100%; min-height: 27px; margin: 1px 0; padding: 4px 7px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #465268; text-align: left; font-size: 11px; line-height: 1.35; cursor: pointer; }
.qp-history-row:hover { background: #f2f5fa; }
.qp-history-marker { width: 6px; height: 6px; justify-self: center; border-radius: 50%; background: #b5bfce; }
.qp-history-row.is-base .qp-history-marker { border: 1px solid #9ba8ba; background: transparent; border-radius: 1px; }
.qp-history-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qp-history-badge { color: #94a0b2; font-size: 9px; letter-spacing: -.02em; }
.qp-history-row.is-current { border-color: #d8e6fc; color: #245cad; background: #edf4ff; font-weight: 600; }
.qp-history-row.is-current .qp-history-marker { background: #3674d7; border-color: #3674d7; }
.qp-history-row.is-current .qp-history-badge { color: #3974c8; font-weight: 500; }
.qp-history-row.is-redo { color: #8a96a8; }
.qp-history-row.is-redo .qp-history-marker { background: transparent; border: 1px dashed #b5bfce; }
.qp-history-row:focus-visible, .qp-history-control:focus-visible { outline: 2px solid #7b9ee2; outline-offset: -2px; }
.qp-history-panel.is-busy .qp-history-row { cursor: progress; }
.qp-history-status { min-height: 18px; margin: 0; padding: 3px 11px 5px; color: #8b97a9; font-size: 9px; line-height: 1.25; }
@media (max-height: 800px) { .qp-history-list { max-height: 100px; } }
