/* ──────────────────────────────────────────────────────────────
   Inputs — generic .wt-input + .wt-search cluster.
   Cadastros uses .ct-search (different metrics) and .ct-fld-input (form input).
   Source: docs/handoff/styles.css lines 188-207 + DESIGN-SYSTEM 4.2.
   ────────────────────────────────────────────────────────────── */

.wt-input {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border-radius: var(--wt-r);
  border: 1px solid var(--wt-border);
  background: var(--wt-card);
  color: var(--wt-fg);
  font-family: var(--wt-font);
  font-size: 13px;
  outline: none;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.wt-input:focus {
  border-color: var(--wt-primary);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--wt-primary) 18%, transparent);
}
.wt-input::placeholder { color: var(--wt-fg-4); }

/* Search cluster: [icon | input | optional ⌘K kbd] */
.wt-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 10px;
  background: var(--wt-bg-2);
  border: 1px solid var(--wt-border);
  border-radius: var(--wt-r);
  transition: border-color 0.12s, background 0.12s;
}
.wt-search:focus-within {
  border-color: var(--wt-primary);
  background: var(--wt-card);
}
.wt-search > svg { color: var(--wt-fg-4); flex-shrink: 0; }
.wt-search input {
  flex: 1; min-width: 0;
  border: none; outline: none; background: transparent;
  font: inherit; font-size: 12px; color: var(--wt-fg);
}
.wt-search input::placeholder { color: var(--wt-fg-4); }
