.upload-section{border:1px solid var(--line);background:var(--soft);border-radius:14px;padding:18px;margin:0 0 22px}
.upload-section summary{font-size:12px;color:var(--green);cursor:pointer;font-weight:600}
.upload-section form{display:grid;gap:14px}
.upload-section input[type=file]{max-width:100%;padding:10px;background:var(--surface)}
.upload-section input[type=file]::file-selector-button{border:1px solid var(--line);border-radius:8px;background:var(--sage);color:var(--green);padding:8px 12px;margin-right:12px;cursor:pointer}
.upload-section progress{width:100%;height:8px;accent-color:var(--green)}
.upload-section progress[hidden]{display:none}
.file-version{padding:18px 0;border-bottom:1px solid var(--line)}
.file-version:last-child{border-bottom:0}
.file-version .project-card-top{align-items:flex-start;gap:12px;flex-wrap:wrap;font-size:12px;overflow-wrap:anywhere}
.file-version .project-card-top strong{max-width:100%;word-break:break-word}
.file-hash{font-size:10px;color:var(--muted);margin-top:14px;overflow-wrap:anywhere}
.file-hash summary{cursor:pointer;color:var(--green)}
.file-hash p{font-size:10px;margin:8px 0}
.drawer .search-result{width:100%;margin-bottom:8px;text-align:left}
.drawer .search-result>div{white-space:normal;overflow-wrap:anywhere}
.drawer .drawer-section>summary{font-size:12px;color:var(--green);cursor:pointer}
@media(max-width:760px){.upload-section{padding:14px}.drawer .section-title{gap:10px;flex-wrap:wrap}.drawer .detail-summary p{overflow-wrap:anywhere}.file-version .drawer-actions{gap:10px}}
