.compact-resources{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.compact-resources .library-card{display:flex;align-items:center;padding:12px;gap:16px;cursor:pointer;min-width:0}
.compact-resources .library-cover{width:150px;min-width:150px;height:85px;margin:0;border-radius:10px;overflow:hidden}
.compact-resources .library-cover img{width:100%;height:100%;object-fit:cover}
.compact-resources .library-card-body{padding:0;min-width:0}
.compact-resources h3{font-size:17px;line-height:1.6;margin:4px 0}
.compact-resources .library-card-body>p{display:none}
.compact-action{position:absolute!important;clip-path:inset(50%);width:1px!important;height:1px!important;overflow:hidden;padding:0!important;white-space:nowrap}
.library-card:focus-visible{outline:3px solid #ad501f;outline-offset:3px}
.resource-manager-row{display:flex;align-items:center;gap:16px;padding:20px;border-bottom:1px solid var(--border)}
.resource-thumb{width:125px;height:70px;object-fit:cover;border-radius:9px;flex-shrink:0}.resource-thumb.empty{display:grid;place-items:center;background:#f8eddd;color:#8b5a37}
.resource-row-title{flex:1;min-width:0}.resource-row-title small{display:block;color:var(--muted);margin-top:8px;overflow-wrap:anywhere}
.resource-row-actions,.resource-filters,.material-edit-actions{display:flex;gap:10px;flex-wrap:wrap}.resource-filters{margin-bottom:18px}.resource-state{font-size:12px;color:#84613e}
.material-cover-preview{display:block;width:min(100%,360px);aspect-ratio:16/9;object-fit:cover;border-radius:12px;margin:10px 0}
.material-cover-preview[hidden]{display:none}.material-editor label{display:grid;gap:10px}.material-editor small{font-size:12px;color:var(--muted)}.material-editor input[type=file]{font-size:13px;max-width:100%}.material-edit-actions{justify-content:flex-end}
@media(max-width:760px){.compact-resources{grid-template-columns:1fr}.compact-resources .library-cover{width:115px;min-width:115px;height:65px}.compact-resources h3{font-size:15px}.resource-manager-row{flex-wrap:wrap;padding:15px}.resource-row-actions{width:100%;justify-content:flex-end}.resource-thumb{width:95px;height:54px}}

.compact-resources .library-card{flex-direction:row;min-height:112px;text-align:left}.compact-resources .library-card-body{flex:1}.compact-resources .library-cover{flex:0 0 150px}.compact-resources .library-card-foot{margin-top:5px}
@media(max-width:760px){.compact-resources .library-cover{flex-basis:115px}}
