.pf-preview-zoom{max-width:90vw;background:#edf3f2;border:1px solid #527e7b;border-radius:14px;padding:18px}.pf-preview-zoom img{display:block;width:min(800px,80vw);height:auto}.pf-preview-zoom button{display:block;margin:12px auto 0}#pfComponentPreview{object-fit:contain;width:240px;max-width:100%;height:180px}.pf-catalog-art img{object-fit:contain}

#pfComponentReview{grid-template-columns:160px minmax(0,1fr)}#pfComponentReview .pf-component-image{display:grid;gap:6px}#pfComponentPreview{width:160px;height:120px}#pfComponentExpand{font-size:12px;padding:6px;min-height:30px}@media(max-width:700px){#pfComponentReview{grid-template-columns:100px minmax(0,1fr)}#pfComponentPreview{width:100px;height:75px}}

#pfModPresets button img{width:100%;height:90px;object-fit:contain;border-radius:7px}

.pf-catalog-art:has(img){height:190px;background:#edf2f1}.pf-catalog-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}@media(max-width:600px){.pf-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pf-catalog-art:has(img){height:145px}}

@media(min-width:921px){
#pfComponentPicker[open]{inset:4dvh auto auto 50%;transform:translateX(-50%);width:min(1120px,95vw);height:92dvh;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) 240px;grid-template-rows:auto auto auto auto auto auto minmax(0,1fr);grid-template-areas:'head head' 'intro intro' 'search review' 'filters review' 'category review' 'count review' 'grid review';gap:8px 18px;overflow:hidden}
#pfComponentPicker header{grid-area:head}#pfComponentIntro{grid-area:intro;margin:0 0 4px;font-size:12px}#pfComponentPicker>label{grid-area:search}#pfComponentFilters{grid-area:filters;margin:0}#pfComponentCategory{grid-area:category}#pfComponentCount{grid-area:count;margin:0}
#pfComponentGrid{grid-area:grid;overflow:auto;align-content:start;padding:3px 8px 10px 2px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
#pfComponentReview{grid-area:review;position:static;display:flex;flex-direction:column;gap:12px;margin:0;padding:12px;overflow:auto;min-width:0;border:1px solid #557079;border-radius:10px;box-shadow:none}
#pfComponentReview[hidden]{display:none}#pfComponentReview .pf-component-image{width:100%}#pfComponentPreview{width:100%;height:auto;aspect-ratio:4/3}#pfComponentReview>div{min-width:0}#pfComponentReview strong{line-height:1.5}
}
@media(max-width:920px){#pfComponentFilters{display:none}#pfComponentCategory:not([hidden]){display:block;width:100%;margin:10px 0}#pfComponentIntro{font-size:12px;line-height:1.4}}

#pfComponentGrid{grid-auto-rows:max-content}#pfComponentGrid .pf-component-card{align-self:start;min-height:240px;height:auto}#pfComponentGrid .pf-component-card img{flex:0 0 auto;height:auto;max-height:none;aspect-ratio:4/3}
@media(min-width:921px){#pfComponentPicker #pfComponentReview{display:flex;flex-direction:column;position:static;margin:0;padding:12px;gap:12px}#pfComponentPicker #pfComponentReview[hidden]{display:none}#pfComponentPicker #pfComponentPreview{width:100%;height:auto}#pfComponentPicker #pfComponentExpand{min-height:30px;height:auto}}
