body {
  font-family: Inter, sans-serif;
}

.inst-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .04);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}

.inst-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, .10);
  transform: translateY(-2px);
}

.inst-icon {
  width: 52px;
  height: 52px;
  background: #f0fdf4;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.inst-icon .material-icons {
  font-size: 28px;
  color: #059669;
}

.inst-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border-radius: 99px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 600;
}

.badge-indian {
  background: #fdf2f8;
  border: 1px solid #f9a8d4;
  color: #9d174d;
}

.badge-western {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.badge-gesture {
  background: #f5f3ff;
  border: 1px solid #c4b5fd;
  color: #5b21b6;
}

.badge-tuner {
  background: #fefce8;
  border: 1px solid #fde68a;
  color: #92400e;
}

.badge-utility {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.cat-pill {
  border: 1px solid #e5e7eb;
  border-radius: 99px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.cat-pill:hover {
  border-color: #6ee7b7;
  color: #065f46;
  background: #f0fdf4;
}

.cat-pill.active {
  border-color: #059669;
  color: #065f46;
  background: #ecfdf5;
}

#inst-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 480px) {
  #inst-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  #inst-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-strip {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .04);
}

.search-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.search-wrap svg.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}

#inst-search {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 36px 9px 38px;
  border: 1px solid #e5e7eb;
  border-radius: 0.6rem;
  font-size: 14px;
  font-family: Inter, sans-serif;
  color: #111827;
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
}

#inst-search:focus {
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, .12);
}

#inst-search-clear {
  display: none;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  font-size: 16px;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 4px;
}

#inst-search-clear:hover {
  color: #374151;
}

#inst-no-results {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
  color: #6b7280;
  font-size: 14px;
  grid-column: 1 / -1;
}
