/* Project collection workspace, reusing the platform's existing visual language. */
.m21-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}
.m21-heading h2{font-size:24px;margin:8px 0}.m21-heading p{margin:4px 0;color:var(--muted);font-size:14px}
.m21-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.m21-tabs .btn{font-size:14px}
.m21-status{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:18px 0}
.m21-status h3{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.m21-status p{font-size:13px;color:var(--muted);line-height:1.7}
.m21-count{display:flex;flex-direction:column;align-items:center;flex-shrink:0;min-width:100px}.m21-count strong{font-size:28px;color:#2d67cc}.m21-count span{font-size:12px;color:var(--muted);margin-top:5px}
.m21-library{display:flex;flex-direction:column;gap:12px}.m21-item-row{display:flex;align-items:flex-start;gap:14px;padding:18px;border:1px solid var(--line);border-radius:12px;background:#fff}
.m21-number{display:inline-grid;place-items:center;width:30px;height:30px;min-width:30px;border-radius:9px;background:#edf4ff;color:#215dc6;font-size:13px;font-weight:700}
.m21-item-main{min-width:0;flex:1}.m21-item-main h4,.m21-review-row h4{font-size:16px;margin:2px 0 8px;overflow-wrap:anywhere}.m21-item-main p{font-size:13px;line-height:1.6;color:var(--muted);margin:5px 0}
.m21-item-main small{font-size:12px;color:var(--muted)}.m21-item-main details{margin-top:10px}.m21-item-tools{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;max-width:270px}
.m21-inactive{background:#f7f8fb;opacity:.78}.m21-locked .m21-item-tools{display:none}
.m21-requirement{padding:20px;border:1px solid var(--line);border-radius:14px;margin:18px 0;background:#fff;min-width:0}
.m21-requirement .card-head{gap:12px;align-items:flex-start}.m21-requirement h3{font-size:17px;margin:10px 0 6px}.m21-requirement h4{font-size:16px;margin:2px 0 8px}.m21-requirement p{font-size:14px;line-height:1.65}
.m21-requirement .card-head p{font-size:13px}.m21-requirement details{margin:12px 0}.m21-requirement summary,.m21-item-main summary{font-size:13px;color:#315d92;cursor:pointer;line-height:1.7}
.m21-requirement .preserve14,.m21-item-main .preserve14{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.m21-files{display:flex;flex-direction:column;gap:10px;margin:14px 0}.m21-file{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:10px;background:#fafcfe;min-width:0}
.m21-file-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#ecf3ff;font-size:12px;color:#2864a8;flex-shrink:0}
.m21-file>div{flex:1;min-width:0}.m21-file>strong{flex:1;min-width:0}.m21-file strong{font-size:14px;display:block;overflow-wrap:anywhere}.m21-file small{font-size:12px;display:block;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.m21-file .btn{flex-shrink:0}
.m21-footer{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.m21-space{margin:18px 0}.m21-warning{padding:14px 16px;background:#fff8ea;border:1px solid #f4d68c;border-radius:10px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;color:#835b12}
.m21-review-list{display:flex;flex-direction:column;gap:10px}.m21-review-row{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--line);border-radius:12px;padding:18px;margin:12px 0}
.m21-review-row>div:first-child{flex:1;min-width:0}.m21-review-row>div:last-child{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.m21-review-row p{margin:5px 0;color:var(--muted);font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.m21-summary{white-space:pre-wrap;max-height:90px;overflow:auto}.m21-response-body{white-space:pre-wrap;font-size:14px;line-height:1.8;padding:14px;background:#f7faff;border-radius:10px;overflow-wrap:anywhere}
.m21-projects{display:flex;flex-direction:column;gap:14px}.m21-project-row{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--line);border-radius:14px;padding:22px}
.m21-project-row>div{min-width:0}.m21-project-row h3{font-size:19px;margin:8px 0}.m21-project-row p{font-size:13px;color:var(--muted);line-height:1.65;margin:8px 0}
.m21-material-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid var(--line);background:#f7faff;padding:16px;border-radius:12px;margin:14px 0}
.m21-material-summary p{font-size:14px;margin:5px 0;line-height:1.6}.m21-material-summary .help{font-size:12px;color:var(--muted)}
.m21-history{padding:16px 0;border-bottom:1px solid var(--line)}.m21-history summary{font-size:14px;cursor:pointer;line-height:1.7}.m21-history-item{border:1px solid var(--line);border-radius:10px;padding:16px;margin:12px 0}.m21-history-item h4{font-size:15px}.m21-history-item p{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}
.m21-private{margin:18px 0;border-top:3px solid #4c719e}.m21-private>.card-head p{max-width:740px}.m21-reply{background:#f6faff;border-left:3px solid #adc9ec;padding:14px;margin-top:14px}
.m21-upload{display:inline-flex;cursor:pointer}#m21UploadStatus{font-size:13px;color:#2b65ba;min-height:22px;overflow-wrap:anywhere;margin-top:6px}
.m21-tabs+.card{margin-bottom:18px}.m21-status~.card{margin-bottom:18px}
#overlay .m21-file{max-width:100%}#overlay .m21-file>strong{overflow-wrap:anywhere}#overlay #m21ItemInstructions{min-height:170px}#overlay #m21ResponseText{min-height:130px}
@media(max-width:1000px){.m21-item-row{flex-wrap:wrap}.m21-item-tools{width:100%;max-width:none;justify-content:flex-start;padding-left:44px}}
@media(max-width:640px){.m21-heading{align-items:flex-start}.m21-heading h2{font-size:20px}.m21-tabs{gap:6px}.m21-tabs .btn{font-size:12px;padding:10px 12px}.m21-status{align-items:flex-start;gap:12px}.m21-count{min-width:70px}.m21-count strong{font-size:23px}.m21-item-row{padding:14px}.m21-item-tools{padding-left:0}.m21-requirement{padding:14px}.m21-requirement .card-head{flex-direction:column}.m21-review-row,.m21-project-row,.m21-material-summary{align-items:flex-start;flex-direction:column;gap:12px}.m21-review-row>div:last-child{justify-content:flex-start}.m21-file{padding:10px;gap:8px;flex-wrap:wrap}.m21-file>div{flex-basis:calc(100% - 56px)}.m21-file>.btn{margin-left:50px}.m21-footer .btn{flex:1}.m21-project-row .btn{width:100%}.m21-private>.card-head{flex-direction:column}}
