.supply-requests .panel-head{align-items:center;gap:16px;flex-wrap:wrap}
.supply-requests .panel-head p{margin:6px 0 0;line-height:1.5}
.supply-request-note{padding:14px 22px;background:#fafbfc;border-bottom:1px solid var(--line,#e5e9ef);color:var(--muted,#697586);font-size:12px;line-height:1.65}
.supply-request-card{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid var(--line,#e5e9ef)}
.supply-request-card:last-child{border-bottom:0}
.supply-request-main{min-width:0;flex:1}
.supply-request-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap;line-height:1.5}
.supply-request-top strong,.supply-request-preview{overflow-wrap:anywhere}
.supply-request-meta{display:flex;flex-wrap:wrap;gap:5px 16px;margin-top:7px;font-size:11px;color:var(--muted,#697586);line-height:1.6}
.supply-priority{font-size:11px;font-weight:700;color:#b42318}
.supply-request-preview{font-size:12px;line-height:1.7;margin:12px 0 0}
.supply-request-actions{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap;max-width:260px}
.supply-urgent{border-left:3px solid var(--red,#d9242b);padding-left:19px}
.supply-status-submitted{background:#edf2fb;color:#355a99}
.supply-status-ordered{background:#fff3df;color:#8a5a00}
.supply-status-fulfilled{background:#e8f4ed;color:#24734b}
.supply-status-rejected,.supply-status-cancelled{background:#f1f2f4;color:#657181}
.supply-request-closed>summary{cursor:pointer;padding:16px 22px;border-top:1px solid var(--line,#e5e9ef);font-size:12px;color:var(--muted,#697586)}
.supply-request-closed[open]>summary{border-bottom:1px solid var(--line,#e5e9ef)}
.supply-request-lines-head{display:flex;gap:12px;align-items:baseline;justify-content:space-between;flex-wrap:wrap;margin:18px 0 12px}
.supply-request-lines-head h3{margin:0;font-size:14px}
.supply-request-line{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.2fr) minmax(70px,.7fr) minmax(85px,.8fr);gap:10px;padding:14px;border:1px solid var(--line,#e5e9ef);border-radius:10px;margin:0 0 12px;background:#fafbfc;min-width:0}
.supply-request-line legend{font-size:11px;color:var(--muted,#697586);padding:0 5px}
.supply-request-line .field{margin:0;min-width:0}
.supply-request-line input,.supply-request-line select{min-width:0;width:100%}
.supply-remove-line{grid-column:1/-1;justify-self:end}
.supply-request-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}
.supply-request-facts div{min-width:0}
.supply-request-facts dt{font-size:11px;color:var(--muted,#697586);margin-bottom:5px}
.supply-request-facts dd{margin:0;font-size:13px;overflow-wrap:anywhere}
.supply-request-description{padding:14px;background:#f6f7f9;border-radius:8px;overflow-wrap:anywhere;white-space:pre-wrap}
.supply-request-detail-lines{list-style:none;padding:0;margin:18px 0}
.supply-request-detail-lines li{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line,#e5e9ef);padding:12px 0;font-size:12px;line-height:1.6}
.supply-request-detail-lines strong{min-width:0;overflow-wrap:anywhere}
.supply-request-detail-lines span{color:var(--muted,#697586);flex-shrink:0}
.supply-request-history{list-style:none;margin:0 0 20px;padding:0;border-left:2px solid #edf0f5}
.supply-request-history li{padding:8px 0 10px 15px;font-size:12px}
.supply-request-history small{display:block;color:var(--muted,#697586);margin-top:5px}
.supply-request-history p{overflow-wrap:anywhere;white-space:pre-wrap}
@media(max-width:1000px){.supply-request-card{display:block}.supply-request-actions{justify-content:flex-start;max-width:none;margin-top:14px}.supply-request-line{grid-template-columns:1fr 1fr}.supply-request-line>.field:first-of-type{grid-column:1/-1}}
@media(max-width:520px){.supply-requests .panel-head,.supply-request-note,.supply-request-card{padding-left:15px;padding-right:15px}.supply-urgent{padding-left:12px}.supply-requests .panel-head>.btn{width:100%}.supply-request-actions .btn{flex:1}.supply-request-facts{grid-template-columns:1fr}.supply-request-detail-lines li{display:block}.supply-request-detail-lines span{display:block;margin-top:4px}}
