.mem-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:20px 0}.mem-card{background:white;border:1px solid #d7d4cb;border-radius:8px;overflow:hidden;padding-bottom:14px}.mem-card p,.mem-card h3{margin:10px 14px;white-space:pre-wrap;overflow-wrap:anywhere}.mem-card h3{font-size:18px}.mem-card .mem-photo{display:block;border:0;border-radius:0;padding:0;width:100%;background:#e8e7e3}.mem-photo img{display:block;width:100%;height:210px;object-fit:cover}.mem-card .actions{padding:0 14px}.mem-card .actions button{font-size:14px;padding:8px 12px}.mem-credit{font-size:14px;color:#52606d}.mem-filters{display:grid;grid-template-columns:1fr 1fr;gap:18px}.mem-queue{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.mem-item{border:1px solid #d2d2cc;border-radius:6px;padding:14px}.mem-item img{width:100%;height:150px;object-fit:contain;background:#eae8e0}.mem-item p{overflow-wrap:anywhere;margin:6px 0}.mem-item textarea,dialog textarea{width:100%;min-height:75px;font:inherit;padding:10px;border:1px solid #abb2bb;border-radius:5px;margin-top:6px}.mem-state{font-size:15px}.mem-item[data-state=sent] .mem-state{color:#166534}.mem-item[data-state=failed] .mem-state,.mem-item[data-state=invalid] .mem-state{color:#a62626}dialog{border:1px solid #9a9a94;border-radius:8px;max-width:94vw;width:620px;padding:24px;max-height:90vh;overflow:auto}dialog::backdrop{background:#000a}#memory-viewer{width:1000px}#memory-full{display:block;width:100%;height:65vh;object-fit:contain;background:#191919}#memory-description{white-space:pre-wrap;overflow-wrap:anywhere}.review-selection{padding:12px;background:#fff8dc}.review-selection input{display:inline;width:auto}.mem-reviewbar{display:flex;flex-wrap:wrap;gap:12px;align-items:end;position:sticky;top:0;background:#f6f3eb;padding:10px 0;z-index:2}.mem-reviewbar label{margin:0}.mem-reviewbar select{width:auto}.mem-reviewbar button{font-size:15px}#upload-result{white-space:pre-wrap}@media(max-width:850px){.mem-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.mem-grid,.mem-queue,.mem-filters{grid-template-columns:1fr}.mem-photo img{height:240px}dialog{padding:16px}.mem-reviewbar{position:static}}
