.resource-intro{max-width:720px}.resource-layout{display:grid;grid-template-columns:290px 1fr;gap:28px;align-items:start}.resource-upload{position:sticky;top:20px}.resource-upload h2{font-size:24px}.resource-search{display:flex;gap:12px;align-items:end;margin-bottom:20px}.resource-search label{flex:1;margin:0}.resource-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px}.resource-card{padding:0;overflow:hidden;display:flex;flex-direction:column}.resource-preview{width:100%;height:155px;border-radius:0;background:#eee5f6;color:#673a91;font-size:32px;position:relative;overflow:hidden}.resource-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#f4eff7}.resource-card-content{padding:18px;flex:1;display:flex;flex-direction:column;overflow-wrap:anywhere}.resource-card h3{font-size:18px}.resource-card p{margin-bottom:10px}.resource-card .row{margin-top:auto}.resource-tags{font-size:12px;color:var(--muted)}.resource-status{font-size:12px;font-weight:650;color:var(--teal)}#resource-dialog{width:min(1100px,96vw);max-height:94dvh;border:1px solid var(--line);border-radius:16px;background:var(--paper);color:var(--ink);padding:24px}#resource-dialog::backdrop{background:#140d20db}.resource-large{display:block;max-width:100%;max-height:70dvh;object-fit:contain;margin:18px auto}.resource-pdf{width:100%;height:65dvh;border:0}.resource-detail-title{font-size:26px;overflow-wrap:anywhere}.resource-dialog-tools{display:flex;justify-content:space-between;align-items:center;gap:12px}.resource-search-status{font-size:13px;color:var(--muted);margin-bottom:18px}.resource-drop.dragging{outline:3px solid #a77dc8}.resource-progress{width:100%}.resource-upload input[type=file]{font-size:12px;padding:10px}.resource-upload button{width:100%;margin-top:12px}@media(max-width:850px){.resource-layout{grid-template-columns:1fr}.resource-upload{position:static}.resource-upload details:not([open]){margin:0}.resource-search{align-items:center;flex-wrap:wrap}.resource-search label{min-width:200px}}
.resource-layout{grid-template-columns:290px minmax(0,1fr)}.resource-layout>section{min-width:0}.resource-search label,.resource-search input{min-width:0}header nav{flex-wrap:wrap}@media(max-width:850px){.resource-layout{grid-template-columns:minmax(0,1fr)}}
