.project-material-report>header{align-items:center;gap:12px}.project-material-report>header small{display:block;margin-bottom:4px;color:#667085;font-size:10px;font-weight:800}.project-material-actions{display:flex;flex-wrap:wrap;gap:8px}.project-material-loading,.project-material-error{margin:0;padding:24px}.project-material-tabs{padding:10px 16px;border-bottom:1px solid #edf0f4;background:#f8fafc}.project-material-tabs button{padding:8px 12px;border:0;border-bottom:2px solid #286344;background:transparent;color:#1f4432;font-weight:800}.project-material-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-bottom:1px solid #edf0f4}.project-material-metrics article{padding:15px 16px}.project-material-metrics article+article{border-left:1px solid #edf0f4}.project-material-metrics small{display:block;color:#667085;font-size:9px;font-weight:800}.project-material-metrics strong{display:block;margin-top:7px;font-size:16px}.project-material-body{display:grid;gap:18px;padding:16px}.project-material-table,.project-material-invoices{overflow:hidden;border:1px solid #e5eaf1;border-radius:10px}.project-material-table>header,.project-material-invoices>header{display:flex;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #edf0f4}.project-material-table h4,.project-material-invoices h4{margin:0}.project-material-name{border:0;background:transparent;text-align:left;cursor:pointer}.project-material-name strong,.project-material-name small{display:block}.project-material-name small{margin-top:3px;color:#667085}.project-material-comment-cell{display:grid;gap:5px;min-width:150px}.project-material-comment-cell small{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-material-invoice-row{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid #edf0f4}.project-material-invoice-row:last-child{border-bottom:0}.project-material-invoice-row strong,.project-material-invoice-row small{display:block}.project-material-invoice-row small{margin-top:3px;color:#667085}.project-material-badge{padding:5px 8px;border-radius:99px;background:#eef2f6;font-size:10px;font-weight:800}.project-material-badge.fully_project{background:#ecfdf3;color:#067647}.project-material-badge.partial_stock{background:#fffaeb;color:#b54708}.project-material-badge.manual{background:#fff1f3;color:#c01048}.project-material-dialog{width:min(1120px,calc(100vw - 32px));max-width:1120px}.project-material-dialog .table-wrap{max-height:52vh}.project-material-allocation-table input,.project-material-allocation-table select{min-width:130px}.project-material-detail-summary{display:flex;align-items:center;gap:18px;padding:16px;border:1px solid #e5eaf1;border-radius:10px;background:#f8fafc}.project-material-detail-summary strong{font-size:20px}.project-material-detail-summary b{margin-left:auto}.project-material-source-list,.project-material-comments{display:grid;gap:8px}.project-material-source-list article{display:grid;grid-template-columns:1fr auto auto;gap:12px;padding:12px;border:1px solid #edf0f4;border-radius:8px}.project-material-source-list small{display:block;margin-top:3px;color:#667085}.project-material-source-list p{grid-column:1/-1;margin:0;color:#667085}.project-material-comments article{padding:12px;border-left:3px solid #286344;background:#f8fafc}.project-material-comments p{margin:0 0 6px}.project-material-comments small{color:#667085}@media(max-width:900px){.project-material-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.project-material-metrics article+article{border-left:0;border-top:1px solid #edf0f4}}@media(max-width:620px){.project-material-report>header{align-items:flex-start;flex-direction:column}.project-material-actions{width:100%}.project-material-actions .btn{flex:1}.project-material-metrics{grid-template-columns:1fr}.project-material-invoice-row{grid-template-columns:1fr}.project-material-source-list article{grid-template-columns:1fr 1fr}.project-material-source-list article>div{grid-column:1/-1}.project-material-dialog{width:calc(100vw - 16px)}.project-material-dialog .table-wrap{max-height:55vh}}
.project-material-report{display:grid;gap:14px}.project-collapsible{overflow:hidden}.project-collapsible-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;cursor:pointer;user-select:none}.project-collapsible-header:focus-visible{outline:3px solid rgba(40,99,68,.24);outline-offset:-3px}.project-collapsible-title{min-width:0}.project-collapsible-title small{display:block;margin-bottom:4px;color:#667085;font-size:10px;font-weight:800}.project-collapsible-title h3{margin:0}.project-collapsible-meta{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}.project-collapsible-summary{color:#667085;font-size:12px;font-weight:700;text-align:right}.project-collapsible-chevron{display:grid;flex:0 0 30px;width:30px;height:30px;place-items:center;border-radius:50%;background:#f2f5f7;color:#286344}.project-collapsible-chevron svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;transition:transform .16s ease}.project-collapsible-header[aria-expanded=true] .project-collapsible-chevron svg{transform:rotate(180deg)}.project-collapsible-content[hidden]{display:none}.project-collapsible-content{border-top:1px solid #edf0f4}.project-material-table>.project-collapsible-content,.project-material-invoices>.project-collapsible-content{padding:0}.project-material-table.project-collapsible,.project-material-invoices.project-collapsible{border:0;border-radius:12px}.project-material-table>.project-collapsible-header,.project-material-invoices>.project-collapsible-header{padding:16px 18px;border-bottom:0}.project-material-actions{display:flex;flex-wrap:wrap;gap:8px}@media(max-width:620px){.project-collapsible-header{align-items:flex-start;flex-wrap:wrap}.project-collapsible-title{flex:1 1 auto}.project-collapsible-meta{flex:1 1 100%;justify-content:space-between}.project-collapsible-summary{max-width:55%;text-align:left}.project-collapsible-meta>.btn,.project-material-actions{order:2}.project-material-actions{width:auto}.project-material-actions .btn{flex:0 1 auto}}
