/* Only administrator poster grid; list and public material library stay unchanged. */
html body #pane-posters.tab-pane #posterGrid.pa-poster-grid{position:relative;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:12px;align-items:start}
html body #pane-posters.tab-pane #posterGrid[data-masonry=ready]{display:block}
html body #pane-posters.tab-pane #posterGrid[data-masonry=ready]>*{position:absolute;box-sizing:border-box;margin:0}
html body #pane-posters.tab-pane #posterGrid .pa-grid-card{display:block;border-radius:6px!important}
html body #pane-posters.tab-pane #posterGrid .pa-grid-card.menu-open{z-index:24}
html body #pane-posters.tab-pane #posterGrid .pa-grid-image{height:auto!important;aspect-ratio:9/16;padding:0!important}
html body #pane-posters.tab-pane #posterGrid .paw-image-open{height:100%!important;padding:0!important;min-height:0!important;min-width:0!important;border-radius:5px 5px 0 0!important}
html body #pane-posters.tab-pane #posterGrid .pa-thumb{object-fit:contain;width:100%;height:100%;max-height:none!important}
html body #pane-posters.tab-pane #posterGrid .pa-grid-content{padding:10px}
html body #pane-posters.tab-pane #posterGrid .paw-card-title{min-height:0!important;font-size:13px;line-height:1.5;margin:0}
html body #pane-posters.tab-pane #posterGrid .paw-copy-preview{height:auto!important;min-height:0!important;max-height:8.5em;-webkit-line-clamp:5;line-clamp:5;white-space:pre-line;font-size:12px!important;font-weight:400!important;line-height:1.7;letter-spacing:0;padding:0!important;margin:8px 0 0!important;border-radius:0!important;box-shadow:none!important}
html body #pane-posters.tab-pane #posterGrid .paw-copy-preview span{font-weight:400!important;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:5!important;line-clamp:5;overflow:hidden;white-space:pre-line}
html body #pane-posters.tab-pane #posterGrid .paw-copy-preview.empty{padding:5px 7px!important;max-height:none;font-size:11px!important;color:#b65a12;background:#fff8ef}
html body #pane-posters.tab-pane #posterGrid .pa-grid-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 28px;gap:5px}
html body #pane-posters.tab-pane #posterGrid .pa-grid-actions .btn{min-height:30px;padding:4px 3px;font-size:11px!important;white-space:nowrap;min-width:0}
html body #pane-posters.tab-pane #posterGrid .paw-ai-button{color:#006bff!important;border-color:#cddfff!important;background:#f1f6ff!important}
html body #pane-posters.tab-pane #posterGrid .paw-card-more summary{height:30px;box-sizing:border-box}
html body #pane-posters.tab-pane #posterGrid .pa-group-heading,html body #pane-posters.tab-pane #posterGrid .ad-group-heading{padding:10px 0!important;line-height:1.5;font-size:14px;border-bottom:1px solid #dce3e7;border-radius:0!important;grid-column:1/-1}
@media(max-width:600px){html body #pane-posters.tab-pane #posterGrid.pa-poster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html body #pane-posters.tab-pane #posterGrid .pa-grid-content{padding:8px}html body #pane-posters.tab-pane #posterGrid .pa-grid-meta,html body #pane-posters.tab-pane #posterGrid .pa-grid-stats{font-size:10px;gap:4px}}
