.materials-surface,.materials-detail{min-width:0;color:var(--text,#263238);letter-spacing:0}
.materials-heading{margin:18px 0 0;font-size:16px;line-height:1.5}
.materials-project-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.materials-project-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.prep-research-top .materials-heading{margin:0;font-size:14px;line-height:32px}
.prep-research-top .materials-count{margin-right:0}
.prep-research-top .materials-search{max-width:none}
.prep-research-top .materials-table th:nth-child(1){width:12%}
.prep-research-top .materials-table th:nth-child(2){width:25%}
.prep-research-top .materials-table th:nth-child(3){width:24%}
.prep-research-top .materials-table th:nth-child(4){width:14%}
.prep-research-top .materials-table th:nth-child(5){width:11%}
.prep-research-top .materials-table th:nth-child(6){width:14%}
.prep-research-top .materials-record{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.prep-research-top .materials-table .btn{padding-inline:8px;white-space:nowrap}
.materials-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 0}
.materials-toolbar input[type=search],.materials-toolbar select,.materials-form input:not([type=file]),.materials-form select,.materials-form textarea{box-sizing:border-box;min-width:0;width:100%;padding:9px 10px;border:1px solid var(--border,#d6dde0);border-radius:5px;background:var(--surface,#fff);color:inherit;font:inherit}
.materials-search{flex:1 1 220px;max-width:420px}
.materials-toolbar>select{width:140px}
.materials-check{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.materials-count{margin-right:auto;color:var(--muted,#667780);font-size:12px}
.materials-table-scroll{max-width:100%;overflow:auto;border-top:1px solid var(--border,#d6dde0)}
.materials-table{width:100%;min-width:720px;table-layout:fixed;border-collapse:collapse;font-size:13px}
.materials-table th,.materials-table td{padding:12px 10px;text-align:left;vertical-align:top;border-bottom:1px solid var(--border,#e3e8ea);overflow-wrap:anywhere;white-space:normal;overflow:hidden}
.materials-table th{font-weight:600;background:#f3f6f7;color:#52646b}
.materials-table th:nth-child(1){width:10%}.materials-table th:nth-child(2){width:30%}.materials-table th:nth-child(3){width:26%}.materials-table th:nth-child(4){width:12%}.materials-table th:nth-child(5){width:10%}.materials-table th:nth-child(6){width:12%}
.materials-scope,.materials-recipient{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.materials-table small,.materials-file small{display:block;margin-top:5px;color:#667780;font-size:12px}
.materials-table .btn{white-space:normal;min-height:32px;font-size:12px}
.materials-record{display:block;max-width:100%;padding:0;border:0;background:none;color:#146a69;text-align:left;font:inherit;line-height:1.5;overflow-wrap:anywhere;cursor:pointer}
.materials-record:hover{text-decoration:underline}.materials-record:focus-visible{outline:2px solid #238683;outline-offset:3px}
.materials-number{font-size:12px;color:#637078}
.materials-status{display:inline-block;padding:3px 7px;border-radius:4px;font-size:12px;line-height:1.5;background:#edf0f1;color:#485c63;white-space:nowrap}
.materials-status-pending_submit{background:#fff3d7;color:#8a611a}.materials-status-submitted{background:#e8f1fc;color:#285c92}.materials-status-returned{background:#fcebec;color:#a33e45}.materials-status-accepted{background:#e6f4eb;color:#256947}
.materials-table .materials-overdue,.materials-error{color:#a33e45}.materials-error{padding:12px 0}
.materials-empty{padding:14px 0;color:#718087;font-size:13px}
#workDialog[data-layout=materials]{width:min(940px,calc(100vw - 24px));max-width:calc(100vw - 24px)}
#workDialog[data-layout=materials] #workDialogBody{min-width:0;overflow:auto}
.materials-facts{display:grid;grid-template-columns:2fr 1fr;gap:14px 24px;margin:0 0 20px}
.materials-facts div{min-width:0}.materials-facts dt{font-size:12px;color:#6a7b82;margin-bottom:4px}.materials-facts dd{margin:0;font-size:13px;overflow-wrap:anywhere}
.materials-section{padding:16px 0;border-top:1px solid var(--border,#e0e6e8)}
.materials-section h3,.materials-returned h3{margin:0 0 10px;font-size:14px;line-height:1.5}
.materials-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7}
.materials-returned{padding:12px 14px;margin-bottom:16px;border-left:3px solid #bd6168;background:#fff5f5}
.materials-form{display:grid;gap:16px;padding:12px 0 20px}
.materials-form label{display:grid;gap:7px;min-width:0;font-size:13px}
.materials-form textarea{resize:vertical;min-height:84px}
.materials-form input[type=file]{max-width:100%;min-width:0;font:inherit}
.materials-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.materials-recipient-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:end;padding:12px 0;border-bottom:1px solid #e3e8ea}
.materials-recipient-row .btn{width:34px;height:36px;padding:8px;display:grid;place-items:center}
@media(max-width:600px){.materials-recipient-row{grid-template-columns:minmax(0,1fr) auto}.materials-recipient-row label:first-child{grid-column:1/-1}}
.materials-selected{overflow-wrap:anywhere;font-size:12px;color:#667780}
.materials-version{padding:12px 0;border-bottom:1px solid #e6e9eb}.materials-version summary,.materials-section>summary{font-size:13px;line-height:1.7;cursor:pointer;overflow-wrap:anywhere}
.materials-version>.materials-text{padding-top:10px}
.materials-file{display:flex;align-items:center;gap:14px;padding:10px 0;border-bottom:1px solid #edf0f1}
.materials-file>span{min-width:0;flex:1;overflow-wrap:anywhere;font-size:13px}.materials-file>.btn{flex:none}
.materials-review-result{margin-top:10px;padding:10px 0;color:#52686b;font-size:12px}
.materials-events{margin:10px 0 0;padding-left:20px}.materials-events li{padding:8px 0;font-size:12px;color:#60747b}
@media(max-width:600px){.materials-toolbar{gap:8px}.materials-search{max-width:none;flex-basis:100%}.materials-facts,.materials-form-grid{grid-template-columns:1fr}.materials-facts{gap:12px}.materials-toolbar .btn{padding:7px 10px}.materials-section{padding:14px 0}#workDialog[data-layout=materials] #workDialogFoot{flex-wrap:wrap}}
@media(max-width:600px){
  .materials-table,.materials-table tbody{display:block;min-width:0;width:100%}
  .materials-table thead{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}
  .materials-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:14px 0;border-bottom:1px solid #dce3e6}
  .materials-table td{min-width:0;padding:0;border:0;white-space:normal}
  .materials-table td:nth-child(1),.materials-table td:nth-child(2),.materials-table td:nth-child(3),.materials-table td:nth-child(6){grid-column:1/-1}
  .materials-table td:nth-child(6){justify-self:end}
  .materials-table td[colspan]{grid-column:1/-1}
  .materials-table small{margin-top:3px}.materials-title{font-weight:600}.materials-title small{font-weight:400}
}
