.kz-preview-history{margin:16px 0;padding:0;border:1px solid #b6cbbb;border-radius:9px;background:#f6faf7;font:14px/1.5 Arial,sans-serif;color:#293b31;text-align:left;letter-spacing:normal}
.kz-preview-history[hidden]{display:none!important}
.kz-preview-history summary{padding:14px;cursor:pointer;font-size:16px;font-weight:700;color:#185c3f;min-height:48px;box-sizing:border-box}
.kz-preview-history__hint,.kz-preview-history__status{margin:0 14px 12px;font-size:13px}
.kz-preview-history__status:empty{display:none}
.kz-preview-history__batch{padding:0 14px 16px}
.kz-preview-history__batch h4{margin:4px 0 10px;font:700 14px/1.5 Arial,sans-serif}
.kz-preview-history__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.kz-preview-history__card{display:flex;flex-direction:column;gap:8px;min-width:0;padding:9px;background:#fff;border:1px solid #cbd7cd;border-radius:7px}
.kz-preview-history__card.is-selected{border:2px solid #187347;padding:8px;background:#edf7f0}
.kz-preview-history__card img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;border-radius:4px;background:#f2f3f1}
.kz-preview-history__label{font-size:12px;font-weight:700}
.kz-preview-history button{font:700 13px/1.4 Arial,sans-serif;cursor:pointer;border-radius:6px;min-height:44px;padding:9px 10px;white-space:normal}
.kz-preview-history__view{background:#fff;color:#185c3f;border:1px solid #187347}
.kz-preview-history__use{background:#187347;color:#fff;border:1px solid #187347}
.kz-preview-history button:focus-visible,.kz-preview-history summary:focus-visible{outline:3px solid #222;outline-offset:3px}
.kz-preview-history__dialog{box-sizing:border-box;width:min(680px,calc(100% - 24px));max-height:92dvh;padding:16px;border:0;border-radius:10px;overflow:auto;background:#fff;color:#293b31}
.kz-preview-history__dialog::backdrop{background:rgba(0,0,0,.65)}
.kz-preview-history__dialog h3{margin:8px 0;font:700 17px/1.4 Arial,sans-serif}
.kz-preview-history__dialog img{display:block;width:100%;height:auto;max-height:65dvh;object-fit:contain}
.kz-preview-history__dialog .kz-preview-history__use{width:100%;margin-top:12px}
.kz-preview-history__close{display:block;margin-left:auto;background:#fff;color:#293b31;border:1px solid #bec9c2}
@media(max-width:380px){.kz-preview-history__batch{padding-right:10px;padding-left:10px}.kz-preview-history__card{padding:6px}.kz-preview-history__card.is-selected{padding:5px}.kz-preview-history button{padding:8px 5px;font-size:12px}}

#kkUploader #kkUploadPreviews{align-items:flex-start}
#kkUploader #kkUploadPreviews>.kk-upload-thumb,#kkUploader #kkUploadPreviews>img{box-sizing:border-box;flex:0 0 72px;width:72px!important;max-width:72px!important;height:72px!important;max-height:72px!important;object-fit:cover;border-radius:10px;overflow:hidden}
#kkUploader #kkUploadPreviews>.kk-upload-thumb>img{display:block;width:100%!important;height:100%!important;max-width:100%!important;object-fit:cover}
