/* TicketSearch — combobox avec liste flottante (nouveau comportement). */
.combobox { position: relative; }
.combobox > .ui-icon { position: absolute; left: 12px; top: 12px; color: var(--text-muted); pointer-events: none; }
.combobox input { padding-left: 40px !important; padding-right: 40px !important; }
.combobox-status { position: absolute; right: 14px; top: 14px; }

/* Liste d'options partagée (combobox). */
.listbox {
  position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; right: 0;
  max-height: 320px; overflow-y: auto; margin: 0; padding: 4px; list-style: none;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-overlay);
}
.listbox [role="option"] {
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-3); align-items: baseline;
  min-height: 44px; padding: 10px 12px; border-radius: var(--radius-small); cursor: pointer; font-weight: 400;
}
.listbox [role="option"].active { background: var(--selection); }
.listbox-key { color: var(--accent); font-size: var(--text-sm); font-weight: 600; }
.listbox-title { overflow-wrap: anywhere; }
.listbox-meta { grid-column: 2; font-size: var(--text-sm); color: var(--text-muted); }
.listbox-empty { padding: 10px 12px; color: var(--text-muted); font-size: var(--text-sm); font-weight: 400; }
