/* 부품 select — 고르는 칸(닫힌 모양 + 펼친 목록) · 체크 칸. 펼친 목록은 select.js 가 그린다(폰처럼 손가락으로 쓰는 기기는 기기 목록 그대로).
   바탕(static/ui/base/ui.css)의 변수에 기댄다. CDN·의존 없음. */
.nx-select:not([multiple]) { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 34px; text-overflow: ellipsis;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
  transition: border-color .12s; }
.nx-select:not([multiple]):hover { border-color: var(--acc); }
.nx-select:disabled { opacity: .55; cursor: default; }
.nx-select.is-open { border-color: var(--acc); outline: 2px solid var(--acc); outline-offset: -1px; }
.nx-options { position: fixed; inset: auto; margin: 0; padding: var(--sp-1); min-width: 8em; max-width: min(92vw, 720px); overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface-2); color: var(--fg); box-shadow: var(--shadow);
  font-size: var(--fs-s); line-height: 1.4; animation: nx-options-in .1s ease-out; }
@keyframes nx-options-in { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .nx-options { animation: none; } }
.nx-option { display: flex; align-items: center; gap: var(--sp-2); min-height: 34px; padding: var(--sp-1) var(--sp-3) var(--sp-1) var(--sp-2);
  border-radius: var(--r-1); cursor: pointer; user-select: none; }
.nx-option::before { content: ""; flex: none; width: 1.1em; text-align: center; color: var(--acc); font-weight: 700; }
.nx-option[aria-selected="true"] { color: var(--acc); font-weight: 600; }
.nx-option[aria-selected="true"]::before { content: "✓"; }
.nx-option.is-hot { background: var(--acc-bg); }
.nx-option[aria-disabled="true"] { opacity: .45; cursor: default; }
.nx-option-group { padding: var(--sp-2) var(--sp-2) 2px; color: var(--muted); font-size: var(--fs-xs); }
/* 체크 칸 — 스위치 · 칩(checks)은 제 모양이 있어 뺀다 */
input[type="checkbox"]:not([role="switch"]):not(.nx-checks-item input) { appearance: none; -webkit-appearance: none; flex: none; display: inline-grid; place-content: center;
  width: 18px; height: 18px; margin: 0; vertical-align: middle; border: 1.5px solid var(--off); border-radius: 5px; background: var(--bg); cursor: pointer; transition: background .12s, border-color .12s; }
input[type="checkbox"]:not([role="switch"]):not(.nx-checks-item input)::before { content: ""; width: 10px; height: 10px; transform: scale(0); background: var(--acc-fg);
  clip-path: polygon(14% 46%, 0 62%, 40% 100%, 100% 18%, 84% 4%, 38% 70%); transition: transform .1s; }
input[type="checkbox"]:not([role="switch"]):not(.nx-checks-item input):hover { border-color: var(--acc); }
input[type="checkbox"]:not([role="switch"]):not(.nx-checks-item input):checked { background: var(--acc); border-color: var(--acc); }
input[type="checkbox"]:not([role="switch"]):not(.nx-checks-item input):checked::before { transform: scale(1); }
input[type="checkbox"]:not([role="switch"]):not(.nx-checks-item input):focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
input[type="checkbox"]:not([role="switch"]):not(.nx-checks-item input):disabled { opacity: .5; cursor: default; }
