
/* MEF_CATALOG_UPGRADE_V1 */
.workspace.mef-has-results {padding-block:16px!important;}
.workspace.mef-has-results .intro {max-width:none;display:flex;align-items:center;gap:12px;}
.workspace.mef-has-results .intro .eyebrow,.workspace.mef-has-results .intro>p:last-child {display:none;}
.workspace.mef-has-results .intro h1 {font-size:1.35rem!important;line-height:1.3!important;margin:0 0 8px!important;}
.workspace.mef-has-results .mode-tabs {margin-bottom:12px!important;}
.workspace.mef-has-results .mode {padding-block:8px!important;}
html[data-mef-theme] #results .card-stock:not(:empty) {
 display:flex!important;flex-wrap:wrap;align-items:stretch;gap:5px!important;
 padding:0!important;background:transparent!important;border:0!important;
 box-shadow:none!important;font-weight:700!important;
}
html[data-mef-theme] #results .mef-stock-badge {
 display:inline-flex;align-items:center;flex-wrap:wrap;gap:5px;max-width:100%;
 padding:5px 8px;border:1px solid var(--line);border-radius:7px;
 background:var(--mef-soft);color:var(--ink);line-height:1.3;
 font-size:.75rem;font-variant-numeric:tabular-nums;
}
.mef-stock-badge strong {font-size:.82rem;overflow-wrap:anywhere;}
html[data-mef-theme] #results .mef-stock-badge.mef-available {background:#e6f5eb;border-color:#9ccbad;color:#165230;}
html[data-mef-theme] #results .mef-stock-badge.mef-out {background:#fbece9;border-color:#e5b1a8;color:#8c2f25;}
html[data-mef-theme] #results .mef-stock-badge.mef-price {background:#fff3ce;border-color:#c2a34b;color:#573e00;}
html[data-mef-theme="dark"] #results .mef-stock-badge.mef-available {background:#21442e;border-color:#64aa7d;color:#d2f8de;}
html[data-mef-theme="dark"] #results .mef-stock-badge.mef-out {background:#472923;border-color:#bc7869;color:#ffdad2;}
html[data-mef-theme="dark"] #results .mef-stock-badge.mef-quantity {background:#293b36;border-color:#749b8c;color:#e4f5ed;}
html[data-mef-theme="dark"] #results .mef-stock-badge.mef-price {background:#3c321a;border-color:#c3a651;color:#fff2c2;}
html[data-mef-theme] #results .mef-freshness {font-size:.67rem;line-height:1.3;color:var(--muted);}
.mef-freshness:empty {display:none;}
html[data-mef-theme] :is(#results,dialog) .mef-ref-button {
 font:inherit;text-align:inherit;cursor:pointer;border:1px solid var(--line)!important;
 background:var(--mef-soft)!important;color:var(--ink)!important;
}
html[data-mef-theme] :is(#results,dialog) .mef-ref-button:hover {border-color:var(--gold)!important;text-decoration:underline;}
html[data-mef-theme] :is(#results,dialog) .mef-ref-button:focus-visible {outline:3px solid var(--gold);outline-offset:2px;}
.mef-result-tools {display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 12px;}
.mef-result-tools label {display:flex;align-items:center;gap:7px;font-size:.82rem;font-weight:700;}
html[data-mef-theme] .mef-result-tools :is(select,button) {
 min-height:40px;padding:7px 10px;border-radius:9px;font:inherit;font-size:.8rem;
 border:1px solid var(--line);background:var(--surface);color:var(--ink);
}
.mef-result-tools button {cursor:pointer;margin-inline-start:auto;}
html[data-mef-theme] .mef-load-progress {font-size:.73rem;color:var(--muted);}
@media(max-width:649px){.workspace.mef-has-results .intro h1{font-size:1.12rem!important;}.mef-result-tools label{width:100%;}.mef-result-tools select{flex:1;min-width:0;}.mef-result-tools button{margin-inline-start:0;}}
