.seoPhotoHistoryButton { white-space: nowrap; flex: 0 0 auto; }
.seoHeader:has(.seoPhotoHistoryButton) { box-sizing: border-box; width: min(100%, 100vw); left: 0; flex-wrap: wrap; justify-content: flex-start; gap: 10px 14px; padding-top: 12px; padding-bottom: 12px; }
.seoHeader:has(.seoPhotoHistoryButton) > * { max-width: 100%; }
.seoHeader:has(.seoPhotoHistoryButton) > h1 { flex: 0 0 auto; margin-right: 0; }
.seoPhotoHistoryEntry { overflow-wrap: anywhere; }
.seoPhotoHistoryDialog { box-sizing: border-box; width: min(1180px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #bccbe0; border-radius: 8px; color: #14263f; background: #fff; }
.seoPhotoHistoryDialog::backdrop { background: rgb(15 25 40 / 45%); }
.seoPhotoHistoryHeader { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; border-bottom: 1px solid #dce3ed; }
.seoPhotoHistoryHeader h2 { margin: 0 0 4px; font-size: 22px; }
.seoPhotoHistoryHeader span, .seoPhotoHistoryMuted { color: #586d87; }
.seoPhotoHistoryHeader button, .seoPhotoHistoryFilters button { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid #c4d0df; border-radius: 5px; background: #fff; color: #1a2b44; font-size: 23px; cursor: pointer; }
.seoPhotoHistoryFilters { display: flex; gap: 8px; padding: 12px 20px; }
.seoPhotoHistoryFilters input { width: 100%; min-width: 0; padding: 9px 12px; border: 1px solid #becde0; border-radius: 5px; font: inherit; }
#seoPhotoHistoryStatus { padding: 0 20px 12px; color: #526984; }
#seoPhotoHistoryRows { padding: 0 20px; }
.seoPhotoHistoryEntry { border-top: 1px solid #dce3ed; padding: 18px 0; }
.seoPhotoHistoryEntry > header { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; font-size: 14px; }
.seoPhotoHistoryResult { color: #226444; }
.seoPhotoHistoryResult.error, .seoPhotoHistoryError { color: #aa2323; }
.seoPhotoHistoryError { overflow-wrap: anywhere; }
.seoPhotoHistoryProduct { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 10px 0; font-size: 14px; }
.seoPhotoHistoryChanges { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.seoPhotoHistoryImages h4 { font-size: 14px; margin: 10px 0; }
.seoPhotoHistoryImages.deleted h4 { color: #a33333; }
.seoPhotoHistoryImages.added h4 { color: #267047; }
.seoPhotoHistoryImages > div { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.seoPhotoHistoryImages figure { width: 90px; margin: 0; }
.seoPhotoHistoryImages a { display: block; height: 120px; background: #f0f4f8; overflow: hidden; }
.seoPhotoHistoryImages img { width: 90px; height: 120px; object-fit: contain; }
.seoPhotoHistoryImages figcaption { font-size: 12px; text-align: center; padding-top: 4px; }
.seoPhotoHistoryEntry details { margin-top: 14px; }
.seoPhotoHistoryEntry summary { cursor: pointer; font-size: 14px; }
.seoPhotoHistoryFooter { padding: 12px 20px 20px; text-align: center; }
.seoPhotoHistoryFooter button { padding: 9px 16px; border: 1px solid #bbcce0; border-radius: 5px; background: #fff; color: #153255; font: inherit; cursor: pointer; }
@media (max-width: 640px) {
  .seoPhotoHistoryChanges { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .seoPhotoHistoryHeader { padding: 12px; }
  .seoPhotoHistoryHeader h2 { font-size: 18px; }
  #seoPhotoHistoryRows, .seoPhotoHistoryFilters { padding-left: 12px; padding-right: 12px; }
}
