.ingredient-registry,.ingredient-dialog{color:#29363b}.ingredient-heading,.ingredient-actions,.ingredient-filter{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.ingredient-heading{justify-content:space-between;margin-bottom:22px}.ingredient-heading h2,.ingredient-heading h1{margin:0 0 8px}.ingredient-actions{margin:12px 0}.ingredient-filter{padding:18px;background:#f4efe5;border-radius:12px;margin:18px 0}.ingredient-filter label:first-child{flex:1;min-width:230px}.ingredient-registry label,.ingredient-dialog label{display:grid;gap:7px;font-size:14px}.ingredient-registry input,.ingredient-dialog input,.ingredient-dialog select,.ingredient-dialog textarea{box-sizing:border-box;width:100%;font:inherit;padding:12px;border:1px solid #9caeb5;border-radius:8px;background:#fff;color:inherit;min-width:0}.ingredient-check{display:flex!important;align-items:center;gap:9px!important}.ingredient-check input{width:18px;height:18px}.ingredient-families{display:grid;gap:12px}.ingredient-family{background:#fffcf6;border:1px solid #b7b3a9;border-radius:12px;overflow:hidden}.ingredient-family>summary{padding:18px 22px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:18px}.ingredient-family>summary::before{content:'▸';font-size:18px}.ingredient-family[open]>summary::before{content:'▾'}.ingredient-family>summary>span:first-of-type{flex:1}.ingredient-family small,.ingredient-table small{display:block;color:#61717a;margin-top:5px;font-size:13px;overflow-wrap:anywhere}.ingredient-family-body{padding:0 22px 20px;border-top:1px solid #ddd7cb}.ingredient-table{overflow:auto;margin:18px 0}.ingredient-table table{border-collapse:collapse;width:100%;min-width:620px}.ingredient-table th,.ingredient-table td{text-align:left;padding:14px 12px;border-bottom:1px solid #ddd7cb;vertical-align:top}.ingredient-table th{background:#eee9dd;font-size:13px}.ingredient-dialog{width:min(1100px,94vw);max-height:90vh;overflow:auto;border:2px solid #252b2e;border-radius:16px;padding:26px;background:#fffcf6;box-sizing:border-box}.ingredient-dialog::backdrop{background:#151a1ec9}.ingredient-dialog header{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px}.ingredient-dialog h2{margin:0}.ingredient-dialog button,.ingredient-registry button{font:inherit;padding:11px 15px;border:1px solid #84959b;border-radius:8px;background:#fffaf1;color:#28363b;cursor:pointer}.ingredient-dialog button.primary,.ingredient-registry button.primary{background:#edaa36;border:2px solid #242a2e;font-weight:700}.ingredient-dialog button:disabled{opacity:.55;cursor:default}.ingredient-form{display:grid;gap:18px}.ingredient-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.nutrition-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ingredient-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:22px 0}.ingredient-stats>span{padding:16px;border:1px solid #d5cbb7;border-radius:10px;background:#f8f0df}.ingredient-stats strong{display:block;margin-top:10px;font-size:20px}.ingredient-dialog [role=alert]{color:#963818;white-space:pre-wrap}.ingredient-dialog p{line-height:1.5}.ingredient-dialog li{margin-bottom:14px}.ingredient-catalog-button{background:#dee9d8!important;border-color:#54704d!important}.ingredient-dialog dt{font-weight:700}.ingredient-dialog dd{margin-bottom:10px}@media(max-width:650px){.ingredient-grid,.nutrition-grid,.ingredient-stats{grid-template-columns:1fr}.ingredient-dialog{padding:18px}.ingredient-family>summary{align-items:flex-start;padding:15px}.ingredient-family-body{padding:0 12px 16px}}
.ingredient-dialog [hidden]{display:none!important}
.ingredient-artwork{min-width:0;padding:16px 18px;border:1px solid #b9c8c6;border-radius:10px;background:#f3f7f4;display:grid;gap:12px}
.ingredient-artwork h3,.ingredient-artwork p{margin:0}
.ingredient-artwork-heading h3{font-size:1.05rem}
.ingredient-artwork-heading p,.ingredient-artwork-note,.ingredient-artwork-new{color:#526870;font-size:13px}
.ingredient-artwork-current{display:grid;gap:7px}
.ingredient-artwork-file{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:9px 11px;border:1px solid #d0dcd7;border-radius:8px;background:#fff;min-width:0}
.ingredient-artwork-file>span{flex:1 1 240px;min-width:0;overflow-wrap:anywhere;font-weight:650}
.ingredient-artwork-file small{display:block;margin-top:3px;color:#64777d;font-size:12px;font-weight:400}
.ingredient-artwork-upload{display:flex;align-items:end;gap:10px;flex-wrap:wrap}
.ingredient-artwork-upload label{flex:1 1 260px}
.ingredient-artwork-upload button{flex:0 0 auto}
.ingredient-artwork-history{border-top:1px solid #cad8d2;padding-top:10px}
.ingredient-artwork-history summary{cursor:pointer;font-weight:650}
.ingredient-artwork-history>div{display:grid;gap:6px;margin-top:9px}
.ingredient-artwork [data-artwork-status]{min-height:1.2em;font-size:13px;color:#176149}
.ingredient-artwork [data-artwork-status].is-error{color:#963818}
.ingredient-artwork-link{display:inline-block;overflow-wrap:anywhere;color:#0c5d7e}
@media(max-width:650px){.ingredient-artwork{padding:13px}.ingredient-artwork-upload button{width:100%}.ingredient-artwork-file button{flex:1 1 auto}}
.ingredient-finance-existing{border-top:1px solid #b7b3a9;margin-top:22px;padding-top:16px;display:grid;gap:10px}
.ingredient-finance-existing h3,.ingredient-finance-existing p{margin:0}
.ingredient-finance-existing>div{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;border:1px solid #d3d7d4;border-radius:8px;padding:9px 12px;background:#fff}
.ingredient-table td:has(.purchase-energy){min-width:240px}
.ingredient-table td .purchase-energy{margin:8px 0}

.ingredient-material-matches{grid-column:1/-1;border:1px solid #73858d;border-radius:8px;background:#eef1f2;padding:10px 12px}.ingredient-material-matches p{margin:0 0 7px;font-size:13px;color:#354951}.ingredient-material-matches [data-material-results]{display:grid;gap:5px;max-height:225px;overflow:auto}.ingredient-material-matches button{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:8px 10px;background:#fff;font-size:14px;min-height:36px}.ingredient-material-matches button small{color:#536771}.ingredient-material-matches button:hover,.ingredient-material-matches button:focus-visible{outline:2px solid #0b6082;outline-offset:-2px}.ingredient-material-matches button[aria-pressed=true]{background:#326d55;color:#fff}.ingredient-material-matches button[aria-pressed=true] small{color:#fff}@media(max-width:650px){.ingredient-material-matches button{align-items:flex-start;flex-direction:column;gap:3px}}

.purchase-supplier-picker{grid-column:1/-1;border:1px solid #a7b7bc;border-radius:8px;padding:14px;background:#f3f6f7;display:grid;gap:8px}.purchase-supplier-picker label{margin:0}body .ingredient-form .purchase-supplier-picker select[size]{height:180px;min-height:180px;max-height:none;padding:4px 8px}.purchase-supplier-picker option{padding:8px}.purchase-supplier-picker p{margin:0}.purchase-supplier-picker button{justify-self:start}.purchase-document-fields{border:2px solid #da7200;background:#fff4de;padding:16px;border-radius:8px}.purchase-document-fields legend{font-weight:750;padding:0 8px}.purchase-document-fields input[type=file]{max-width:100%}
.purchase-supplier-results{display:grid;gap:6px;max-height:220px;overflow:auto}.purchase-supplier-results button{width:100%;text-align:left;display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;background:#fff!important}.purchase-supplier-results button:hover,.purchase-supplier-results button:focus-visible{background:#e6f3f8!important}.purchase-supplier-results small{color:#586b75}.purchase-supplier-selected{border:2px solid #397653;border-radius:8px;background:#e8f5ea;padding:12px 14px;color:#17442b;font-weight:700}.purchase-pending-notice{border:2px solid #a03c45;border-radius:8px;background:#fff0ed;padding:14px;color:#812d34;font-weight:700}

.ingredient-purchases .ingredient-table table{min-width:1100px;table-layout:fixed}
.ingredient-purchases th:nth-child(1){width:12%}.ingredient-purchases th:nth-child(2){width:25%}.ingredient-purchases th:nth-child(3){width:16%}.ingredient-purchases th:nth-child(4){width:9%}.ingredient-purchases th:nth-child(5){width:27%}.ingredient-purchases th:nth-child(6){width:11%}
.ingredient-purchases .ingredient-table td{vertical-align:top!important;overflow-wrap:anywhere}
.ingredient-purchases .purchase-energy{min-width:0;width:100%;max-width:100%;box-sizing:border-box}
.ingredient-purchases td>button{display:block;margin-top:8px;max-width:100%;white-space:normal}
.ingredient-purchases td small{display:block;margin-top:5px}
.purchase-landed-preview{border:2px solid #135c7d;border-radius:8px;background:#eaf3f7;padding:14px 16px;color:#173d50;font-weight:700;line-height:1.5}

/* Supplier purchases: seven real columns, compact actions and readable cards on narrow screens. */
body .section-navigation.operations-navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body .section-navigation.operations-navigation>button:not([data-ui-action]){min-width:0;min-height:64px;padding:10px 12px}
body .section-navigation.operations-navigation>button[aria-current="page"]:not([data-ui-action]){background:#f0b638;color:#262519}
body .section-navigation.operations-navigation>button[aria-current="page"]:not([data-ui-action]) :is(strong,small){color:#262519}
body .section-navigation.operations-navigation>button[aria-current="page"]:not([data-ui-action]) small{color:#594b2b}
.ingredient-purchases,.ingredient-purchases>.panel{min-width:0}
.ingredient-purchases>.panel{padding-bottom:36px}
.ingredient-purchases .ingredient-heading{gap:12px;margin-bottom:12px}
.ingredient-purchases .ingredient-heading>div:first-child{min-width:0;flex:1 1 280px}
.ingredient-purchases .ingredient-heading p{margin:0}
.ingredient-purchases .ingredient-heading .ingredient-actions{margin:0}
.purchase-table{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid #aebdc3;border-radius:8px;background:#fff}
.ingredient-purchases .purchase-table table,.ingredient-dialog .purchase-table table{width:100%;min-width:1250px;table-layout:fixed}
.purchase-table th:nth-child(1){width:12%}.purchase-table th:nth-child(2){width:20%}.purchase-table th:nth-child(3){width:13%}.purchase-table th:nth-child(4){width:10%}.purchase-table th:nth-child(5){width:25%}.purchase-table th:nth-child(6){width:9%}.purchase-table th:nth-child(7){width:11%}
.purchase-table :is(th,td){padding:8px 9px;line-height:1.35;vertical-align:top;overflow-wrap:anywhere}
.purchase-table td>strong{font-size:13px;font-variant-numeric:tabular-nums}
.purchase-table td>small{font-size:11px;line-height:1.35;margin-top:3px}
.purchase-table .purchase-energy{margin:4px 0;min-width:0;width:100%;max-width:100%;box-sizing:border-box}
.purchase-table .purchase-row-actions{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:6px}
.purchase-table td>button,.purchase-table .purchase-row-actions button{margin-top:6px;max-width:100%;min-height:32px;padding:5px 8px;font-size:12px;line-height:1.25;white-space:normal}
.purchase-table .purchase-row-actions button{margin-top:0}
body .purchase-table td button[data-ui-action]{min-height:32px;padding:5px 8px}
.purchase-table .purchase-linked-orders{margin-top:5px;font-size:11px}
.purchase-table .purchase-linked-orders summary{width:max-content;max-width:100%;color:#0b587c;cursor:pointer;font-weight:700}
.purchase-table .purchase-linked-orders>div{max-height:180px;overflow:auto;margin-top:5px;padding:5px 7px;background:#f3f6f7;border:1px solid #c3d0d4;border-radius:5px}
.purchase-table .purchase-linked-orders p{margin:0 0 6px;font-size:11px;line-height:1.35;color:#29363b}
.purchase-table .purchase-linked-orders p:last-child{margin-bottom:0}
.purchase-table .purchase-linked-orders small{display:block;margin-top:2px}
.purchase-table .purchase-record.is-cancelled>td{color:#5b6265}
body:has(.ingredient-purchases) .shell{padding-bottom:max(190px,calc(140px + env(safe-area-inset-bottom)))}
@media(max-width:1100px){
 body .section-navigation.operations-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ingredient-purchases .purchase-table{overflow:visible;background:transparent;border:0}
 .ingredient-purchases .purchase-table table,.ingredient-purchases .purchase-table tbody{display:block;width:100%;min-width:0;max-width:100%}
 .ingredient-purchases .purchase-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .ingredient-purchases .purchase-table tbody{display:grid;gap:10px}
 .ingredient-purchases .purchase-table tr.purchase-record{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid #8da5ae;border-radius:8px;background:#fff}
 body .ingredient-purchases .purchase-table tr.purchase-record>td{display:block;width:auto;min-width:0;padding:9px 11px;border:0!important;border-right:1px solid #d5e0e3!important;border-bottom:1px solid #d5e0e3!important;background:transparent!important}
 .ingredient-purchases .purchase-table tr.purchase-record>td:nth-child(1),.ingredient-purchases .purchase-table tr.purchase-record>td:nth-child(2),.ingredient-purchases .purchase-table tr.purchase-record>td:nth-child(5){grid-column:1/-1;border-right:0!important}
 .ingredient-purchases .purchase-table tr.purchase-record>td:nth-child(7),.ingredient-purchases .purchase-table tr.purchase-record>td:nth-child(6){border-bottom:0!important}
 .ingredient-purchases .purchase-table tr.purchase-record>td::before{content:attr(data-column-label);display:block;margin-bottom:3px;color:#4d6570;font-size:10px;line-height:1.2;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
 .ingredient-purchases .purchase-table tr.purchase-record>td:nth-child(1)::before,.ingredient-purchases .purchase-table tr.purchase-record>td:nth-child(2)::before{display:none}
 .ingredient-purchases .purchase-table tr.purchase-record>td:nth-child(1){background:#e8f0f3!important}
 .ingredient-purchases .purchase-table tr.purchase-record>td:nth-child(1)>strong{font-size:15px;color:#153b4e}
 .ingredient-purchases .purchase-table tr.purchase-record>td:nth-child(2)>strong{font-size:14px}
 .ingredient-purchases .purchase-table tr.purchase-record>td:nth-child(5){background:#f5f8f8!important}
 .ingredient-purchases .purchase-table tr.purchase-empty{display:block;padding:14px;border:1px solid #8da5ae;border-radius:8px;background:#fff}
 .ingredient-purchases .purchase-table tr.purchase-empty td{display:block;border:0;padding:0}
}
@media(max-width:460px){
 body .section-navigation.operations-navigation{grid-template-columns:minmax(0,1fr)}
 body .section-navigation.operations-navigation>button:not([data-ui-action]){min-height:54px}
 .ingredient-purchases>.panel{padding:12px}
 .ingredient-purchases .ingredient-heading .ingredient-actions{width:100%}
 .ingredient-purchases .ingredient-heading .ingredient-actions button{flex:1 1 130px}
}

/* Reference-specific material sources and commercial purchase terms. */
.order-origin-dialog header p{margin:6px 0 0}.origin-reference-list{display:grid;gap:12px}.origin-reference{border:1px solid #a9bbc1;border-radius:9px;background:#fff;padding:12px}.ingredient-dialog .origin-target{display:flex;align-items:center;gap:10px;padding-bottom:10px;border-bottom:1px solid #dce3e6}.origin-target span{margin-left:auto;color:#56707d;font-size:12px}.ingredient-dialog .origin-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:10px}.ingredient-dialog .origin-options label{display:flex;align-items:center;gap:9px;padding:9px;background:#f0f5f6;border-radius:6px}.origin-options small{display:block;color:#56707d;margin-top:3px}.origin-original{grid-column:1/-1;color:#315647;font-size:13px}.ingredient-dialog .origin-target input,.ingredient-dialog .origin-options input,.ingredient-dialog .purchase-dispatch-check input{width:18px;height:18px;flex:0 0 18px;margin:0;padding:0}.ingredient-dialog .purchase-dispatch-check{display:flex;align-items:center;gap:10px;margin-top:14px}.purchase-terms{border:1px solid #a9bbc1;border-radius:9px;padding:14px}.purchase-terms legend{font-weight:700;padding:0 6px}.purchase-terms [data-initial-shipment]{margin-top:12px}.origin-history{margin-top:18px}.origin-history p{padding:9px;border-bottom:1px solid #dce3e6}.origin-history summary{cursor:pointer}@media(max-width:650px){.ingredient-dialog .origin-options{grid-template-columns:1fr}.ingredient-dialog .origin-target{flex-wrap:wrap}.origin-target span{margin-left:28px}}

/* Purchase dialog: align allocation actions and separate document fields. */
.ingredient-dialog .purchase-allocation-panel{min-width:0;display:grid;gap:14px}
.ingredient-dialog .purchase-allocation-panel[hidden]{display:none}
.ingredient-dialog .purchase-allocation-panel h3,.ingredient-dialog .purchase-allocation-panel p{margin:0}
.ingredient-dialog .purchase-allocation-panel>.table-wrap{margin:0;min-width:0;overflow-x:auto}
.ingredient-dialog .purchase-allocation-footer{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap;padding-top:2px}
.ingredient-dialog .purchase-allocation-footer>button{flex:0 1 auto;min-height:42px;margin:0;white-space:normal}
.ingredient-dialog .purchase-allocation-feedback{flex:1 1 280px;display:grid;gap:4px;line-height:1.45;color:#4d6470}
.ingredient-dialog .purchase-allocation-feedback p:empty{display:none}
.ingredient-dialog .joint-allocation-table{table-layout:auto;width:100%;min-width:680px;border-collapse:collapse}
.ingredient-dialog .joint-allocation-table th,.ingredient-dialog .joint-allocation-table td{padding:10px 12px;vertical-align:middle}
.ingredient-dialog .joint-allocation-table th:first-child{width:32%}
.ingredient-dialog .joint-allocation-table td:not(:first-child){font-variant-numeric:tabular-nums;white-space:nowrap}
.ingredient-dialog .joint-allocation-table small{display:block;margin-top:4px;line-height:1.4;overflow-wrap:anywhere}
.ingredient-dialog .joint-allocation-table input{width:100%;min-width:100px;max-width:150px;text-align:right}
.ingredient-dialog .purchase-confirmation-form>p{margin:0}
.ingredient-dialog .purchase-confirmation-form>[role=alert]:empty{display:none}
.ingredient-dialog .purchase-confirmation-form fieldset{min-width:0;margin:0;box-sizing:border-box}
.ingredient-dialog .purchase-document-fields{display:grid;gap:14px;padding:18px;margin:0;min-width:0}
.ingredient-dialog .purchase-document-fields legend,.ingredient-dialog .purchase-terms legend{max-width:100%;line-height:1.45;padding:0 8px}
.ingredient-dialog .purchase-document-fields p{margin:0}
.ingredient-dialog .purchase-document-fields label{align-content:start}
.ingredient-dialog .purchase-document-fields small{line-height:1.45;color:#52616a}
.ingredient-dialog .purchase-document-fields input[type=file]{min-height:46px;padding:8px;background:#fff}
.ingredient-dialog .purchase-document-fields input[type=file]::file-selector-button{font:inherit;padding:6px 10px;margin-right:12px;border:1px solid #73838a;border-radius:5px;background:#f3f5f5;color:#29363b;cursor:pointer}
.ingredient-dialog .purchase-confirmation-form>.primary[type=submit]{justify-self:end;min-height:44px}
@media(max-width:650px){.ingredient-dialog .purchase-allocation-footer{align-items:stretch;gap:12px}.ingredient-dialog .purchase-allocation-footer>button{width:100%}.ingredient-dialog .purchase-allocation-feedback{flex-basis:100%}.ingredient-dialog .purchase-document-fields{padding:14px}.ingredient-dialog .purchase-confirmation-form>.primary[type=submit]{width:100%}}

/* Material origins: a compact, scrollable reference list keeps controls in view. */
.ingredient-dialog.order-origin-dialog{width:min(900px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;padding:20px 22px}
.order-origin-dialog>header{position:sticky;top:-20px;z-index:2;align-items:flex-start;gap:12px;min-width:0;margin:-20px -22px 12px;padding:18px 22px 12px;background:#fffcf6;border-bottom:1px solid #d6dfe2}
.order-origin-dialog>header>div{min-width:0;flex:1}
.order-origin-dialog>header h2{font-size:20px;line-height:1.2}
.order-origin-dialog>header p{margin:4px 0 0;line-height:1.3;overflow-wrap:anywhere}
.order-origin-dialog>header button{flex:0 0 auto;margin:0;padding:7px 12px}
.order-origin-dialog>header .bug-dialog-action{white-space:nowrap}
.order-origin-dialog>p{margin:0 0 12px;font-size:13px;line-height:1.45}
.order-origin-dialog .ingredient-form{min-width:0;gap:12px}
.order-origin-dialog .ingredient-form>label{min-width:0;gap:5px}
.order-origin-dialog .ingredient-form>label input{min-height:40px;padding:8px 10px}
.order-origin-dialog .origin-reference-list{max-height:min(48vh,520px);overflow:auto;overscroll-behavior:contain;padding:2px 5px 2px 1px;gap:8px}
.order-origin-dialog .origin-reference{min-width:0;padding:10px 12px}
.ingredient-dialog.order-origin-dialog .origin-target{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:0 0 8px;cursor:pointer}
.order-origin-dialog .origin-target strong{min-width:0;overflow-wrap:anywhere;font-size:14px;line-height:1.25}
.order-origin-dialog .origin-target span{margin:0;max-width:230px;text-align:right;overflow-wrap:anywhere;font-weight:700;font-variant-numeric:tabular-nums}
.ingredient-dialog.order-origin-dialog .origin-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding-top:8px}
.ingredient-dialog.order-origin-dialog .origin-options label{min-width:0;gap:8px;padding:7px 9px;cursor:pointer}
.order-origin-dialog .origin-options label span{min-width:0;overflow-wrap:anywhere;line-height:1.25}
.order-origin-dialog .origin-options label strong{font-size:13px}
.order-origin-dialog .origin-options small{font-size:11px;margin-top:2px}
.order-origin-dialog .origin-original{font-size:12px;line-height:1.25}
.order-origin-dialog .ingredient-form>[role=alert]:empty{display:none}
.order-origin-dialog .ingredient-form>.actions{position:sticky;bottom:-20px;z-index:2;display:flex;justify-content:flex-end;gap:8px;margin:0 -22px -20px;padding:12px 22px 16px;background:#fffcf6;border-top:1px solid #d6dfe2}
.order-origin-dialog .ingredient-form>.actions button{min-height:40px;padding:8px 12px}
.order-origin-dialog .origin-history{margin:16px 0 0}
.order-origin-dialog .origin-history p{font-size:12px;line-height:1.4;margin:0;padding:8px 0;overflow-wrap:anywhere}
@media(max-width:700px){
 .ingredient-dialog.order-origin-dialog{padding:14px}
 .order-origin-dialog>header{top:-14px;margin:-14px -14px 10px;padding:13px 14px 10px}
 .order-origin-dialog>header h2{font-size:17px}
 .order-origin-dialog>header button{padding:6px 8px}
 .ingredient-dialog.order-origin-dialog .origin-options{grid-template-columns:1fr}
 .ingredient-dialog.order-origin-dialog .origin-target{grid-template-columns:18px minmax(0,1fr)}
 .order-origin-dialog .origin-target span{grid-column:2;max-width:none;text-align:left}
 .order-origin-dialog .origin-reference-list{max-height:48vh}
 .order-origin-dialog .ingredient-form>.actions{bottom:-14px;margin:0 -14px -14px;padding:10px 14px 14px}
 .order-origin-dialog .ingredient-form>.actions button{flex:1 1 0;white-space:normal}
}
@media(max-width:420px){.order-origin-dialog>header{flex-wrap:wrap;gap:7px}.order-origin-dialog>header>div{flex-basis:100%}}
