.supply-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.supply-heading h2{margin:0 0 5px;font-size:24px}.supply-muted{color:#60728d;line-height:1.5;margin:0}.supply-summary{display:flex;gap:12px;margin:0 0 18px;flex-wrap:wrap}.supply-summary-item{display:flex;align-items:center;gap:24px;min-width:175px;padding:13px 18px;border:1px solid #d8e5f5;border-radius:12px;background:#fff;color:#536c8e}.supply-summary-item strong{font-size:24px;color:#153d75}.supply-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding:18px;border:1px solid #d7e4f5;border-radius:12px;background:#fff}.supply-field{display:flex;flex-direction:column;gap:7px;min-width:0;color:#415570;font-size:13px}.supply-field>span{font-weight:600}.supply-field input,.supply-field textarea,.supply-field select{box-sizing:border-box;width:100%;min-height:40px;padding:9px 11px;border:1px solid #bdcee5;border-radius:7px;background:#fff;color:#173354;font:inherit;font-size:14px}.supply-field textarea{resize:vertical;line-height:1.5}.supply-field input:focus,.supply-field textarea:focus,.supply-field select:focus{outline:2px solid #7cb9f6;outline-offset:1px}.supply-field input:disabled,.supply-field textarea:disabled,.supply-field select:disabled{background:#f1f5fa;color:#51627a;opacity:1}.supply-filters>.supply-field:first-child{flex:1 1 275px}.supply-filters>.supply-field{flex:0 1 190px}.supply-list-message{margin:17px 0 12px;color:#56708d;line-height:1.4}.supply-table-wrap{overflow:auto;max-width:100%;border:1px solid #d7e4f5;border-radius:12px;background:#fff;box-shadow:0 3px 12px #173d7010}.supply-table{border-collapse:collapse;min-width:1280px;width:100%;font-size:13px;color:#234263}.supply-table th{position:sticky;top:0;background:#edf4ff;text-align:left;color:#35577c;padding:14px 12px;white-space:nowrap;font-weight:600}.supply-table td{padding:14px 12px;vertical-align:top;border-top:1px solid #e3ebf5;line-height:1.45;max-width:220px;overflow-wrap:anywhere;white-space:pre-wrap}.supply-table tr[data-status=new]{background:#f8fbff}.supply-table tr[data-status=received]{background:#f1faf5}.supply-table tr[data-status=cancelled]{color:#75839a;background:#f8f9fb}.supply-table td small{display:block;white-space:nowrap;font-size:11px;color:#6a7b92;margin-top:5px}.supply-number{padding:0;border:0;background:none;color:#0956b8;text-align:left;font:inherit;font-weight:600;cursor:pointer;white-space:nowrap}.supply-number:hover{text-decoration:underline}.supply-status{display:inline-block;border-radius:20px;padding:5px 10px;font-size:12px;font-weight:600;white-space:nowrap;background:#eaf1ff;color:#345caa}.supply-status-in_progress{background:#e3f3fc;color:#176886}.supply-status-ordered{background:#fff3ce;color:#88630a}.supply-status-received{background:#dff4e8;color:#1c7450}.supply-status-cancelled{background:#eceff4;color:#64738a}.supply-pagination{display:flex;justify-content:center;align-items:center;gap:16px;margin:18px 0;color:#64758d;font-size:13px}.supply-dialog{box-sizing:border-box;width:min(820px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #d0e0f3;border-radius:18px;color:#193b63;background:#fff;box-shadow:0 18px 80px #0e2c5a38;overflow:auto}.supply-dialog::backdrop{background:#102b4d75}.supply-dialog-heading{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #e1eaf5;background:#f3f8ff}.supply-dialog-heading h2{font-size:20px;margin:0}.supply-dialog-content{padding:22px 24px}.supply-dialog-content>.supply-muted{margin:0 0 18px}.supply-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.supply-field-wide,.supply-form-actions,.supply-form-message{grid-column:1/-1}.supply-form-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:5px}.supply-form-message{margin:0;font-size:13px;line-height:1.5;color:#526c8b}.supply-form-message:empty{display:none}.supply-form-message.is-error,.supply-list-message.is-error{color:#a72836}.supply-history{margin-top:24px;border-top:1px solid #e1eaf5;padding-top:18px}.supply-history h3{font-size:15px;margin:0 0 14px}.supply-history-entry{font-size:13px;margin-bottom:14px;padding-left:13px;border-left:2px solid #dce9fb}.supply-history-entry strong{font-size:13px}.supply-history-entry small{display:block;margin:5px 0;color:#6d7f97}.supply-history-entry ul{padding-left:17px;margin:7px 0;color:#526882}.supply-history-entry li{margin:4px 0;overflow-wrap:anywhere;white-space:pre-wrap}.supply-heading-actions{display:flex;align-items:center;gap:10px}.supply-table th:last-child{right:0;z-index:2;box-shadow:-4px 0 7px #173d700d}.supply-table td.supply-row-actions{position:sticky;right:0;z-index:1;min-width:150px;background:#fff;box-shadow:-4px 0 7px #173d700d}.supply-row-actions>.button{display:block;margin-bottom:8px}.supply-quick-status{box-sizing:border-box;width:150px;min-height:36px;padding:8px;border:1px solid #a7c3e8;border-radius:7px;background:#f4f8ff;color:#254b7b;font:inherit;cursor:pointer}.supply-quick-status:disabled{opacity:.6;cursor:wait}.supply-supplier-filters{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:12px;padding:15px;border:1px solid #dce7f5;border-radius:10px;background:#f8fbff}.supply-checkbox{display:flex;align-items:center;gap:9px;color:#4f6683;font-size:13px;line-height:1.4}.supply-checkbox input{width:17px;height:17px;flex:none;accent-color:#0956b8}.supply-supplier-group{margin:0 0 20px}.supply-supplier-group>h3{margin:0;padding:8px 12px;border-radius:7px;background:#edf4ff;font-size:14px}.supply-supplier-entry{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:12px;border-bottom:1px solid #e4edf6;font-size:14px}.supply-supplier-entry>div{min-width:0;overflow-wrap:anywhere}.supply-supplier-entry strong{font-weight:600}.supply-supplier-entry p{margin:5px 0;white-space:pre-wrap;font-size:13px}.supply-supplier-entry .button{flex:none}.supply-supplier-editor{margin-top:20px;border-top:1px solid #dce7f5;padding-top:18px}.supply-supplier-editor h3{font-size:16px;margin:0 0 15px}@media(max-width:700px){.supply-heading{align-items:flex-start;flex-direction:column;gap:12px}.supply-heading h2{font-size:22px}.supply-heading-actions{width:100%}.supply-heading-actions>.button{flex:1}.supply-summary{gap:8px}.supply-summary-item{min-width:0;flex:1 1 100px;display:block;padding:10px 12px;font-size:12px}.supply-summary-item strong{display:block;font-size:22px;margin-top:5px}.supply-filters{padding:13px;gap:10px}.supply-filters>.supply-field:first-child{flex-basis:100%}.supply-filters>.supply-field{flex:1 1 125px}.supply-filters>.button{flex:1 1 100px}.supply-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:13px}.supply-dialog-heading{padding:15px;gap:10px}.supply-dialog-heading h2{font-size:17px}.supply-dialog-content{padding:16px}.supply-form,.supply-supplier-filters{grid-template-columns:1fr;gap:14px}.supply-form-actions>.button{width:100%}.supply-supplier-entry{padding:12px 3px}.supply-supplier-entry .button{padding:8px}.supply-quick-status{width:132px}.supply-table td.supply-row-actions{min-width:132px}}
.supply-dialog [hidden]{display:none!important}
.supply-selection{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:14px;padding:12px 16px;border:1px solid #c8dbf4;border-radius:10px;background:#eef5ff;color:#244d81;font-size:13px}
.supply-selection>span{margin-right:auto;font-weight:600}
.supply-selection[hidden]{display:none!important}
.supply-table th:first-child,.supply-table td:first-child{width:65px}
.supply-row-actions>.supply-checkbox{margin:8px 0}
.supply-combobox{position:relative;min-width:0}
.supply-combobox input{padding-right:42px}
.supply-combobox-toggle{position:absolute;right:1px;top:1px;width:38px;height:38px;border:0;border-left:1px solid #d7e4f5;border-radius:0 6px 6px 0;background:#f3f8ff;color:#254b7b;font-size:19px;cursor:pointer}
.supply-combobox-toggle:focus-visible{outline:2px solid #7cb9f6}
.supply-combobox-toggle:disabled{opacity:.5;cursor:default}
.supply-combobox-options{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:5;max-height:240px;overflow:auto;padding:4px;border:1px solid #a7c3e8;border-radius:8px;background:#fff;box-shadow:0 8px 22px #173d7026}
.supply-combobox-option{display:block;width:100%;padding:9px 10px;border:0;border-radius:5px;text-align:left;font:inherit;font-size:14px;color:#173354;background:#fff;cursor:pointer;overflow-wrap:anywhere}
.supply-combobox-option:hover,.supply-combobox-option[aria-selected=true]{background:#e8f2ff;color:#0956b8}
.supply-combobox-empty{padding:10px;color:#60728d;font-size:13px;line-height:1.5}
.supply-suppliers-table{width:100%;min-width:850px;border-collapse:collapse;color:#234263;font-size:14px}
.supply-suppliers-table th{background:#edf4ff;padding:14px 16px;text-align:left;white-space:nowrap}
.supply-suppliers-table td{padding:16px;border-top:1px solid #e3ebf5;vertical-align:top;overflow-wrap:anywhere;max-width:270px}
.supply-suppliers-table td small{display:block;color:#6a7b92;margin-top:5px;font-size:12px}
.supply-supplier-inactive{background:#f7f8fb;color:#718098}
.supply-supplier-history-row,.supply-purchase-list-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:14px 0;border-bottom:1px solid #e2ebf7;font-size:13px}
.supply-supplier-history-row small,.supply-purchase-list-row small{color:#6a7b92;margin-left:auto}
.supply-request-extra-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px;padding-top:18px;border-top:1px solid #dce7f5}
.supply-form-actions{flex-wrap:wrap}
.supply-warning{padding:12px 14px;margin:12px 0;border:1px solid #ecd49b;border-radius:9px;background:#fff8e5;color:#805719;line-height:1.5;font-size:13px}
.supply-purchase-banner{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:14px;border-radius:10px;background:#eef5ff;margin-bottom:20px}
.supply-merge-items{padding:0;list-style:none;display:grid;gap:8px;margin:18px 0}
.supply-merge-items li,.supply-purchase-item{border:1px solid #dce7f5;border-radius:9px;padding:12px 14px;background:#f8fbff;overflow-wrap:anywhere;font-size:13px}
.supply-purchase-items{display:grid;gap:10px;margin:18px 0}
.supply-purchase-item{display:grid;grid-template-columns:auto 1fr auto;gap:8px 14px;align-items:baseline}
.supply-purchase-item small,.supply-purchase-item p{grid-column:1/-1;color:#637a97;white-space:pre-wrap}
.supply-purchase-item p{margin:0}
.supply-prices-dialog{width:min(1100px,calc(100vw - 32px))}
.supply-demand-snapshot{border:1px solid #d6e5f8;border-radius:12px;background:#f5f9ff;padding:16px;margin-bottom:16px;color:#23466f}
.supply-demand-snapshot p{margin:7px 0 0;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.supply-price-create{margin-top:22px;padding-top:18px;border-top:1px solid #e1eaf5;display:grid;gap:14px}
.supply-price-create h3{margin:0;font-size:16px}
.supply-supplier-choices{display:grid;gap:10px;max-height:240px;overflow:auto;padding:13px;border:1px solid #d6e5f8;border-radius:9px}
.supply-quote-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(400px,100%),1fr));gap:18px;margin-top:18px}
.supply-quote-card{border:1px solid #d6e5f8;border-radius:12px;padding:18px;min-width:0;background:#fff;box-shadow:0 3px 12px #173d7008}
.supply-quote-card h3{font-size:17px;margin:0 0 7px;overflow-wrap:anywhere}
.supply-quote-card>.supply-muted{margin-bottom:16px;font-size:12px;overflow-wrap:anywhere}
.supply-quote-card .supply-form{gap:12px}
.supply-quote-card .supply-form-actions{justify-content:flex-start}
.supply-inquiry-text{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;padding:18px;border:1px solid #d6e5f8;border-radius:10px;background:#f8fbff;color:#244466;font-size:14px}
.supply-inquiry-recipient{padding:13px 15px;border-radius:9px;background:#eef5ff;overflow-wrap:anywhere}
@media(max-width:700px){.supply-heading-actions{flex-wrap:wrap}.supply-heading-actions>.button{flex:1 1 130px}.supply-prices-dialog{width:calc(100vw - 16px)}.supply-selection>.button{flex:1 1 130px}.supply-selection>span{flex-basis:100%}.supply-request-extra-actions>.button{width:100%}.supply-purchase-item{grid-template-columns:1fr}.supply-supplier-history-row small,.supply-purchase-list-row small{margin-left:0}.supply-quote-card{padding:14px}.supply-quote-card .supply-form-actions>.button{width:100%}}

.supply-created-at{font-size:12px;color:#687b91;white-space:nowrap;margin-top:5px}.supply-request-row{cursor:pointer}.supply-request-row:hover{background:#f0f6ff}.supply-table .supply-choice-cell{width:66px;text-align:center}.supply-choice-cell input{width:17px;height:17px;cursor:pointer}.supply-status-cell select{min-width:148px;max-width:190px}.supply-status-cell>.supply-number{display:block;margin-top:6px}.supply-table th:last-child{position:static}.supply-table{min-width:1400px}
