.search-select{display:block;position:relative;min-width:0}.search-select input{width:100%;min-width:0}.search-select-options{display:block;position:absolute;inset:auto 0 auto 0;top:calc(100% + 4px);max-height:240px;overflow:auto;background:var(--surface,#fff);color:inherit;border:1px solid var(--border,#b7a797);border-radius:8px;z-index:90;box-shadow:0 8px 20px #0002}.search-select-options[hidden]{display:none}.search-select-options button,.search-select-options>span{display:block;width:100%;text-align:left;padding:11px;border:0;background:transparent;color:inherit;white-space:normal;overflow-wrap:anywhere}.search-select-options button:hover,.search-select-options button[aria-selected=true]{background:var(--surface-hover,#e9dfd3)}dialog.price-batch-dialog{width:min(1480px,96vw)}.price-batch-row{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1.4fr) minmax(0,.8fr) minmax(0,.66fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.05fr) minmax(0,.78fr) minmax(0,1fr) minmax(0,1fr) 28px;gap:10px;align-items:end;padding:15px 0;border-bottom:1px solid var(--border,#b7a797)}.price-batch-row label{min-width:0;display:block}.price-batch-row label>span:first-child{font-size:12px;display:block;margin-bottom:6px}.price-batch-row input,.price-batch-row select{min-width:0}.price-batch-row .search-select{font-size:inherit!important}
@media(max-width:1100px){.price-batch-row{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:640px){.price-batch-row{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.price-batch-row>label:first-child{grid-column:1/-1}.price-batch-row input,.price-batch-row select,.search-select input{font-size:16px;min-height:44px}.price-batch-row>button{justify-self:end}.search-select-options button{min-height:44px}}

.component-field>.search-select{display:block;margin:0;color:var(--text);font-size:inherit;font-weight:400}select[data-search-ready]{display:none!important}

#modal.price-batch-dialog #priceForm{display:block}#modal.price-batch-dialog #priceForm label,#modal.price-batch-dialog #priceForm label input,#modal.price-batch-dialog #priceForm label select{color:var(--text)}

.operation-format-row{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;min-width:0;border:1px solid var(--border);border-radius:10px;margin:12px 0;padding:12px}.operation-format-row label{min-width:0}.operation-format-row .format-equivalence{grid-column:1/-1;margin:0;overflow-wrap:anywhere}@media(max-width:650px){.operation-format-row{grid-template-columns:1fr}.operation-format-row input,.operation-format-row select{font-size:16px;min-height:44px}}

.price-detail-layout{display:grid;gap:16px;align-items:start;min-width:0}
.price-list-pane{min-width:0}
.price-detail-layout:has(.price-detail:not([hidden])){grid-template-columns:minmax(0,1fr) minmax(290px,340px)}
.price-detail{min-width:0;padding:16px;background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow-wrap:anywhere}
.price-detail[hidden]{display:none}
.price-detail-header{display:flex;justify-content:space-between;align-items:start;gap:12px}
.price-detail-header h2{margin:0}
.price-detail-close{font-size:1.35rem;min-width:36px;min-height:36px}
.price-detail h3{margin:18px 0 8px}
.price-detail-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0;font-size:.92em}
.price-detail-facts dt{color:var(--muted)}
.price-detail-facts dd{margin:0;font-weight:600}
.price-history-entry{border-top:1px solid var(--border);padding:8px 0}
.price-history-entry summary{cursor:pointer}
.price-history-entry summary span{margin-inline:6px}
.price-history-entry summary strong{white-space:nowrap}
.price-list-pane tbody tr:has(.price-history[aria-expanded=true]){outline:2px solid var(--accent);outline-offset:-2px}
.price-list-pane tr:has(button[aria-expanded=true]) td{background:var(--surface-hover)}
@media(max-width:950px){
 .price-detail-layout:has(.price-detail:not([hidden])){grid-template-columns:minmax(0,1fr)}
 .price-detail{order:-1}
}

.supplier-comparison-list{list-style:none;margin:0;padding:0}
.supplier-comparison-list li{display:grid;gap:4px;border-top:1px solid var(--border);padding:10px 0}
.supplier-comparison-list .link{justify-self:start;padding-inline:0;text-align:left}
.supplier-comparison-list .badge{margin-inline-start:4px}
.supplier-impact-result .table{margin-top:8px}
.supplier-impact-result table{min-width:280px}
.supplier-impact-result th,.supplier-impact-result td{padding:6px}

dialog.ingredient-create-dialog{width:min(440px,calc(100% - 24px));padding:clamp(16px,5vw,24px)}
.ingredient-create-dialog .form{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:14px}
.ingredient-create-dialog h2,.ingredient-create-dialog p{margin:0}
.ingredient-create-dialog label{display:grid;gap:5px;min-width:0}
.ingredient-create-dialog input,.ingredient-create-dialog select{width:100%;min-width:0;max-width:100%}
.ingredient-create-dialog .recipe-actions{margin:0;gap:8px;flex-wrap:wrap}
.ingredient-create-dialog .recipe-actions button{max-width:100%;white-space:normal}

.ingredient-profile-section{border-top:1px solid var(--border);padding:12px 0}
.ingredient-profile-section summary{cursor:pointer;font-weight:700}
.ingredient-profile-form{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-top:12px}
.ingredient-profile-form label{display:grid;gap:4px;min-width:0}
.ingredient-profile-form p{margin:0}
.ingredient-profile-form p:empty{display:none}
.ingredient-profile-form button{justify-self:start}
[data-format-list]{list-style:none;padding:0;margin:8px 0}
[data-format-list] li{display:flex;flex-wrap:wrap;gap:5px 12px;justify-content:space-between;align-items:baseline}
