/* מנוע חיפוש לכלי AI (program 3). Site palette: primary #42A58C, secondary #162B59, text #0D1934. */
.ait { --ait-green: #2E7D6A; --ait-navy: #162B59; --ait-text: #0D1934; --ait-muted: #4E5D6E; --ait-line: #DCE5E2; color: var(--ait-text); }
.ait-controls { background: #F3F8F6; border: 1px solid var(--ait-line); border-radius: 16px; padding: 16px; display: grid; gap: 12px; }
.ait-label { font-weight: 700; font-size: 17px; color: var(--ait-navy); }
.ait-q { width: 100%; box-sizing: border-box; font-size: 18px; padding: 14px 16px; border: 2px solid var(--ait-line); border-radius: 12px; background: #fff; color: var(--ait-text); }
.ait-q:focus { outline: none; border-color: var(--ait-green); box-shadow: 0 0 0 3px rgba(66, 165, 140, .25); }
.ait-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ait-field { display: grid; gap: 4px; }
.ait-field label { font-size: 14px; font-weight: 600; color: var(--ait-muted); }
.ait-field select { font-size: 16px; padding: 10px 12px; border: 1px solid var(--ait-line); border-radius: 10px; background: #fff; color: var(--ait-text); min-height: 44px; }
.ait-check { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; min-height: 44px; cursor: pointer; }
.ait-check input { width: 20px; height: 20px; accent-color: var(--ait-green); }
.ait-count { margin: 16px 4px 8px; font-weight: 700; color: var(--ait-navy); }
.ait-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ait-card { background: #fff; border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--ait-line); transition: box-shadow .15s ease, transform .15s ease; }
.ait-card:hover { box-shadow: 0 6px 18px rgba(13, 25, 52, .12); transform: translateY(-1px); }
.ait-card[hidden] { display: none; }
.ait-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.ait-name { margin: 0; font-size: 19px; color: var(--ait-navy); direction: ltr; text-align: right; }
.ait-badges { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.ait-badge { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.ait-price-free { background: #DDF2E9; color: #1E5E4E; }
.ait-price-freemium { background: #E6EEF9; color: #1D3D72; }
.ait-price-paid { background: #F3E9DA; color: #6B4A16; }
.ait-he { background: #FFF2CC; color: #5C4600; }
.ait-desc { margin: 0; font-size: 15px; line-height: 1.55; }
.ait-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.ait-chips li { font-size: 12px; background: #F1F5F4; color: var(--ait-muted); padding: 2px 8px; border-radius: 999px; }
.ait-prof { margin: 0; font-size: 13px; color: var(--ait-muted); }
.ait-prof span { font-weight: 700; }
.ait-link { margin-top: auto; align-self: flex-start; font-weight: 700; color: var(--ait-green); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.ait-link:focus-visible { outline: 3px solid var(--ait-green); outline-offset: 2px; border-radius: 4px; }
.ait-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ait-empty { background: #fff; border-radius: 12px; padding: 16px; margin: 8px 0 0; }
.ait-note { margin: 14px 4px 0; font-size: 14px; color: var(--ait-muted); }
@media (max-width: 640px) {
  .ait-row { grid-template-columns: 1fr; }
  .ait-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ait-card { transition: none; } .ait-card:hover { transform: none; } }
