.project-documents{margin-top:32px;min-width:0}
.project-documents:empty{display:none}
.project-documents-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.project-document-groups{display:grid;gap:24px}
.project-document-group h4,.project-document-editor h4{font-size:14px;font-weight:600;margin:0 0 10px}
.project-document-list{list-style:none;padding:0;margin:0;border-top:1px solid var(--line)}
.project-document-row{display:flex;align-items:flex-start;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);min-width:0}
.project-document-row>svg{margin-top:2px;color:var(--muted)}
.project-document-content{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;overflow-wrap:anywhere}
.project-document-content>a{font-weight:600}
.project-document-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap;max-width:50%}
.project-document-actions .tiny-meta{flex-basis:100%;text-align:right}
.project-document-body{white-space:pre-wrap;max-width:75ch;line-height:1.6;padding:12px 0}
.project-document-content summary{cursor:pointer;color:var(--muted);padding:4px 0}
.project-document-editor:empty{display:none}
.project-document-editor{margin:20px 0;padding:20px 0;border-block:1px solid var(--line)}
.project-document-editor form{display:flex;flex-direction:column;gap:16px;max-width:720px}
.project-document-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.project-document-editor input,.project-document-editor select{width:100%}
.project-documents .form-error:empty{display:none}
@media(max-width:640px){
  .project-documents-heading{align-items:flex-start;flex-direction:column;gap:12px}
  .project-document-row{flex-wrap:wrap}
  .project-document-actions{margin-left:30px;max-width:100%;justify-content:flex-start;flex-basis:100%}
  .project-document-actions .tiny-meta{text-align:left}
  .project-document-fields{grid-template-columns:1fr}
  .project-document-editor input,.project-document-editor select{font-size:16px}
  .project-documents button{min-height:36px}
}
