/* Searchable picker (assets/picker.js). The real <select> stays in the page, hidden; this styles the box and list in front of it. */
.pk { position: relative; }
.pk-hidden { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pk-input { padding-right: 34px; cursor: text; text-overflow: ellipsis; }
.pk-input::placeholder { color: var(--ink-muted); font-weight: 500; }
.pk-list {
  position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 4px);
  max-height: min(340px, 60vh); overflow-y: auto; margin: 0; padding: 4px; list-style: none;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
}
.pk-list[hidden] { display: none; }
.pk-list li[role=option] {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 8px 10px; border-radius: 6px; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.pk-list li[role=option].pk-on { background: var(--surface-alt); }
.pk-list li[aria-selected=true] { box-shadow: inset 3px 0 0 var(--brand); }
.pk-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-tick { flex: none; font-family: var(--font-mono, ui-monospace, monospace); font-size: 11px; font-weight: 500; color: var(--ink-muted); }
.pk-outside .pk-name::after { content: " · other group"; font-weight: 500; font-size: 11px; color: var(--ink-muted); }
.pk-note { padding: 9px 10px; font-size: 13px; color: var(--ink-muted); }
@media (max-width: 620px) { .pk-list { max-height: 50vh; } .pk-list li[role=option] { padding: 11px 10px; } }
