.resource-list{display:grid;gap:0;border-top:1px solid #dce7f3}.resource-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 12px;background:transparent;border:0;border-bottom:1px solid #dce7f3;text-align:left;color:inherit;cursor:pointer}.resource-row:hover,.resource-row:focus-visible{background:#f4f8fc;outline:2px solid #92b9dc;outline-offset:-2px}.resource-row-main{min-width:0;display:grid;gap:6px}.resource-row-main strong{font-size:16px;color:#183b5d}.resource-row-main small{font-size:12px;color:#687d92;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resource-row-tags{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;flex-shrink:0}.resource-row-tags span,.resource-dialog-category{padding:6px 12px;border-radius:18px;background:#e8f0f8;color:#275f91;font-size:12px}.resource-row-tags span:nth-child(2){background:#4057bb;color:white}.resource-dialog{width:min(760px,calc(100vw - 32px));max-height:min(86vh,900px);padding:24px;border:1px solid #dce7f3;border-radius:14px;background:#fff;color:#172d46;box-shadow:0 24px 80px #17365330;overflow:auto}.resource-dialog::backdrop{background:#13263c66;backdrop-filter:blur(2px)}.resource-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.resource-dialog-head h2{margin:14px 0 8px;font-size:24px;line-height:1.4}.resource-dialog-close{width:36px;height:36px;border:0;border-radius:50%;background:#eef3f8;color:#315573;font-size:24px;cursor:pointer}.resource-dialog-summary{margin:6px 0 18px;color:#526a80;font-weight:600}.resource-dialog-details{white-space:pre-wrap;line-height:1.85;color:#334f68;margin:18px 0}.resource-image-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:20px 0}.resource-image-gallery figure{margin:0;border:1px solid #e0e9f1;border-radius:9px;overflow:hidden;background:#f8fbfd}.resource-image-gallery img{display:block;width:100%;max-height:360px;object-fit:contain;background:#f3f6f9}.resource-image-gallery figcaption{padding:8px 10px;color:#63788d;font-size:12px}.resource-file-name{color:#647b90;font-size:12px}.resource-dialog-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.resource-image-editor{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;border:1px solid #dce7f3;border-radius:8px;padding:12px;margin:14px 0}.resource-image-editor legend{font-size:12px;color:#516a83;padding:0 5px}.resource-image-editor label{display:grid!important;grid-template-columns:auto 1fr;align-items:center;gap:6px!important;margin:0!important;font-size:11px!important}.resource-image-editor input{width:auto!important}.resource-image-editor img{grid-column:1/-1;width:100%;height:90px;object-fit:cover;border-radius:5px;background:#eef3f8}.resource-image-editor span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:640px){.resource-row{align-items:flex-start;padding:15px 6px}.resource-row-tags{max-width:38%}.resource-row-tags span{padding:5px 9px;font-size:10px}.resource-dialog{padding:18px}.resource-dialog-head h2{font-size:20px}}
.paper-row .resource-row-main small{white-space:normal;line-height:1.6}
.paper-row .resource-row-tags span:nth-child(2){background:#e8f0f8;color:#275f91}
.paper-dialog .resource-dialog-head{padding-bottom:8px}
.paper-dialog .resource-dialog-details{min-height:36px}
@media(max-width:640px){.paper-row{gap:10px}.paper-row .resource-row-main strong{font-size:14px}.paper-row .resource-row-tags{max-width:42%}}

.project-row{cursor:default}
.project-row .resource-row-tags a{display:inline-flex;align-items:center;padding:6px 12px;border-radius:18px;background:#4057bb;color:#fff;font-size:12px;text-decoration:none;white-space:nowrap}
.project-row .resource-row-tags a:hover{background:#3449a5}
.paper-row .resource-row-main small{white-space:nowrap;line-height:1.6}
@media(max-width:640px){.project-row{align-items:flex-start;padding:15px 6px}.project-row .resource-row-main strong{font-size:14px}.project-row .resource-row-tags{max-width:42%}.paper-row .resource-row-main small{white-space:normal}}
