/* Emerald UI Animated Dropdown (MIT), adapted to native NetChefs forms. */
.nc-animated-select { position:relative; display:inline-grid; vertical-align:middle; max-width:100%; min-width:0; box-sizing:border-box; isolation:isolate; }
.nc-animated-select[hidden] { display:none !important; }
.nc-animated-select > select.nc-animated-select__native { grid-area:1/1; opacity:0 !important; pointer-events:none !important; margin:0 !important; min-width:0; min-height:38px; }
.nc-animated-select > button.nc-animated-select__trigger {
  position:absolute; inset:0; display:flex; align-items:center; justify-content:space-between; gap:.65rem;
  width:100%; height:100%; min-height:36px; margin:0; padding:8px 12px; box-sizing:border-box;
  border:1px solid #cbd5e1; border-radius:6px; background:#fff; color:#1e293b;
  font-family:inherit; font-size:14px; line-height:1.4; font-weight:500;
  text-align:left; text-transform:none; letter-spacing:normal; cursor:pointer; box-shadow:0 1px 2px #0f172a05;
  transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease;
}
.nc-animated-select > button.nc-animated-select__trigger:hover { background:#f8fafc; border-color:#94a3b8; }
.nc-animated-select > button.nc-animated-select__trigger:focus-visible { outline:2px solid #64748b; outline-offset:3px; }
.nc-animated-select > button.nc-animated-select__trigger:disabled { opacity:.5; cursor:not-allowed; }
.nc-animated-select > button.nc-animated-select__trigger[aria-invalid="true"] { border-color:#b91c1c; }
.nc-animated-select__value { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
.nc-animated-select__chevron { display:flex; flex:none; transition:transform .2s ease-in-out; }
.nc-animated-select[data-state="open"] .nc-animated-select__chevron { transform:rotate(180deg); }
.nc-animated-select__panel {
  position:fixed; inset:auto; z-index:2147483000; box-sizing:border-box; margin:0; padding:0;
  min-width:0; max-width:calc(100vw - 24px); overflow:auto; overscroll-behavior:contain;
  border:2px solid #e2e8f0; border-radius:6px; background:#f1f5f9; color:#0f172a;
  box-shadow:0 10px 15px -3px #0f172a1a,0 4px 6px -4px #0f172a1a;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:14px; line-height:1.45; text-align:left; text-transform:none; letter-spacing:normal;
}
.nc-animated-select__panel--fallback { display:block; }
.nc-animated-select__panel::backdrop { background:transparent; }
.nc-animated-select__list { outline:none; }
.nc-animated-select__option { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:8px 12px; min-height:38px; box-sizing:border-box; border-bottom:2px solid #e2e8f0; background:#f8fafc; cursor:pointer; transition:background-color .15s ease; animation:nc-select-row .2s ease-out both; animation-delay:calc(var(--nc-option-index,0) * .03s); }
.nc-animated-select__option:last-child { border-bottom:0; }
.nc-animated-select__option:hover,.nc-animated-select__option.is-active { background:#e2e8f0; }
.nc-animated-select__option[aria-selected="true"] { font-weight:600; }
.nc-animated-select__option[aria-disabled="true"] { opacity:.45; cursor:not-allowed; }
.nc-animated-select__option-text { overflow-wrap:anywhere; }
.nc-animated-select__check { flex:none; width:16px; color:#475569; }
.nc-animated-select__group { padding:10px 12px 6px; color:#64748b; font-size:11px; font-weight:650; letter-spacing:.07em; text-transform:uppercase; }
.nc-animated-select__panel > input.nc-animated-select__search { position:sticky; top:0; z-index:1; display:block; width:calc(100% - 16px); margin:8px; padding:8px 10px; border:1px solid #cbd5e1; border-radius:4px; box-sizing:border-box; background:#fff; color:#0f172a; font:inherit; }
.nc-animated-select__search:focus { outline:2px solid #64748b; outline-offset:-1px; }
.nc-animated-select__empty { padding:12px; color:#64748b; }
.nc-animated-select:has(> select[style*="grid-column"]) { grid-column:1 / -1; }
/* Preserve the admin's existing kitchen-UI visibility rule after wrapping. */
.admin-dash--hide-kitchen-ui .proposal-field-block div:has(> .nc-animated-select > select#proposal-kitchen) { display:none !important; }
@keyframes nc-select-row { from { opacity:0; translate:-20px 0; } to { opacity:1; translate:0 0; } }
@media (prefers-reduced-motion:reduce) { .nc-animated-select__chevron,.nc-animated-select__option { animation:none; transition:none; } }
