.research-description{white-space:pre-wrap;line-height:1.65;background:#f7fafc;border-radius:8px;padding:14px}.research-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}.research-gallery figure{margin:0;border:1px solid #dbe3eb;border-radius:8px;overflow:hidden;background:#fff}.research-gallery img{display:block;width:100%;height:220px;object-fit:contain;background:#f8fafc}.research-gallery figcaption{padding:8px;text-align:center;color:#5c6c7e;font-size:13px}
.research-item{padding:14px 18px}.research-item p{margin:0 0 8px}.research-item-meta{font-weight:600}.research-item-links{color:#5c6c7e}.research-item .research-export{margin:10px 0 0}@media(max-width:700px){.research-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.research-gallery img{height:160px}}
.research-export{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:16px 0}.research-export [data-export-status]{font-size:14px;color:#21533e}.research-export [data-export-cancel]{background:#f1f4f7;color:#263849}.research-export [hidden]{display:none}
.research-export [data-open-folder]{background:#e9f2fb;color:#173b60}.research-export [data-open-folder]:disabled{opacity:.55;cursor:not-allowed}
.research-folder-dialog .research-folder-hint{color:#526579;font-size:14px;line-height:1.5}
.research-folder-dialog{width:min(860px,calc(100vw - 32px));max-height:calc(100vh - 32px);box-sizing:border-box;overflow:auto;border:1px solid #ccd8e2;border-radius:12px;padding:20px;color:#17243a;background:#fff}.research-folder-dialog::backdrop{background:rgba(15,30,45,.5)}.research-folder-dialog header{display:flex;justify-content:space-between;align-items:center;gap:12px}.research-folder-dialog h2{margin:0}.research-folder-dialog [data-path]{overflow-wrap:anywhere;color:#526579}.research-folder-dialog [data-entries]{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px;margin:14px 0}.research-folder-dialog .research-folder-entry{text-align:left;overflow-wrap:anywhere;background:#f2f6fa;color:#173b60}.research-folder-dialog [data-preview]{border-top:1px solid #dbe3eb;padding-top:12px}.research-folder-dialog [data-preview]:empty{display:none}.research-folder-dialog [data-preview] img{display:block;max-width:100%;max-height:60vh;object-fit:contain}.research-folder-dialog [data-preview] pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:55vh;overflow:auto;background:#f7fafc;padding:12px}
.research-reviews{margin-top:20px;border-top:1px solid #dbe3eb}.research-review{margin:12px 0;padding:12px;background:#f8fafc;border-radius:8px}.research-review-note{color:#5c6c7e;font-size:14px}
.research-site{margin:20px 0 28px;padding:18px;border:1px solid #cfded4;border-radius:12px;background:#f8fcf9}.research-site h2{margin-top:0}.research-site form{display:flex;align-items:end;flex-wrap:wrap;gap:10px}.research-site form label{flex:1;min-width:260px}.research-site form input{width:100%;box-sizing:border-box}.research-site form [hidden],.research-site .research-export [hidden]{display:none}.research-site-product{margin:10px 0;border:1px solid #dbe3eb;border-radius:8px;background:#fff}.research-site-product summary{padding:12px;cursor:pointer;font-weight:600}.research-site-product>p,.research-site-product>.research-review{margin:12px}.research-site #site-review-status{font-weight:600}

.research-folder-dialog form label{display:block;margin:12px 0}.research-folder-dialog form input,.research-folder-dialog form textarea{display:block;width:100%;box-sizing:border-box}.research-folder-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere}

.marketplace-preview{width:min(1000px,92vw);max-height:88vh;overflow:auto;padding:24px;border:1px solid #cad9d3;border-radius:12px}.marketplace-preview::backdrop{background:#0008}.marketplace-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px;margin:20px 0}.marketplace-gallery label{display:flex;flex-direction:column;border:1px solid #ccd6d2;padding:8px;gap:8px}.marketplace-gallery img{width:100%;height:160px;object-fit:contain}.marketplace-gallery input{width:24px;height:24px}.marketplace-actions{display:flex;flex-wrap:wrap;gap:12px;position:sticky;bottom:0;background:white;padding:12px 0}
